Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
- drivers/net/ethernet/sfc/efx_devlink.c, line 151
- net/devlink/port.c, line 1419
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() -> devlink_port_attrs_pci_vf_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->attrs.switch_id.id_len | 0,8-9 |
| PARAM_VALUE | 1 | controller | 0-65536 |
| DATA_SOURCE | 0 | devlink_port | $2 |
| DATA_SOURCE | 4 | external | r mlx5_core_is_ecpf_esw_manager |
| FUZZY_MAX | 1 | controller | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() -> devlink_port_attrs_pci_vf_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->attrs.switch_id.id_len | 0,8-9 |
| PARAM_VALUE | 1 | controller | 0 |
| PARAM_VALUE | 2 | pf | 0-7 |
| PARAM_VALUE | 4 | external | 0 |
| DATA_SOURCE | 0 | devlink_port | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->reps_lock |
drivers/net/ethernet/sfc/efx_devlink.c efx_devlink_add_port() -> devlink_port_attrs_pci_vf_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 1 | controller | 0 |
| PARAM_VALUE | 3 | vf | 0-65534 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |