Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/amazon/ena/ena_xdp.c, line 146
- drivers/net/ethernet/amazon/ena/ena_xdp.h, line 110
Smatch caller information:
drivers/net/ethernet/amazon/ena/ena_netdev.c ena_xdp_execute() -> ena_xdp_xmit_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | tx_ring->xdp_tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | adapter | 4096-ptr_max |
| PARAM_VALUE | 2 | xdpf | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | xdpf->flags | 0-4294967295 |
| PARAM_VALUE | 2 | xdpf->frame_sz | 0-4294967295 |
| PARAM_VALUE | 2 | xdpf->headroom | 0-4294967295 |
| PARAM_VALUE | 2 | xdpf->len | 0-4294967295 |
| PARAM_VALUE | 2 | xdpf->mem_type | 0-4294967295 |
| PARAM_VALUE | 2 | xdpf->metasize | 0-4294967295 |
| PARAM_VALUE | 3 | flags | 1 |
| BUF_SIZE | 2 | xdpf | (-1),1-s32max |
| BUF_SIZE | 2 | xdpf | (-1),1-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | xdpf | unit_byte |
| LOCK2 | 0 | &tx_ring->xdp_tx_lock | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ena_ring)->xdp_tx_lock |
drivers/net/ethernet/amazon/ena/ena_xdp.c ena_xdp_xmit() -> ena_xdp_xmit_frame()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | tx_ring->ena_com_io_sq->tx_max_header_size | 0-256 |
| PARAM_VALUE | 0 | tx_ring->xdp_tx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | adapter | 4096-ptr_max |
| PARAM_VALUE | 1 | adapter->rx_ring->xdp_bpf_prog | 1-u64max |
| PARAM_VALUE | 1 | adapter->tx_ring | 4096-ptr_max |
| PARAM_VALUE | 3 | flags | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &tx_ring->xdp_tx_lock | |
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct ena_ring)->xdp_tx_lock |