Init.RxBuffLen = ETH_RX_BUFFER_SIZE; /* 配置以太网外设 (GPIOs, clocks, MAC, DMA)*/ HAL_ETH_Init(&EthHandle); /* 设置netif MAC 硬件地址长度 */ netif->hwaddr_len = ETHARP_HWADDR_LEN; /* 设置netif MAC 硬件地址 */ netif->hwaddr[0] = MAC_ADDR0; netif->hwaddr[1] = MAC_...
3.RX overruns: 表示了 fifo 的 overruns,这是由于 Ring Buffer(aka Driver Queue) 传输的 IO 大于 kernel 能够处理的 IO 导致的,而 Ring Buffer 则是指在发起 IRQ 请求之前的那块 buffer。很明显,overruns 的增大意味着数据包没到 Ring Buffer 就被网卡物理层给丢弃了,而 CPU 无法即使的处理中断是造成 Rin...
* are 8 bytes in size. */size = ((TX_BUF_CNT *sizeof(struct txbd8)) + (RX_BUF_CNT *sizeof(struct rxbd8))) + BUF_ALIGN; p = (char*)xmemalign(BUF_ALIGN, size); priv->txbd = (struct txbd8 *)p; priv->rxbd = (struct rxbd8 *)(p + (TX_BUF_CNT *sizeof(struct t...
| IS_ETH_RX_MODE /__w/zephyr/zephyr/drivers/ethernet/eth_stm32_hal.c:105:16: error: 'dma_tx_buffer' defined but not used [-Werror=unused-variable] 105 | static uint8_t dma_tx_buffer[ETH_TX_DESC_CNT][ETH_MAX_PACKET_SIZE] __eth_stm32_buf; | ^~~~ /__w/zephyr/zephyr/drive...
rx-copybreak Get the current rx copybreak value in bytes. tx-copybreak Get the current tx copybreak value in bytes. tx-buf-size Get the current tx copybreak buffer size in bytes. pfc-prevention-tout Get the current pfc prevention timeout value in msecs. --set-tunable Set driver's ...
u64rx_buff_alloc_err; #defineNUM_VPORT_COUNTERS37 #defineNUM_VPORT_COUNTERS38 }; staticconstcharpport_strings[][ETH_GSTRING_LEN]={ @@ -329,6 +331,7 @@ static const char rq_stats_strings[][ETH_GSTRING_LEN] = { "wqe_err", ...
struct compat_ethtool_rxnfc { u32 cmd; u32 flow_type; compat_u64 data; struct compat_ethtool_rx_flow_spec fs; u32 rule_cnt; u32 rule_locs[]; }; #include <linux/rculist.h> /** * enum ethtool_phys_id_state - indicator state for physical identification * @ET...
rx-buf-len N Changes the size of a buffer in the Rx ring. tcp-data-split auto|on|off Specifies the state of TCP data split. cqe-size N Changes the size of completion queue event. tx-push on|off Specifies whether TX push should be enabled. rx-push on|off Specifies whether RX push...
/ include / linux / ethtool.h v6 v6.13 v6.12 v6.12.6 v6.12.5 v6.12.4 v6.12.3 v6.12.2 v6.12.1 v6.12 v6.12-rc7 v6.12-rc6 v6.12-rc5 v6.12-rc4 v6.12-rc3 v6.12-rc2 v6.12-rc1 v6.11 v6.10 v6.9
rx-copybreak Get the current rx copybreak value in bytes. tx-copybreak Get the current tx copybreak value in bytes. tx-buf-size Get the current tx copybreak buffer size in bytes. pfc-prevention-tout Get the current pfc prevention timeout value in msecs. --set-tunable Set driver's tuna...