Searched refs:xdp_res (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_xsk.c | 271 unsigned int xdp_res) in i40e_handle_xdp_result_zc() argument 278 if (likely(xdp_res == I40E_XDP_REDIR) || xdp_res == I40E_XDP_TX) in i40e_handle_xdp_result_zc() 281 if (xdp_res == I40E_XDP_CONSUMED) { in i40e_handle_xdp_result_zc() 286 if (xdp_res == I40E_XDP_PASS) { in i40e_handle_xdp_result_zc() 330 unsigned int xdp_res, xdp_xmit = 0; in i40e_clean_rx_irq_zc() local 369 xdp_res = i40e_run_xdp_zc(rx_ring, bi); in i40e_clean_rx_irq_zc() 371 &rx_bytes, size, xdp_res); in i40e_clean_rx_irq_zc() 374 xdp_xmit |= xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR); in i40e_clean_rx_irq_zc()
|
A D | i40e_txrx_common.h | 16 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
|
A D | i40e_txrx.c | 2402 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res) in i40e_finalize_xdp_rx() argument 2404 if (xdp_res & I40E_XDP_REDIR) in i40e_finalize_xdp_rx() 2407 if (xdp_res & I40E_XDP_TX) { in i40e_finalize_xdp_rx() 2449 int xdp_res = 0; in i40e_clean_rx_irq() local 2515 xdp_res = i40e_run_xdp(rx_ring, &xdp); in i40e_clean_rx_irq() 2518 if (xdp_res) { in i40e_clean_rx_irq() 2519 if (xdp_res & (I40E_XDP_TX | I40E_XDP_REDIR)) { in i40e_clean_rx_irq() 2520 xdp_xmit |= xdp_res; in i40e_clean_rx_irq() 2536 if (!xdp_res && !skb) { in i40e_clean_rx_irq() 2549 if (xdp_res || i40e_cleanup_headers(rx_ring, skb, rx_desc)) { in i40e_clean_rx_irq()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_xsk.c | 249 unsigned int xdp_res, xdp_xmit = 0; in ixgbe_clean_rx_irq_zc() local 302 xdp_res = ixgbe_run_xdp_zc(adapter, rx_ring, bi->xdp); in ixgbe_clean_rx_irq_zc() 304 if (xdp_res) { in ixgbe_clean_rx_irq_zc() 305 if (xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR)) in ixgbe_clean_rx_irq_zc() 306 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq_zc()
|
A D | ixgbe_main.c | 2355 unsigned int xdp_res = -PTR_ERR(skb); in ixgbe_clean_rx_irq() local 2357 if (xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR)) { in ixgbe_clean_rx_irq() 2358 xdp_xmit |= xdp_res; in ixgbe_clean_rx_irq()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_txrx_lib.c | 348 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res) in ice_finalize_xdp_rx() argument 350 if (xdp_res & ICE_XDP_REDIR) in ice_finalize_xdp_rx() 353 if (xdp_res & ICE_XDP_TX) { in ice_finalize_xdp_rx()
|
A D | ice_xsk.c | 521 unsigned int size, xdp_res = 0; in ice_clean_rx_irq_zc() local 555 xdp_res = ice_run_xdp_zc(rx_ring, xdp, xdp_prog, xdp_ring); in ice_clean_rx_irq_zc() 556 if (xdp_res) { in ice_clean_rx_irq_zc() 557 if (xdp_res & (ICE_XDP_TX | ICE_XDP_REDIR)) in ice_clean_rx_irq_zc() 558 xdp_xmit |= xdp_res; in ice_clean_rx_irq_zc()
|
A D | ice_txrx_lib.h | 49 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res);
|
A D | ice_txrx.c | 1101 unsigned int xdp_res, xdp_xmit = 0; in ice_clean_rx_irq() local 1183 xdp_res = ice_run_xdp(rx_ring, &xdp, xdp_prog, xdp_ring); in ice_clean_rx_irq() 1184 if (!xdp_res) in ice_clean_rx_irq() 1186 if (xdp_res & (ICE_XDP_TX | ICE_XDP_REDIR)) { in ice_clean_rx_irq() 1187 xdp_xmit |= xdp_res; in ice_clean_rx_irq()
|
/linux/drivers/net/ethernet/socionext/ |
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()
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_main.c | 5238 unsigned int xdp_res = -PTR_ERR(skb); in stmmac_rx() local 5240 if (xdp_res & STMMAC_XDP_CONSUMED) { in stmmac_rx() 5257 } else if (xdp_res & (STMMAC_XDP_TX | in stmmac_rx() 5259 xdp_status |= xdp_res; in stmmac_rx()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_main.c | 2363 unsigned int xdp_res = -PTR_ERR(skb); in igc_clean_rx_irq() local 2365 switch (xdp_res) { in igc_clean_rx_irq() 2372 xdp_status |= xdp_res; in igc_clean_rx_irq()
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | igb_main.c | 8747 unsigned int xdp_res = -PTR_ERR(skb); in igb_clean_rx_irq() local 8749 if (xdp_res & (IGB_XDP_TX | IGB_XDP_REDIR)) { in igb_clean_rx_irq() 8750 xdp_xmit |= xdp_res; in igb_clean_rx_irq()
|
Completed in 74 milliseconds