Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/intel/idpf/idpf_lib.c, line 2086
- drivers/net/ethernet/intel/idpf/idpf_virtchnl.c, line 3800
Smatch caller information:
drivers/net/ethernet/intel/idpf/idpf_lib.c idpf_initiate_soft_reset() -> idpf_vport_alloc_vec_indexes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vport | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | vport->adapter->vcxn_mngr->salt | 0-255 |
| PARAM_VALUE | 0 | vport->adapter->vport_config | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.complq_desc_count | 0,256-u32max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.num_bufqs_per_qgrp | 0,2 |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.rxq_desc_count | 1-u32max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.txq_desc_count | 1-u32max |
| PARAM_VALUE | 0 | vport->flags | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->netdev->priv->state | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->vdev_info->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->rf->reset | 1 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.dev->cqp->polarity | 0-1 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.dev->ieq_cq->ceqe_mask | 1 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.dev->ieq_cq->cq_type | 1-3 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.dev->ieq_cq->cq_uk.cq_id | 1-2 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.dev->ws_tree_root->index | 0-64 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.back_vsi->vsi.ieq_count | 1 |
| PARAM_VALUE | 0 | vport->vdev_info->adev->dev.driver_data->vsi.mtu | 0-u16max |
| PARAM_VALUE | 1 | rsrc | 4096-ptr_max |
| PARAM_VALUE | 1 | rsrc->complq_desc_count | 0,256-u32max |
| PARAM_VALUE | 1 | rsrc->num_bufqs_per_qgrp | 0,2 |
| PARAM_VALUE | 1 | rsrc->rxq_desc_count | 1-u32max |
| PARAM_VALUE | 1 | rsrc->txq_desc_count | 1-u32max |
| DATA_SOURCE | 0 | vport | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/intel/idpf/idpf_virtchnl.c idpf_vport_init() -> idpf_vport_alloc_vec_indexes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vport | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->hw.arq | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->next_vport | 0-65534 |
| PARAM_VALUE | 0 | vport->adapter->queue_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->queue_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vport->adapter->vport_config | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->vport_params_recvd | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->adapter->vport_params_reqd | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->compln_clean_budget | 256 |
| PARAM_VALUE | 0 | vport->default_mac_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.complq_desc_count | 0,256-u32max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.num_bufqs_per_qgrp | 0,2 |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.q_vector_idxs | 16,4096-ptr_max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.rxq_desc_count | 1-u32max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.rxq_model | 0-u16max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.txq_desc_count | 1-u32max |
| PARAM_VALUE | 0 | vport->dflt_qv_rsrc.txq_model | 0-u16max |
| PARAM_VALUE | 0 | vport->idx | 0-65534 |
| PARAM_VALUE | 0 | *vport->adapter->vport_params_recvd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *vport->adapter->vport_params_reqd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *vport->dflt_qv_rsrc->bufq_desc_count | 0-4294967295 |
| PARAM_VALUE | 1 | rsrc | 4096-ptr_max |
| PARAM_VALUE | 1 | rsrc->complq_desc_count | 0,256-u32max |
| PARAM_VALUE | 1 | rsrc->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rsrc->num_bufqs_per_qgrp | 0,2 |
| PARAM_VALUE | 1 | rsrc->q_vector_idxs | 16,4096-ptr_max |
| PARAM_VALUE | 1 | rsrc->rxq_desc_count | 1-u32max |
| PARAM_VALUE | 1 | rsrc->rxq_model | 0-u16max |
| PARAM_VALUE | 1 | rsrc->txq_desc_count | 1-u32max |
| PARAM_VALUE | 1 | rsrc->txq_model | 0-u16max |
| PARAM_VALUE | 1 | *rsrc->bufq_desc_count | 0-4294967295 |
| BUF_SIZE | 0 | vport | 560 |
| BUF_SIZE | 1 | rsrc | 112 |
| CAPPED_DATA | 0 | vport->adapter->caps.default_num_vports | 1 |
| CAPPED_DATA | 1 | rsrc->num_bufqs_per_qgrp | 1 |
| DATA_SOURCE | 0 | vport | $0 |
| PARAM_COMPARE | 0 | &vport->dflt_qv_rsrc | == $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |