/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 348 unsigned int xdp_res, in i40e_handle_xdp_result_zc() argument 356 if (likely(xdp_res == I40E_XDP_REDIR) || xdp_res == I40E_XDP_TX) in i40e_handle_xdp_result_zc() 359 if (xdp_res == I40E_XDP_EXIT) { in i40e_handle_xdp_result_zc() 364 if (xdp_res == I40E_XDP_CONSUMED) { in i40e_handle_xdp_result_zc() 368 if (xdp_res == I40E_XDP_PASS) { in i40e_handle_xdp_result_zc() 436 unsigned int xdp_res, xdp_xmit = 0; in i40e_clean_rx_irq_zc() local 498 xdp_res = i40e_run_xdp_zc(rx_ring, first, xdp_prog); in i40e_clean_rx_irq_zc() 500 &rx_bytes, xdp_res, &failure); in i40e_clean_rx_irq_zc() 506 xdp_xmit |= xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR); in i40e_clean_rx_irq_zc()
|
D | i40e_txrx_common.h | 18 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
|
D | i40e_txrx.c | 2042 static void i40e_process_rx_buffs(struct i40e_ring *rx_ring, int xdp_res, in i40e_process_rx_buffs() argument 2059 if (xdp_res != I40E_XDP_CONSUMED) in i40e_process_rx_buffs() 2351 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res) in i40e_finalize_xdp_rx() argument 2353 if (xdp_res & I40E_XDP_REDIR) in i40e_finalize_xdp_rx() 2356 if (xdp_res & I40E_XDP_TX) { in i40e_finalize_xdp_rx() 2450 int xdp_res = 0; in i40e_clean_rx_irq() local 2535 xdp_res = i40e_run_xdp(rx_ring, xdp, xdp_prog); in i40e_clean_rx_irq() 2537 if (xdp_res) { in i40e_clean_rx_irq() 2538 xdp_xmit |= xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR); in i40e_clean_rx_irq() 2541 i40e_process_rx_buffs(rx_ring, xdp_res, xdp); in i40e_clean_rx_irq() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 254 unsigned int xdp_res, xdp_xmit = 0; in ixgbe_clean_rx_irq_zc() local 307 xdp_res = ixgbe_run_xdp_zc(adapter, rx_ring, bi->xdp); in ixgbe_clean_rx_irq_zc() 309 if (likely(xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR))) { in ixgbe_clean_rx_irq_zc() 310 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq_zc() 311 } else if (xdp_res == IXGBE_XDP_EXIT) { in ixgbe_clean_rx_irq_zc() 314 } else if (xdp_res == IXGBE_XDP_CONSUMED) { in ixgbe_clean_rx_irq_zc() 316 } else if (xdp_res == IXGBE_XDP_PASS) { in ixgbe_clean_rx_irq_zc()
|
D | ixgbe_main.c | 2381 unsigned int xdp_res = -PTR_ERR(skb); in ixgbe_clean_rx_irq() local 2383 if (xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR)) { in ixgbe_clean_rx_irq() 2384 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 867 unsigned int size, xdp_res = 0; in ice_clean_rx_irq_zc() local 908 xdp_res = ice_run_xdp_zc(rx_ring, first, xdp_prog, xdp_ring, in ice_clean_rx_irq_zc() 910 if (likely(xdp_res & (ICE_XDP_TX | ICE_XDP_REDIR))) { in ice_clean_rx_irq_zc() 911 xdp_xmit |= xdp_res; in ice_clean_rx_irq_zc() 912 } else if (xdp_res == ICE_XDP_EXIT) { in ice_clean_rx_irq_zc() 917 } else if (xdp_res == ICE_XDP_CONSUMED) { in ice_clean_rx_irq_zc() 919 } else if (xdp_res == ICE_XDP_PASS) { in ice_clean_rx_irq_zc()
|
D | ice_txrx_lib.c | 461 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, in ice_finalize_xdp_rx() argument 466 if (xdp_res & ICE_XDP_REDIR) in ice_finalize_xdp_rx() 469 if (xdp_res & ICE_XDP_TX) { in ice_finalize_xdp_rx()
|
D | ice_txrx_lib.h | 156 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
|
/linux-6.12.1/drivers/net/ethernet/socionext/ |
D | netsec.c | 779 static void netsec_finalize_xdp_rx(struct netsec_priv *priv, u32 xdp_res, in netsec_finalize_xdp_rx() argument 782 if (xdp_res & NETSEC_XDP_REDIR) in netsec_finalize_xdp_rx() 785 if (xdp_res & NETSEC_XDP_TX) in netsec_finalize_xdp_rx()
|
/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 5565 unsigned int xdp_res = -PTR_ERR(skb); in stmmac_rx() local 5567 if (xdp_res & STMMAC_XDP_CONSUMED) { in stmmac_rx() 5584 } else if (xdp_res & (STMMAC_XDP_TX | in stmmac_rx() 5586 xdp_status |= xdp_res; in stmmac_rx()
|
/linux-6.12.1/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 2637 unsigned int xdp_res = -PTR_ERR(skb); in igc_clean_rx_irq() local 2639 switch (xdp_res) { in igc_clean_rx_irq() 2646 xdp_status |= xdp_res; in igc_clean_rx_irq()
|
/linux-6.12.1/drivers/net/ethernet/intel/igb/ |
D | igb_main.c | 8943 unsigned int xdp_res = -PTR_ERR(skb); in igb_clean_rx_irq() local 8945 if (xdp_res & (IGB_XDP_TX | IGB_XDP_REDIR)) { in igb_clean_rx_irq() 8946 xdp_xmit |= xdp_res; in igb_clean_rx_irq()
|