Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 53 files:
- drivers/net/ethernet/amazon/ena/ena_xdp.h, line 142
- drivers/net/ethernet/aquantia/atlantic/aq_ring.c, line 525
- drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c, line 317
- drivers/net/ethernet/cavium/thunder/nicvf_main.c, line 593
- drivers/net/ethernet/engleder/tsnep_main.c
- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c, line 2665
- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c, line 458
- drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c, line 85
- drivers/net/ethernet/freescale/enetc/enetc.c, line 2012
- drivers/net/ethernet/freescale/fec_main.c
- drivers/net/ethernet/fungible/funeth/funeth_rx.c, line 183
- drivers/net/ethernet/intel/i40e/i40e_txrx.c, line 2291
- drivers/net/ethernet/intel/i40e/i40e_xsk.c, line 231
- drivers/net/ethernet/intel/ice/ice_txrx.c, line 683
- drivers/net/ethernet/intel/ice/ice_xsk.c, line 547
- drivers/net/ethernet/intel/igb/igb_main.c, line 8737
- drivers/net/ethernet/intel/igb/igb_xsk.c, line 327
- drivers/net/ethernet/intel/igc/igc_main.c, line 2530
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c, line 2441
- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c, line 141
- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c, line 1096
- drivers/net/ethernet/intel/libeth/xdp.c, line 300
- drivers/net/ethernet/marvell/mvneta.c, line 2295
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c, line 3849
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c, line 1564
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 2179
- drivers/net/ethernet/mellanox/mlx4/en_rx.c, line 841
- drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c, line 344
- drivers/net/ethernet/meta/fbnic/fbnic_txrx.c, line 1171
- drivers/net/ethernet/microchip/lan966x/lan966x_xdp.c, line 101
- drivers/net/ethernet/microsoft/mana/mana_bpf.c, line 127
- drivers/net/ethernet/netronome/nfp/nfd3/dp.c, line 1038
- drivers/net/ethernet/netronome/nfp/nfd3/xsk.c, line 245
- drivers/net/ethernet/netronome/nfp/nfdk/dp.c, line 1157
- drivers/net/ethernet/qlogic/qede/qede_fp.c, line 1163
- drivers/net/ethernet/sfc/rx.c, line 339
- drivers/net/ethernet/sfc/siena/rx.c, line 341
- drivers/net/ethernet/socionext/netsec.c, line 936
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 5323
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 1220
- drivers/net/ethernet/ti/cpsw_priv.c, line 1378
- drivers/net/ethernet/ti/icssg/icssg_common.c, line 849
- drivers/net/hyperv/netvsc_bpf.c, line 99
- drivers/net/tun.c, line 1664
- drivers/net/veth.c
- drivers/net/virtio_net.c, line 1729
- drivers/net/vmxnet3/vmxnet3_xdp.c, line 296
- drivers/net/xen-netfront.c, line 1015
- kernel/bpf/cpumap.c
- kernel/bpf/devmap.c
- net/bpf/test_run.c, line 337
- net/core/dev.c, line 5654
- net/core/filter.c, line 9495
Smatch caller information:
drivers/net/ethernet/freescale/enetc/enetc.c enetc_clean_rx_ring_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| DATA_SOURCE | 1 | prog | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/fungible/funeth/funeth_rx.c fun_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c bnxt_rx_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_xdp_run() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 0 | dev | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/net/ethernet/sfc/siena/rx.c efx_do_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/netronome/nfp/nfd3/dp.c nfp_nfd3_rx() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL |
drivers/net/xen-netfront.c xennet_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 5-u32max |
| DATA_SOURCE | 1 | prog | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &queue->rx_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct netfront_queue)->rx_lock |
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c dpaa_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfdk/dp.c nfp_nfdk_rx() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL |
drivers/net/ethernet/netronome/nfp/nfd3/xsk.c nfp_nfd3_xsk_rx() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_run_xdp_zc() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
kernel/bpf/devmap.c dev_map_bpf_prog_run() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,3-u32max |
| DATA_SOURCE | 1 | prog | $0 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
kernel/bpf/devmap.c dev_map_bpf_prog_run_skb() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,3-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_generic_xdp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | dev->dev.parent->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL |
drivers/net/ethernet/marvell/mvneta.c mvneta_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
kernel/bpf/cpumap.c cpu_map_bpf_prog_run_skb() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,3,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_generic_xdp |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read |
kernel/bpf/cpumap.c cpu_map_bpf_prog_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,3,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | rcu_read |
drivers/net/ethernet/aquantia/atlantic/aq_ring.c aq_xdp_run_prog() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/igc/igc_main.c __igc_xdp_run_prog() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_run_xdp_zc() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/en_rx.c mlx4_en_process_rx_cq() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->priv->ddev->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv->frag_info | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv->port_up | 1 |
| PARAM_VALUE | 0 | dev->priv->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv->validate_loopback | 0 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_xdp_run_prog() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_xdp_run_prog_zc() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c dpaa2_eth_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.parent->flags | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/bpf/test_run.c xdp_test_run_batch() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux->dev_bound | 0 |
| PARAM_VALUE | 1 | prog->aux->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux->ops->test_run | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->expected_attach_type | 0-32,34,36-u32max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | prog | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | prog | 1 |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_txrx.c ice_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_xdp_handle() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c __stmmac_xdp_run_prog() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/veth.c veth_xdp_rcv_one() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/net/veth.c veth_xdp_rcv_skb() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_xdp_rx() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cq->lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct cmp_queue)->lock |
drivers/net/ethernet/intel/igb/igb_main.c igb_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/microchip/lan966x/lan966x_xdp.c lan966x_xdp_run() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/amazon/ena/ena_netdev.c ena_xdp_execute() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/socionext/netsec.c netsec_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| NOCHECK_CALL |
drivers/net/vmxnet3/vmxnet3_xdp.c vmxnet3_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/hyperv/netvsc_bpf.c netvsc_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->reg_state | 1 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 5-u32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/microsoft/mana/mana_bpf.c mana_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 5-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read |
drivers/net/ethernet/intel/igb/igb_xsk.c igb_run_xdp_zc() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $4 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/libeth/xdp.c libeth_xdp_prog_exception() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | act | 5-u32max |
| DATA_SOURCE | 2 | act | $2 |
| FUZZY_MAX | 2 | act | 5 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/ethernet/marvell/octeontx2/nic/otx2_txrx.c otx2_xdp_rcv_pkt_handler() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/meta/fbnic/fbnic_txrx.c fbnic_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 1 | prog->aux | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/tun.c tun_xdp_act() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $1 |
| DATA_SOURCE | 2 | act | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | bh | ||
| LOCK2 | rcu_read |
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_run_xdp_zc() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue_xsk() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/virtio_net.c virtnet_xdp_handler() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 0 | dev | $2 |
| DATA_SOURCE | 1 | prog | $0 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/sfc/rx.c efx_do_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/qlogic/qede/qede_fp.c qede_rx_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $3 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
net/core/dev.c netif_receive_generic_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_generic_xdp |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/i40e/i40e_txrx.c i40e_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 1 | prog | $2 |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c ixgbevf_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,4-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/ethernet/ti/cpsw_priv.c cpsw_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c dpaa2_xsk_run_xdp() -> bpf_warn_invalid_xdp_action()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | prog | 4096-ptr_max |
| PARAM_VALUE | 2 | act | 0-1,5-u32max |
| DATA_SOURCE | 2 | act | r bpf_prog_run_xdp |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |