Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c
- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c, line 1078
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c
- drivers/net/ethernet/mellanox/mlx4/port.c, line 1620
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_set_pauseparam() -> mlx4_SET_PORT_general()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | pptx | 0-1 |
| PARAM_VALUE | 5 | pprx | 0-1 |
| FUZZY_MAX | 3 | pptx | 1 |
| FUZZY_MAX | 5 | pprx | 1 |
| HARD_MAX | 3 | pptx | 1 |
| HARD_MAX | 5 | pprx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | pptx | 0-1 |
| USER_DATA | 5 | pprx | 0-1 |
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | mtu | unit_byte |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_init_netdev() -> mlx4_SET_PORT_general()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.def_mac | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.eth_mtu_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | dev->caps.rx_checksum_flags_port | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 2 | mtu | 4 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| CAPPED_DATA | 1 | port | 1 |
| DATA_SOURCE | 1 | port | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | mtu | unit_byte |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_start_port() -> mlx4_SET_PORT_general()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | mtu | 26-s32max[c] |
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | mtu | unit_byte |
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &priv->mdev->state_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/en_dcb_nl.c mlx4_en_dcbnl_ieee_setpfc() -> mlx4_SET_PORT_general()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | pptx | 0-1 |
| PARAM_VALUE | 5 | pprx | 0-1 |
| PARAM_COMPARE | 4 | pfctx | == $6 |
| PARAM_COMPARE | 6 | pfcrx | == $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | pptx | 0-1 |
| USER_DATA | 4 | pfctx | 0-255 |
| USER_DATA | 5 | pprx | 0-1 |
| USER_DATA | 6 | pfcrx | 0-255 |
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | mtu | unit_byte |
| 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/mellanox/mlx4/en_dcb_nl.c mlx4_en_dcbnl_set_all() -> mlx4_SET_PORT_general()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | port | unit_array_size |
| UNITS | 2 | mtu | unit_byte |
| 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 |