Home
last modified time | relevance | path

Searched refs:xdp_tx_bd_cnt (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/freescale/enetc/
Denetc.c1378 int xdp_tx_bd_cnt, i, k; in enetc_xdp_xmit() local
1391 xdp_tx_bd_cnt = enetc_xdp_frame_to_xdp_tx_swbd(tx_ring, in enetc_xdp_xmit()
1394 if (unlikely(xdp_tx_bd_cnt < 0)) in enetc_xdp_xmit()
1398 xdp_tx_bd_cnt))) { in enetc_xdp_xmit()
1399 for (i = 0; i < xdp_tx_bd_cnt; i++) in enetc_xdp_xmit()
1534 int xdp_tx_bd_cnt, xdp_tx_frm_cnt = 0, xdp_redirect_frm_cnt = 0; in enetc_clean_rx_ring_xdp() local
1615 xdp_tx_bd_cnt = enetc_rx_swbd_to_xdp_tx_swbd(xdp_tx_arr, in enetc_clean_rx_ring_xdp()
1619 if (!enetc_xdp_tx(tx_ring, xdp_tx_arr, xdp_tx_bd_cnt)) { in enetc_clean_rx_ring_xdp()
1623 tx_ring->stats.xdp_tx += xdp_tx_bd_cnt; in enetc_clean_rx_ring_xdp()
1624 rx_ring->xdp.xdp_tx_in_flight += xdp_tx_bd_cnt; in enetc_clean_rx_ring_xdp()