Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/wangxun/libwx/wx_vf_lib.c wx_configure_rx_ring_vf() -> wx_enable_rx_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->priv->mbx.mailbox | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->mbx.mbx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | wx->num_rx_queues | 1-s32max |
| PARAM_VALUE | 0 | wx->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | wx->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | wx->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->rss_key | 0-255 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->next_to_alloc | 0 |
| PARAM_VALUE | 1 | ring->next_to_clean | 0 |
| PARAM_VALUE | 1 | ring->next_to_use | 0 |
| PARAM_VALUE | 1 | ring->tail | 4096-ptr_max |
| CAPPED_DATA | 0 | wx->mbx.size | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| DATA_SOURCE | 1 | ring | $1 |
| MEM_ZERO | 1 | ring->rx_buffer_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->mbx.mailbox | 0-u32max[c] |
| UNITS | 0 | wx | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &wx->reset_lock |
drivers/net/ethernet/wangxun/libwx/wx_hw.c wx_configure_rx_ring() -> wx_enable_rx_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | wx | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->netdev->ethtool->rss_indir_user_size | 0-1 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.mta_in_use | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.num_mc_addrs | 0-4294967295 |
| PARAM_VALUE | 0 | wx->netdev->priv->addr_ctrl.user_set_promisc | 0-1 |
| PARAM_VALUE | 0 | wx->num_rx_queues | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | wx->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | wx->pdev->dev.iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | wx->rss_indir_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rss_key | 4096-ptr_max |
| PARAM_VALUE | 0 | wx->rx_ring | 4096-ptr_max |
| PARAM_VALUE | 0 | *wx->last_stats.qmprc | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->mac.addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.perm_addr | 0-255 |
| PARAM_VALUE | 0 | *wx->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->netdev->priv->mac.mta_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->netdev->priv->mac.vft_shadow | 0-4294967295 |
| PARAM_VALUE | 0 | *wx->rss_indir_tbl | 0-255 |
| PARAM_VALUE | 0 | *wx->tpid | 33024 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring->next_to_clean | 0 |
| PARAM_VALUE | 1 | ring->next_to_use | 0 |
| PARAM_VALUE | 1 | ring->tail | 4096-ptr_max |
| CAPPED_DATA | 0 | wx->num_rx_queues | 1 |
| CAPPED_DATA | 0 | wx->num_tx_queues | 1 |
| DATA_SOURCE | 0 | wx | $0 |
| DATA_SOURCE | 1 | ring | $1 |
| MEM_ZERO | 1 | ring->rx_buffer_info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | wx->hw_tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | wx->pps_edge_end | 0-u32max |
| HOST_DATA | 0 | wx->pps_edge_start | 0-u32max |
| HALF_LOCKED2 | 0 | &wx->reset_lock |