/openbmc/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_xsk.c | 349 unsigned int xdp_res, in i40e_handle_xdp_result_zc() argument 357 if (likely(xdp_res == I40E_XDP_REDIR) || xdp_res == I40E_XDP_TX) in i40e_handle_xdp_result_zc() 360 if (xdp_res == I40E_XDP_EXIT) { in i40e_handle_xdp_result_zc() 365 if (xdp_res == I40E_XDP_CONSUMED) { in i40e_handle_xdp_result_zc() 369 if (xdp_res == I40E_XDP_PASS) { in i40e_handle_xdp_result_zc() 437 unsigned int xdp_res, xdp_xmit = 0; in i40e_clean_rx_irq_zc() local 500 xdp_res = i40e_run_xdp_zc(rx_ring, first, xdp_prog); in i40e_clean_rx_irq_zc() 502 &rx_bytes, xdp_res, &failure); in i40e_clean_rx_irq_zc() 508 xdp_xmit |= xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR); in i40e_clean_rx_irq_zc()
|
H A D | i40e_txrx_common.h | 18 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
|
H A D | i40e_txrx.c | 2090 static void i40e_process_rx_buffs(struct i40e_ring *rx_ring, int xdp_res, in i40e_process_rx_buffs() argument 2107 if (xdp_res != I40E_XDP_CONSUMED) in i40e_process_rx_buffs() 2401 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res) in i40e_finalize_xdp_rx() argument 2403 if (xdp_res & I40E_XDP_REDIR) in i40e_finalize_xdp_rx() 2406 if (xdp_res & I40E_XDP_TX) { in i40e_finalize_xdp_rx() 2500 int xdp_res = 0; in i40e_clean_rx_irq() local 2586 xdp_res = i40e_run_xdp(rx_ring, xdp, xdp_prog); in i40e_clean_rx_irq() 2588 if (xdp_res) { in i40e_clean_rx_irq() 2589 xdp_xmit |= xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR); in i40e_clean_rx_irq() 2592 i40e_process_rx_buffs(rx_ring, xdp_res, xdp); in i40e_clean_rx_irq() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 255 unsigned int xdp_res, xdp_xmit = 0; in ixgbe_clean_rx_irq_zc() local 308 xdp_res = ixgbe_run_xdp_zc(adapter, rx_ring, bi->xdp); in ixgbe_clean_rx_irq_zc() 310 if (likely(xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR))) { in ixgbe_clean_rx_irq_zc() 311 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq_zc() 312 } else if (xdp_res == IXGBE_XDP_EXIT) { in ixgbe_clean_rx_irq_zc() 315 } else if (xdp_res == IXGBE_XDP_CONSUMED) { in ixgbe_clean_rx_irq_zc() 317 } else if (xdp_res == IXGBE_XDP_PASS) { in ixgbe_clean_rx_irq_zc()
|
H A D | ixgbe_main.c | 2348 unsigned int xdp_res = -PTR_ERR(skb); in ixgbe_clean_rx_irq() local 2350 if (xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR)) { in ixgbe_clean_rx_irq() 2351 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_xsk.c | 867 unsigned int size, xdp_res = 0; in ice_clean_rx_irq_zc() local 909 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()
|
H A D | ice_txrx_lib.c | 447 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, in ice_finalize_xdp_rx() argument 452 if (xdp_res & ICE_XDP_REDIR) in ice_finalize_xdp_rx() 455 if (xdp_res & ICE_XDP_TX) { in ice_finalize_xdp_rx()
|
H A D | ice_txrx_lib.h | 156 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
|
/openbmc/linux/drivers/net/ethernet/socionext/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 5439 unsigned int xdp_res = -PTR_ERR(skb); in stmmac_rx() local 5441 if (xdp_res & STMMAC_XDP_CONSUMED) { in stmmac_rx() 5458 } else if (xdp_res & (STMMAC_XDP_TX | in stmmac_rx() 5460 xdp_status |= xdp_res; in stmmac_rx()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 2632 unsigned int xdp_res = -PTR_ERR(skb); in igc_clean_rx_irq() local 2634 switch (xdp_res) { in igc_clean_rx_irq() 2641 xdp_status |= xdp_res; in igc_clean_rx_irq()
|
/openbmc/linux/drivers/net/ethernet/intel/igb/ |
H A D | igb_main.c | 8972 unsigned int xdp_res = -PTR_ERR(skb); in igb_clean_rx_irq() local 8974 if (xdp_res & (IGB_XDP_TX | IGB_XDP_REDIR)) { in igb_clean_rx_irq() 8975 xdp_xmit |= xdp_res; in igb_clean_rx_irq()
|