Searched refs:xdp_res (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c349 unsigned int xdp_res,
357 if (likely(xdp_res == I40E_XDP_REDIR) || xdp_res == I40E_XDP_TX)
360 if (xdp_res == I40E_XDP_EXIT) {
365 if (xdp_res == I40E_XDP_CONSUMED) {
369 if (xdp_res == I40E_XDP_PASS) {
437 unsigned int xdp_res, xdp_xmit = 0; local
499 xdp_res = i40e_run_xdp_zc(rx_ring, first, xdp_prog);
501 &rx_bytes, xdp_res, &failure);
507 xdp_xmit |= xdp_res
344 i40e_handle_xdp_result_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp_buff, union i40e_rx_desc *rx_desc, unsigned int *rx_packets, unsigned int *rx_bytes, unsigned int xdp_res, bool *failure) argument
[all...]
H A Di40e_txrx_common.h18 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res);
H A Di40e_txrx.c2075 * @xdp_res: Result of the XDP program
2078 static void i40e_process_rx_buffs(struct i40e_ring *rx_ring, int xdp_res, argument
2095 if (xdp_res != I40E_XDP_CONSUMED)
2383 * @xdp_res: Result of the receive batch
2389 void i40e_finalize_xdp_rx(struct i40e_ring *rx_ring, unsigned int xdp_res) argument
2391 if (xdp_res & I40E_XDP_REDIR)
2394 if (xdp_res & I40E_XDP_TX) {
2488 int xdp_res = 0; local
2573 xdp_res = i40e_run_xdp(rx_ring, xdp, xdp_prog);
2575 if (xdp_res) {
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c255 unsigned int xdp_res, xdp_xmit = 0; local
308 xdp_res = ixgbe_run_xdp_zc(adapter, rx_ring, bi->xdp);
310 if (likely(xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR))) {
311 xdp_xmit |= xdp_res;
312 } else if (xdp_res == IXGBE_XDP_EXIT) {
315 } else if (xdp_res == IXGBE_XDP_CONSUMED) {
317 } else if (xdp_res == IXGBE_XDP_PASS) {
H A Dixgbe_main.c2382 unsigned int xdp_res = -PTR_ERR(skb); local
2384 if (xdp_res & (IXGBE_XDP_TX | IXGBE_XDP_REDIR)) {
2385 xdp_xmit |= xdp_res;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_txrx_lib.h156 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, u32 first_idx);
H A Dice_xsk.c855 unsigned int size, xdp_res = 0; local
896 xdp_res = ice_run_xdp_zc(rx_ring, first, xdp_prog, xdp_ring);
897 if (likely(xdp_res & (ICE_XDP_TX | ICE_XDP_REDIR))) {
898 xdp_xmit |= xdp_res;
899 } else if (xdp_res == ICE_XDP_EXIT) {
904 } else if (xdp_res == ICE_XDP_CONSUMED) {
906 } else if (xdp_res == ICE_XDP_PASS) {
H A Dice_txrx_lib.c483 * @xdp_res: Result of the receive batch
490 void ice_finalize_xdp_rx(struct ice_tx_ring *xdp_ring, unsigned int xdp_res, argument
495 if (xdp_res & ICE_XDP_REDIR)
498 if (xdp_res & ICE_XDP_TX) {
/linux-master/drivers/net/ethernet/socionext/
H A Dnetsec.c779 static void netsec_finalize_xdp_rx(struct netsec_priv *priv, u32 xdp_res, argument
782 if (xdp_res & NETSEC_XDP_REDIR)
785 if (xdp_res & NETSEC_XDP_TX)
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c5568 unsigned int xdp_res = -PTR_ERR(skb); local
5570 if (xdp_res & STMMAC_XDP_CONSUMED) {
5587 } else if (xdp_res & (STMMAC_XDP_TX |
5589 xdp_status |= xdp_res;
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c2635 unsigned int xdp_res = -PTR_ERR(skb); local
2637 switch (xdp_res) {
2644 xdp_status |= xdp_res;
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_main.c8951 unsigned int xdp_res = -PTR_ERR(skb); local
8953 if (xdp_res & (IGB_XDP_TX | IGB_XDP_REDIR)) {
8954 xdp_xmit |= xdp_res;

Completed in 438 milliseconds