Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/dsa/ocelot/felix.c, line 1978
- drivers/net/ethernet/mscc/ocelot_flower.c, line 962
- drivers/net/ethernet/mscc/ocelot_net.c, line 209
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_setup_tc_cls_flower() -> ocelot_cls_flower_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | port | 0-255 |
| PARAM_VALUE | 2 | f | 4096-ptr_max |
| PARAM_VALUE | 2 | f->command | 0 |
| PARAM_VALUE | 3 | ingress | 1 |
| BUF_SIZE | 2 | f | (-1),72,80,96 |
| BUF_SIZE | 2 | f | (-1),72,80,96 |
| DATA_SOURCE | 2 | f | $1 |
| DATA_SOURCE | 3 | ingress | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| UNITS | 1 | port | unit_array_size |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/dsa/ocelot/felix.c felix_cls_flower_add() -> ocelot_cls_flower_replace()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | f | 4096-ptr_max |
| PARAM_VALUE | 2 | f->command | 0 |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | f | (-1),72,80,96 |
| BUF_SIZE | 2 | f | (-1),72,80,96 |
| BUF_SIZE | 2 | f->exts | (-1),48 |
| BUF_SIZE | 2 | f->knode.exts | (-1),48 |
| BUF_SIZE | 2 | f->knode.res | (-1),16 |
| BUF_SIZE | 2 | f->knode.sel | (-1),16-4096 |
| BUF_SIZE | 2 | f->rule | (-1),32-s32max |
| BUF_SIZE | 2 | f->rule->match.dissector | (-1),80 |
| BUF_SIZE | 2 | f->rule->match.key | (-1),536 |
| BUF_SIZE | 2 | f->rule->match.mask | (-1),536 |
| DATA_SOURCE | 1 | port | $1 |
| DATA_SOURCE | 2 | f | $2 |
| DATA_SOURCE | 3 | ingress | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |