Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_dp_swap_enable() -> nfp_net_dp_swap()

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
BUF_SIZE 1 dp 136
BUF_SIZE 1 dp->xdp_prog s32min-(-1),1-s32max
CAPPED_DATA 0 nn->dp.num_r_vecs 1
CAPPED_DATA 0 nn->dp.num_rx_rings 1
CAPPED_DATA 0 nn->dp.num_tx_rings 1
CAPPED_DATA 1 dp->dev->cma_area->nranges 1
DATA_SOURCE 0 nn $0
DATA_SOURCE 1 dp $1
NOSPEC 0 nn->dp.netdev->real_num_rx_queues
NOSPEC 1 dp->num_r_vecs
NOSPEC 1 dp->num_rx_rings
NOSPEC 1 dp->num_stack_tx_rings
NOSPEC 1 dp->num_tx_rings
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 nn->dp.netdev->mtu 0-s32max[c]
USER_DATA 0 nn->dp.netdev->real_num_rx_queues 1-s32max[c]
USER_DATA 1 dp->mtu 0-s32max[c]
USER_DATA 1 dp->num_r_vecs 0[c]
USER_DATA 1 dp->num_rx_rings 0[c]
USER_DATA 1 dp->num_stack_tx_rings 0[c]
USER_DATA 1 dp->num_tx_rings 0[c]
NO_OVERFLOW_SIMPLE 0 nn->dp.num_stack_tx_rings
NO_OVERFLOW_SIMPLE 0 nn->max_r_vecs

drivers/net/ethernet/netronome/nfp/nfp_net_common.c nfp_net_ring_reconfig() -> nfp_net_dp_swap()

Type Parameter Key Value
PARAM_VALUE 0 nn 4096-ptr_max
PARAM_VALUE 1 dp 4096-ptr_max
BUF_SIZE 1 dp 136
BUF_SIZE 1 dp->xdp_prog s32min-(-1),1-s32max
DATA_SOURCE 0 nn $0
DATA_SOURCE 1 dp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 dp->mtu 0-s32max[c]
USER_DATA 1 dp->num_r_vecs 0[c]
USER_DATA 1 dp->num_rx_rings 0[c]
USER_DATA 1 dp->num_stack_tx_rings 0[c]
USER_DATA 1 dp->num_tx_rings 0[c]
NO_OVERFLOW_SIMPLE 0 nn->max_r_vecs