Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/intel/i40e/
A Di40e_xsk.c271 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 Di40e_txrx_common.h16 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
A Di40e_txrx.c2402 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 Dixgbe_xsk.c249 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 Dixgbe_main.c2355 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 Dice_txrx_lib.c348 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 Dice_xsk.c521 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 Dice_txrx_lib.h49 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res);
A Dice_txrx.c1101 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 Dnetsec.c779 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 Dstmmac_main.c5238 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 Digc_main.c2363 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 Digb_main.c8747 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