Searched refs:xdp_act (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/sfc/siena/ |
D | rx.c | 259 u32 xdp_act; in efx_do_xdp() local 294 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in efx_do_xdp() 298 switch (xdp_act) { in efx_do_xdp() 320 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 334 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 341 bpf_warn_invalid_xdp_action(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 344 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 348 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 356 return xdp_act == XDP_PASS; in efx_do_xdp()
|
/Linux-v6.1/drivers/net/ethernet/sfc/ |
D | rx.c | 259 u32 xdp_act; in efx_do_xdp() local 294 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in efx_do_xdp() 298 switch (xdp_act) { in efx_do_xdp() 320 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 334 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 341 bpf_warn_invalid_xdp_action(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 344 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 348 trace_xdp_exception(efx->net_dev, xdp_prog, xdp_act); in efx_do_xdp() 356 return xdp_act == XDP_PASS; in efx_do_xdp()
|
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 2399 np->xdp_act = 0; in dpaa_eth_poll() 2410 if (np->xdp_act & XDP_REDIRECT) in dpaa_eth_poll() 2563 u32 xdp_act; in dpaa_run_xdp() local 2589 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in dpaa_run_xdp() 2594 switch (xdp_act) { in dpaa_run_xdp() 2626 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa_run_xdp() 2631 bpf_warn_invalid_xdp_action(priv->net_dev, xdp_prog, xdp_act); in dpaa_run_xdp() 2634 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa_run_xdp() 2642 return xdp_act; in dpaa_run_xdp() 2667 u32 xdp_act; in rx_default_dqrr() local [all …]
|
D | dpaa_eth.h | 105 int xdp_act; member
|
/Linux-v6.1/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 422 u32 xdp_act = XDP_PASS; in dpaa2_eth_run_xdp() local 434 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in dpaa2_eth_run_xdp() 440 switch (xdp_act) { in dpaa2_eth_run_xdp() 447 bpf_warn_invalid_xdp_action(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp() 450 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp() 483 ch->xdp.res |= xdp_act; in dpaa2_eth_run_xdp() 485 return xdp_act; in dpaa2_eth_run_xdp() 533 u32 xdp_act; in dpaa2_eth_rx() local 551 xdp_act = dpaa2_eth_run_xdp(priv, ch, fq, (struct dpaa2_fd *)fd, vaddr); in dpaa2_eth_rx() 552 if (xdp_act != XDP_PASS) { in dpaa2_eth_rx()
|
/Linux-v6.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1519 u32 xdp_act; in enetc_clean_rx_ring_xdp() local 1552 xdp_act = bpf_prog_run_xdp(prog, &xdp_buff); in enetc_clean_rx_ring_xdp() 1554 switch (xdp_act) { in enetc_clean_rx_ring_xdp() 1556 bpf_warn_invalid_xdp_action(rx_ring->ndev, prog, xdp_act); in enetc_clean_rx_ring_xdp() 1559 trace_xdp_exception(rx_ring->ndev, prog, xdp_act); in enetc_clean_rx_ring_xdp()
|
/Linux-v6.1/drivers/net/ethernet/socionext/ |
D | netsec.c | 960 u32 xdp_act = 0; in netsec_process_rx() local 1027 xdp_act |= xdp_result; in netsec_process_rx() 1073 netsec_finalize_xdp_rx(priv, xdp_act, xdp_xmit); in netsec_process_rx()
|