Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c, line 322
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c
- drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c, line 4162
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en/tc/int_port.c mlx5e_tc_int_port_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 7360817162609659904 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 5 |
| PARAM_VALUE | 3 | data_size | 8 |
| PARAM_VALUE | 4 | max_id | 4095 |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5_tc_ct_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4966214644231598080 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 4 |
| PARAM_VALUE | 3 | data_size | 2 |
| PARAM_VALUE | 4 | max_id | 0 |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c mlx5_tc_ct_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 4966214644231598080 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 3 |
| PARAM_VALUE | 3 | data_size | 16 |
| PARAM_VALUE | 4 | max_id | 0 |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_offloads_enable() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 2980710016810209280 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | data_size | 24 |
| PARAM_VALUE | 4 | max_id | u16max |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| LOCK2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_esw_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 6060881285302366208 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 1 |
| PARAM_VALUE | 3 | data_size | 56 |
| PARAM_VALUE | 4 | max_id | 4095 |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_esw_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 6060881285302366208 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 2 |
| PARAM_VALUE | 3 | data_size | 520 |
| PARAM_VALUE | 4 | max_id | 2045 |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_nic_init() -> mapping_create_for_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | id | 8908899410059710464 |
| PARAM_VALUE | 1 | id_len | 0,8-9 |
| PARAM_VALUE | 2 | type | 0 |
| PARAM_VALUE | 3 | data_size | 24 |
| PARAM_VALUE | 4 | max_id | u16max |
| PARAM_VALUE | 5 | delayed_removal | 1 |
| BUF_SIZE | 0 | id | 9 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | data_size | unit_byte |
| HALF_LOCKED2 | &esw->offloads.reps_lock |