Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcbnl_ieee_setets() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops->ieee_setets 0,4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops->setdcbx 0,4096-ptr_max
PARAM_VALUE 1 tc 0,2-255
CAPPED_DATA 1 tc 1
DATA_SOURCE 0 dev $0
FUZZY_MAX 1 tc 0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 tc 2-255[c]
UNITS 1 tc unit_array_size
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcbnl_set_state() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops->setstate 434597328754311168,2012029058294157312,2489845979972263936,2585458623259779072,5119801279170658304,5184501490933092352,8574945159845748736
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c ixgbe_dcbnl_setdcbx() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops 4096-ptr_max
PARAM_VALUE 0 dev->dcbnl_ops->setdcbx 4096-ptr_max
PARAM_VALUE 0 dev->tc_to_txq->count 0-u16max
PARAM_VALUE 0 dev->tc_to_txq->offset 0-u16max
PARAM_VALUE 1 tc 0
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &audit_cmd_mutex.lock
HALF_LOCKED2 global &cb_lock
HALF_LOCKED2 global &crypto_cfg_mutex
HALF_LOCKED2 global &hwsim_phys_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_fwd_add() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
DATA_SOURCE 0 dev $0
BIT_INFO 0 dev->features 0x1000000000000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
UNITS 1 tc unit_array_size
HALF_LOCKED2 &vdev->ethtool->rss_lock
HALF_LOCKED2 &vdev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_reset_l2fw_offload() -> ixgbe_setup_tc()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 tc unit_array_size
HALF_LOCKED2 &netdev->ethtool->rss_lock
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_setup_tc_mqprio() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_setup_tc 0,4096-ptr_max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 tc unit_array_size
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_sriov_reinit() -> ixgbe_setup_tc()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 tc unit_array_size
LOCK2 &dev->dev.mutex
LOCK2 &of->mutex
LOCK2 global &pci_rescan_remove_lock
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_xdp_setup() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->cfg 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_bpf 0,4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_change_carrier 0,885170895855865856,1782477489044140032,2219068876340936704,3313908872681771008,6182840514861293568,6498501278544633856
PARAM_VALUE 0 dev->netdev_ops->ndo_set_config 0,1586268954384080896,2133952100825280512,4430316855586635776
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_guid 0,1993202516722049024
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_port 0,6678536409099956224
PARAM_VALUE 0 dev->netdev_ops->ndo_set_vf_vlan 0,4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_uninit 0,4096-ptr_max
PARAM_VALUE 0 dev->netdev_ops->ndo_xdp_xmit 0,4096-ptr_max
PARAM_VALUE 0 dev->queues_kset->kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->rtnl_link_ops->alloc 0,1182153660833808384,3130032447137456128
PARAM_VALUE 0 dev->rtnl_link_ops->get_num_rx_queues 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912
PARAM_VALUE 0 dev->rtnl_link_ops->get_num_tx_queues 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912
PARAM_VALUE 0 dev->rtnl_link_ops->maxtype 0-6,8-10,15,18,20,22,24,34,50
PARAM_VALUE 0 dev->rtnl_link_ops->peer_type 0-1
PARAM_VALUE 0 dev->rtnl_link_ops->priv_size 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max
BUF_SIZE 0 dev->nd_net.net (-1),10304,10432
DATA_SOURCE 0 dev $0
NOSPEC 0 dev->ifindex
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 dev->flags 0-525824[c]
USER_DATA 0 dev->ifindex 0-s32max[c]
NO_OVERFLOW_SIMPLE 0 dev->group
NO_OVERFLOW_SIMPLE 0 dev->num_napi_configs
NO_OVERFLOW_SIMPLE 0 dev->num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->proto_down
NO_OVERFLOW_SIMPLE 0 dev->real_num_rx_queues
NO_OVERFLOW_SIMPLE 0 dev->real_num_tx_queues
NO_OVERFLOW_SIMPLE 0 dev->tx_queue_len
UNITS 1 tc unit_array_size
HALF_LOCKED2 0 &dev->lock

drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c ixgbe_set_channels() -> ixgbe_setup_tc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool 4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_indir_user_size 0-1
PARAM_VALUE 0 dev->ethtool->rss_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_channels 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->set_channels 4096-ptr_max
PARAM_VALUE 0 *dev->name 0
DATA_SOURCE 0 dev $0
RX_PATH
UNITS 1 tc unit_array_size