Defined in 2 files as a function:
- include/net/xdp_sock_drv.h, line 335 (as a function)
- include/net/xdp_sock_drv.h, line 544 (as a function)
Referenced in 15 files:
- drivers/net/ethernet/engleder/tsnep_main.c, line 1597
- drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c, line 58
- drivers/net/ethernet/freescale/fec_main.c, line 2343
- drivers/net/ethernet/google/gve/gve_rx_dqo.c, line 756
- drivers/net/ethernet/intel/i40e/i40e_xsk.c, line 460
- drivers/net/ethernet/intel/ice/ice_xsk.c, line 617
- drivers/net/ethernet/intel/igb/igb_xsk.c, line 377
- drivers/net/ethernet/intel/igc/igc_main.c, line 2851
- drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c, line 306
- drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c
- drivers/net/ethernet/netronome/nfp/nfd3/xsk.c, line 187
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 5618
- drivers/net/ethernet/ti/icssg/icssg_common.c, line 993
- drivers/net/virtio_net.c, line 1083
- include/net/libeth/xsk.h, line 360
Smatch caller information:
drivers/net/ethernet/intel/idpf/xsk.c libeth_xsk_process_buff() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/netronome/nfp/nfd3/xsk.c nfp_nfd3_xsk_rx() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-u64max |
| PARAM_VALUE | 0 | xdp->data_end | 4096-u64max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| NOCHECK_CALL |
drivers/net/ethernet/intel/ice/ice_xsk.c ice_clean_rx_irq_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/igc/igc_main.c igc_clean_rx_irq_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_end | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->rx_desc | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->rx_desc->wb.upper.length | 1-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/intel/i40e/i40e_xsk.c i40e_clean_rx_irq_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_rx_poll_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_rx_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_end | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->priv->hw | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c mlx5e_xsk_skb_from_cqe_linear() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c mlx5e_xsk_skb_from_cqe_mpwrq_linear() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
51e6ac3d6061642e gve_rx_xsk_dqo() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/igb/igb_xsk.c igb_clean_rx_irq_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ni->dev_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c ixgbe_clean_rx_irq_zc() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_end | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/freescale/fec_main.c fec_enet_rx_queue_xsk() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| RX_PATH | |||
| NOCHECK_CALL |
drivers/net/virtio_net.c buf_to_xdp() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->flags | 0 |
| PARAM_VALUE | 0 | *xdp->data_end | 0-255 |
| DATA_SOURCE | 0 | xdp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh |
drivers/net/ethernet/freescale/dpaa2/dpaa2-xsk.c dpaa2_xsk_run_xdp() -> xsk_buff_dma_sync_for_cpu()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xdp | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->data_meta | 4096-ptr_max |
| PARAM_VALUE | 0 | xdp->rxq | 4096-ptr_max |
| BUF_SIZE | 0 | xdp->rxq | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |