Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/freescale/enetc/enetc.c enetc_setup_default_rss_table() -> (struct enetc_si_ops)->set_rss_table()

Type Parameter Key Value
PARAM_VALUE 0 si 4096-ptr_max
PARAM_VALUE 0 si->num_rss s32min-(-1),1-s32max
PARAM_VALUE 0 si->ops 4096-ptr_max
PARAM_VALUE 0 si->pdev 4096-ptr_max
PARAM_VALUE 1 table 4096-ptr_max
PARAM_VALUE 2 count s32min-(-1),1-s32max
CAPPED_DATA 0 si->num_rss 1
CAPPED_DATA 2 count 1
DATA_SOURCE 0 si $0
DATA_SOURCE 1 table r _kmalloc_noprof
CONTAINER 0 -8-152+0 $(-1)
CONTAINER 2 *(-8-152+132) $(-1)
BIT_INFO 0 si->hw_features 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 si->num_rx_rings 0-255
HOST_DATA 0 si->num_tx_rings 0-255
HOST_DATA 0 si->revision 256,1025,1027[c]
NO_OVERFLOW_SIMPLE 0 si->num_rss
NO_OVERFLOW_SIMPLE 2 count
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/freescale/enetc/enetc_ethtool.c enetc_set_rxfh() -> (struct enetc_si_ops)->set_rss_table()

Type Parameter Key Value
PARAM_VALUE 0 si 4096-ptr_max
PARAM_VALUE 0 si->ops 4096-ptr_max
PARAM_VALUE 1 table 16,4096-ptr_max
BUF_SIZE 1 table 1-s32max
CONTAINER 0 -8-152+0 $(-1)
CONTAINER 2 *(-8-152+132) $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_PTR 1 table
LOCK2 &ndev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock