Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_neigh_counter_should_alloc() -> devlink_dpipe_table_counter_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | table_name | 3327439670726012928,6250625351163346944 |
| BUF_SIZE | 1 | table_name | 12 |
| BUF_SIZE | 1 | table_name | 12 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| STR_LEN | 0 | devlink | 11 |
| STR_LEN | 1 | table_name | 11 |
| BIT_INFO | 1 | table_name | 0x62c208040208000,0x7ebffee3c12eb000 |
| BIT_INFO | 1 | table_name | 0x62c208040208000,0x7ebffee3c12eb000 |
| TERMINATED | 1 | table_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_nexthop_counter_enable() -> devlink_dpipe_table_counter_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | table_name | 2608710071925125120 |
| BUF_SIZE | 1 | table_name | 10 |
| BUF_SIZE | 1 | table_name | 10 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| STR_LEN | 0 | devlink | 9 |
| STR_LEN | 1 | table_name | 9 |
| TERMINATED | 1 | table_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_rif_counters_alloc() -> devlink_dpipe_table_counter_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | table_name | 1641411539478028288 |
| BUF_SIZE | 1 | table_name | 11 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| STR_LEN | 0 | devlink | 10 |
| TERMINATED | 1 | table_name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mlxsw_sp->router->lock |