Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/netronome/nfp/nfp_net_common.c
- drivers/net/ethernet/ti/cpsw_priv.c, line 1283
- drivers/net/ethernet/ti/icssg/icssg_prueth.c, line 1462
- drivers/net/netdevsim/bpf.c, line 207
- net/core/xdp.c, line 574
Smatch caller information:
drivers/net/netdevsim/bpf.c nsim_xdp_set_prog() -> xdp_attachment_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | bpf | 361140576022011904,2003272666227843072,2174129989026594816,3682456768208482304 |
| PARAM_VALUE | 1 | bpf->command | 0-1 |
| PARAM_VALUE | 1 | bpf->prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bpf->xsk.pool | 0 |
| BUF_SIZE | 1 | bpf->prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | info | $2 |
| DATA_SOURCE | 1 | bpf | $1 |
| HARD_MAX | 1 | bpf->command | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bpf->xsk.queue_id |
drivers/net/ethernet/ti/cpsw_priv.c cpsw_xdp_prog_setup() -> xdp_attachment_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | bpf | 361140576022011904,2003272666227843072,2174129989026594816,3682456768208482304 |
| PARAM_VALUE | 1 | bpf->command | 0 |
| PARAM_VALUE | 1 | bpf->xsk.pool | 0 |
| BUF_SIZE | 1 | bpf->prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | bpf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bpf->xsk.queue_id |
drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_xdp_setup_drv() -> xdp_attachment_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | bpf | 361140576022011904,2003272666227843072,2174129989026594816,3682456768208482304 |
| PARAM_VALUE | 1 | bpf->command | 0 |
| PARAM_VALUE | 1 | bpf->xsk.pool | 0 |
| BUF_SIZE | 1 | bpf->prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | bpf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bpf->xsk.queue_id |
drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_xdp_setup_drv() -> xdp_attachment_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | bpf | 361140576022011904,2003272666227843072,2174129989026594816,3682456768208482304 |
| PARAM_VALUE | 1 | bpf->command | 0 |
| PARAM_VALUE | 1 | bpf->xsk.pool | 0 |
| BUF_SIZE | 1 | bpf->prog | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | bpf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bpf->xsk.queue_id |
drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_xdp_setup_hw() -> xdp_attachment_setup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | bpf | 3682456768208482304 |
| PARAM_VALUE | 1 | bpf->command | 1 |
| PARAM_VALUE | 1 | bpf->extack | 0,1521901953896292352,4971238048455385088 |
| PARAM_VALUE | 1 | bpf->prog | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bpf->xsk.pool | 0 |
| PARAM_VALUE | 1 | bpf->xsk.queue_id | 0 |
| DATA_SOURCE | 1 | bpf | $1 |
| MEM_ZERO | 1 | bpf | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | bpf->xsk.queue_id | |
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |