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/netronome/nfp/nfp_net_main.c, line 113
- drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c, line 192
Smatch caller information:
drivers/net/ethernet/netronome/nfp/nfp_net_main.c nfp_net_pf_alloc_vnic() -> nfp_net_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | pdev->sriov->ctrl | 0-u16max |
| PARAM_VALUE | 0 | pdev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | pdev->sriov->total_VFs | 0-u16max |
| PARAM_VALUE | 1 | dev_info | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_info->dma_mask | 1099511627775,281474976710655 |
| PARAM_VALUE | 1 | dev_info->max_qc_size | 65536,262144 |
| PARAM_VALUE | 1 | dev_info->min_qc_size | 256,512 |
| PARAM_VALUE | 1 | dev_info->pcie_cfg_expbar_offset | 0,1024,2560 |
| PARAM_VALUE | 1 | dev_info->pcie_expl_offset | 0,4096,53248 |
| PARAM_VALUE | 1 | dev_info->qc_addr_offset | 0,524288,4194304 |
| PARAM_VALUE | 1 | dev_info->qc_area_sz | 0,524288,1048576 |
| PARAM_VALUE | 1 | dev_info->qc_idx_mask | 255,511 |
| PARAM_VALUE | 2 | ctrl_bar | 1-u64max |
| BUF_SIZE | 0 | pdev | (-1),1-s32max |
| BUF_SIZE | 0 | pdev | (-1),1-s32max |
| DATA_SOURCE | 2 | ctrl_bar | $2 |
| DATA_SOURCE | 3 | needs_netdev | $1 |
| DATA_SOURCE | 4 | max_tx_rings | r readl |
| DATA_SOURCE | 5 | max_rx_rings | r readl |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HOST_DATA | 4 | max_tx_rings | 0-u32max |
| HOST_DATA | 5 | max_rx_rings | 0-u32max |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c nfp_netvf_pci_probe() -> nfp_net_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->bus->self->link_bwctrl->cdev | (-22),(-19),(-12),0-s64max |
| PARAM_VALUE | 0 | pdev->dev.dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->driver->err_handler | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | pdev->is_busmaster | 1 |
| PARAM_VALUE | 0 | pdev->link_bwctrl->cdev | 0-s64max |
| PARAM_VALUE | 0 | pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | pdev->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | *pdev->saved_config_space | 0-4294967295 |
| PARAM_VALUE | 1 | dev_info | 4096-ptr_max |
| PARAM_VALUE | 2 | ctrl_bar | 4096-ptr_max |
| PARAM_VALUE | 3 | needs_netdev | 1 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| BUF_SIZE | 0 | pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | pdev | 1 |
| DATA_SOURCE | 0 | pdev | $0 |
| DATA_SOURCE | 2 | ctrl_bar | r ioremap |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | pdev->current_state | 0-3[c] |
| HOST_DATA | 4 | max_tx_rings | 0-u32max |
| HOST_DATA | 5 | max_rx_rings | 0-u32max |
| HALF_LOCKED2 | 0 | &pdev->dev.mutex |