Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/netronome/nfp/abm/ctrl.c, line 105
- drivers/net/ethernet/netronome/nfp/abm/main.c, line 436
- drivers/net/ethernet/netronome/nfp/abm/qdisc.c, line 279
Smatch caller information:
drivers/net/ethernet/netronome/nfp/abm/qdisc.c nfp_abm_qdisc_offload_update() -> __nfp_abm_ctrl_set_q_lvl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | abm | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->num_thresholds | 1-u64max |
| PARAM_VALUE | 0 | abm->threshold_undef | 4096-ptr_max |
| PARAM_VALUE | 2 | val | s32max |
| CAPPED_DATA | 0 | abm->num_bands | 1 |
| CAPPED_DATA | 1 | id | 1 |
| PARAM_COMPARE | 0 | abm->num_thresholds | > $1 |
| PARAM_COMPARE | 1 | id | < $0->num_thresholds |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | id | unit_array_size |
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/netronome/nfp/abm/ctrl.c nfp_abm_ctrl_set_q_lvl() -> __nfp_abm_ctrl_set_q_lvl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | abm | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->num_bands | 1-u32max |
| DATA_SOURCE | 2 | val | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_fw_init_reset() -> __nfp_abm_ctrl_set_q_lvl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | abm | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->action_mask | 0-s32max |
| PARAM_VALUE | 0 | abm->actions | 16,4096-ptr_max |
| PARAM_VALUE | 0 | abm->app | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->cpp | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->pf | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->pf->cpp | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->pf->ctrl_vnic_bar->cpp | 0-s64max |
| PARAM_VALUE | 0 | abm->app->pf->rtbl->num | s32min-s32max |
| PARAM_VALUE | 0 | abm->app->priv | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->app->type | 4096-ptr_max |
| PARAM_VALUE | 0 | abm->num_bands | 0-u16max |
| PARAM_VALUE | 0 | abm->num_prios | 0-u16max |
| PARAM_VALUE | 0 | abm->num_thresholds | 0-4194240 |
| PARAM_VALUE | 0 | abm->pf_id | 0-15 |
| PARAM_VALUE | 0 | abm->red_support | 1-s32max |
| PARAM_VALUE | 0 | abm->threshold_undef | 16,4096-ptr_max |
| PARAM_VALUE | 0 | abm->thresholds | 16,4096-ptr_max |
| PARAM_VALUE | 0 | *abm->app->pf->rtbl->cpp->resource_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | id | 0-4194239 |
| PARAM_VALUE | 2 | val | s32max |
| BUF_SIZE | 0 | abm | 104 |
| BUF_SIZE | 0 | abm->actions | 1 |
| BUF_SIZE | 0 | abm->thresholds | 4 |
| CAPPED_DATA | 1 | id | 1 |
| DATA_SOURCE | 0 | abm | $0 |
| FUZZY_MAX | 0 | abm->num_bands | 1 |
| MEM_ZERO | 0 | abm->threshold_undef | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | abm->num_bands | |
| NO_OVERFLOW_SIMPLE | 0 | abm->num_thresholds | |
| LOCK2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink)->lock |