Searched refs:xdp_act (Results 1 – 6 of 6) sorted by relevance
/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(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()
|
/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_eth.c | 2394 np->xdp_act = 0; in dpaa_eth_poll() 2398 if (np->xdp_act & XDP_REDIRECT) in dpaa_eth_poll() 2558 u32 xdp_act; in dpaa_run_xdp() local 2584 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in dpaa_run_xdp() 2589 switch (xdp_act) { in dpaa_run_xdp() 2621 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa_run_xdp() 2626 bpf_warn_invalid_xdp_action(xdp_act); in dpaa_run_xdp() 2629 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa_run_xdp() 2637 return xdp_act; in dpaa_run_xdp() 2662 u32 xdp_act; in rx_default_dqrr() local [all …]
|
D | dpaa_eth.h | 130 int xdp_act; member
|
/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-eth.c | 352 u32 xdp_act = XDP_PASS; in dpaa2_eth_run_xdp() local 364 xdp_act = bpf_prog_run_xdp(xdp_prog, &xdp); in dpaa2_eth_run_xdp() 370 switch (xdp_act) { in dpaa2_eth_run_xdp() 377 bpf_warn_invalid_xdp_action(xdp_act); in dpaa2_eth_run_xdp() 380 trace_xdp_exception(priv->net_dev, xdp_prog, xdp_act); in dpaa2_eth_run_xdp() 413 ch->xdp.res |= xdp_act; in dpaa2_eth_run_xdp() 415 return xdp_act; in dpaa2_eth_run_xdp() 463 u32 xdp_act; in dpaa2_eth_rx() local 481 xdp_act = dpaa2_eth_run_xdp(priv, ch, fq, (struct dpaa2_fd *)fd, vaddr); in dpaa2_eth_rx() 482 if (xdp_act != XDP_PASS) { in dpaa2_eth_rx()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1239 u32 xdp_act; in enetc_clean_rx_ring_xdp() local 1272 xdp_act = bpf_prog_run_xdp(prog, &xdp_buff); in enetc_clean_rx_ring_xdp() 1274 switch (xdp_act) { in enetc_clean_rx_ring_xdp() 1276 bpf_warn_invalid_xdp_action(xdp_act); in enetc_clean_rx_ring_xdp() 1279 trace_xdp_exception(rx_ring->ndev, prog, xdp_act); in enetc_clean_rx_ring_xdp()
|
/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()
|