Defined in 2 files as a function:
- include/net/xdp_sock_drv.h, line 342 (as a function)
- include/net/xdp_sock_drv.h, line 548 (as a function)
Referenced in 15 files:
- drivers/net/ethernet/engleder/tsnep_main.c, line 770
- drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c, line 355
- drivers/net/ethernet/freescale/fec_main.c
- drivers/net/ethernet/google/gve/gve_tx_dqo.c, line 1113
- drivers/net/ethernet/intel/i40e/i40e_xsk.c
- drivers/net/ethernet/intel/ice/ice_xsk.c
- drivers/net/ethernet/intel/igb/igb_xsk.c, line 487
- drivers/net/ethernet/intel/igc/igc_main.c, line 3075
- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c, line 414
- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c, line 104
- drivers/net/ethernet/netronome/nfp/nfd3/xsk.c
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 2727
- drivers/net/ethernet/ti/icssg/icssg_common.c, line 128
- drivers/net/virtio_net.c, line 1394
- include/net/libeth/xsk.h
Smatch caller information:
drivers/net/ethernet/netronome/nfp/nfd3/xsk.c nfp_nfd3_xsk_tx() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 2 | size | 0-u32max |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
drivers/net/ethernet/netronome/nfp/nfd3/xsk.c nfp_nfd3_xsk_tx_xdp() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 2 | size | $5 |
| NOCHECK_CALL | |||
| UNITS | 1 | dma | unit_byte |
| UNITS | 2 | size | unit_byte |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_xmit_pkt() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 0 | pool | $1 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_xmit_pkt_batch() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| PARAM_VALUE | 2 | size | 0-u32max |
| DATA_SOURCE | 0 | pool | $1 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_xmit_xdp_tx_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 1-u64max |
| DATA_SOURCE | 0 | pool | $2 |
| DATA_SOURCE | 1 | dma | r xsk_buff_xdp_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/google/gve/gve_tx_dqo.c gve_xsk_tx_dqo() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &tx->dqo_tx.xdp_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct gve_tx_ring)->dqo_tx.xdp_lock |
drivers/net/ethernet/intel/igc/igc_main.c igc_xdp_xmit_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_xmit_pkt() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_xmit_pkt_batch() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| PARAM_VALUE | 2 | size | 0-u32max |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_xdp_tx_map_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_xdp_xmit_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | bh |
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c mlx5e_xsk_tx() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/intel/igb/igb_xsk.c igb_xmit_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| PARAM_VALUE | 2 | size | 0-u32max |
| DATA_SOURCE | 0 | pool | $1 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_xmit_zc() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->addrs_cnt | 1-u64max |
| PARAM_VALUE | 0 | pool->chunk_size | 1-u32max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
drivers/net/ethernet/freescale/fec_main.c fec_enet_xsk_tx_xmit() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dma | unit_byte |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/freescale/fec_main.c fec_enet_xsk_xmit() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| PARAM_VALUE | 2 | size | 0-u32max |
| DATA_SOURCE | 0 | pool | $1 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &nq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/virtio_net.c virtnet_xsk_xmit_one() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 0 | pool | $1 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| LOCK2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct netdev_queue)->_xmit_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c dpaa2_xsk_tx_build_fd() -> xsk_buff_raw_dma_sync_for_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pool | 4096-ptr_max |
| PARAM_VALUE | 0 | pool->cq->cached_cons | 0-4294967295 |
| PARAM_VALUE | 0 | pool->cq->cached_prod | 0-4294967295 |
| PARAM_VALUE | 0 | pool->dma_pages | 4096-ptr_max |
| PARAM_VALUE | 1 | dma | 0-4095 |
| DATA_SOURCE | 1 | dma | r xsk_buff_raw_get_dma |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |