Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 2554
- drivers/net/ethernet/mellanox/mlx5/core/rl.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/rl.c mlx5_rl_add_rate_raw() -> mlx5_rl_is_in_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rate | 1-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_set_tx_maxrate() -> mlx5_rl_is_in_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | rate | 1024-4294966272 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 1 | rate | 0x0,0xfffffc00 |
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rate | 1024-4294966272 |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |