Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c, line 756
- drivers/net/ethernet/cavium/thunder/nicvf_main.c
Smatch caller information:
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_set_channels() -> nicvf_set_real_num_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_indir_user_size | 0-1 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->revision | 0-7 |
| PARAM_VALUE | 0 | netdev->priv->pdev->subsystem_device | 41246 |
| PARAM_VALUE | 0 | netdev->priv->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->qs->cq_cnt | 8 |
| PARAM_VALUE | 0 | netdev->priv->qs->rq_cnt | 8 |
| PARAM_VALUE | 0 | netdev->priv->qs->sq_cnt | 0-8 |
| PARAM_VALUE | 0 | netdev->priv->sqs_count | 0-30,255 |
| PARAM_VALUE | 0 | netdev->priv->xdp_tx_queues | 0 |
| PARAM_VALUE | 0 | *netdev->name | 0 |
| CAPPED_DATA | 1 | tx_queues | 1 |
| CAPPED_DATA | 2 | rx_queues | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->priv->sqs_count | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | tx_queues | unit_array_size |
| UNITS | 2 | rx_queues | unit_array_size |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_probe() -> nicvf_set_real_num_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->dev.parent->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->drv_stats | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->netdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pf_acked | 0 |
| PARAM_VALUE | 0 | netdev->priv->pf_nacked | 0 |
| PARAM_VALUE | 0 | netdev->priv->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pnicvf->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->pnicvf->pnicvf | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->ptp_clock | 0 |
| PARAM_VALUE | 0 | netdev->priv->qs | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->qs->cq_len | 0-1024 |
| PARAM_VALUE | 0 | netdev->priv->qs->rbdr_cnt | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->qs->rbdr_len | 0,8192 |
| PARAM_VALUE | 0 | netdev->priv->qs->sq_len | 0-1024 |
| PARAM_VALUE | 0 | netdev->priv->reg_base | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->rx_mode_mtx.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->priv->rx_mode_mtx.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->rx_mode_mtx.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->priv->rx_mode_mtx.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->priv->rx_queues | 0-8 |
| PARAM_VALUE | 0 | netdev->priv->sqs_mode | 0 |
| PARAM_VALUE | 0 | netdev->priv->tx_queues | 0-8 |
| PARAM_VALUE | 0 | netdev->priv->xdp_tx_queues | 0 |
| PARAM_VALUE | 0 | *netdev->priv->netdev->name | 0-255 |
| PARAM_VALUE | 1 | tx_queues | 0-8 |
| PARAM_VALUE | 2 | rx_queues | 0-8 |
| BUF_SIZE | 0 | netdev->dev.parent | 1616 |
| DATA_SOURCE | 0 | netdev | r alloc_etherdev_mqs |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | tx_queues | unit_array_size |
| UNITS | 2 | rx_queues | unit_array_size |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_request_sqs() -> nicvf_set_real_num_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *netdev->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | tx_queues | unit_array_size |
| UNITS | 2 | rx_queues | unit_array_size |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cavium/thunder/nicvf_main.c nicvf_set_xdp_queues() -> nicvf_set_real_num_queues()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | tx_queues | unit_array_size |
| UNITS | 2 | rx_queues | unit_array_size |