Defined in 2 files as a function:
- drivers/infiniband/hw/mlx4/main.c, line 1343 (as a function)
- drivers/infiniband/hw/mlx5/fs.c, line 189 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/mlx4/main.c __mlx4_ib_create_default_rules() -> parse_flow_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | qp_num | 0 |
| PARAM_VALUE | 2 | ib_spec | 8263898815403339776 |
| PARAM_VALUE | 2 | ib_spec->esp.size | 0 |
| PARAM_VALUE | 2 | ib_spec->esp.type | 0 |
| PARAM_VALUE | 2 | ib_spec->eth.mask.vlan_tag | 0 |
| PARAM_VALUE | 2 | ib_spec->eth.size | 0 |
| PARAM_VALUE | 2 | ib_spec->eth.type | 0 |
| PARAM_VALUE | 2 | ib_spec->eth.val.vlan_tag | 0 |
| PARAM_VALUE | 2 | ib_spec->gre.size | 0 |
| PARAM_VALUE | 2 | ib_spec->gre.type | 0 |
| PARAM_VALUE | 2 | ib_spec->ib.size | 0 |
| PARAM_VALUE | 2 | ib_spec->ib.type | 0 |
| PARAM_VALUE | 2 | ib_spec->ipv4.mask.dst_ip | 0 |
| PARAM_VALUE | 2 | ib_spec->ipv4.mask.src_ip | 0 |
| PARAM_VALUE | 2 | ib_spec->ipv4.val.dst_ip | 0 |
| PARAM_VALUE | 2 | ib_spec->ipv4.val.src_ip | 0 |
| PARAM_VALUE | 2 | ib_spec->size | 16 |
| PARAM_VALUE | 2 | ib_spec->tcp_udp.mask.dst_port | 0 |
| PARAM_VALUE | 2 | ib_spec->tcp_udp.mask.src_port | 0 |
| PARAM_VALUE | 2 | ib_spec->tcp_udp.val.dst_port | 0 |
| PARAM_VALUE | 2 | ib_spec->tcp_udp.val.src_port | 0 |
| PARAM_VALUE | 2 | ib_spec->type | 34 |
| DATA_SOURCE | 3 | mlx4_spec | $3 [m] |
drivers/infiniband/hw/mlx4/main.c __mlx4_ib_create_flow() -> parse_flow_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 1 | qp_num | unit_array_size |
drivers/infiniband/hw/mlx5/fs.c _create_flow_rule() -> parse_flow_attr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | qp_num | 16,4096-ptr_max |
| PARAM_VALUE | 3 | mlx4_spec | 4096-ptr_max |
| PARAM_VALUE | 3 | mlx4_spec->flags | 0-6 |
| PARAM_VALUE | 3 | mlx4_spec->num_of_specs | 1-10 |
| PARAM_VALUE | 3 | mlx4_spec->port | 0-255 |
| PARAM_VALUE | 3 | mlx4_spec->priority | 0-15 |
| PARAM_VALUE | 3 | mlx4_spec->type | 0,3 |
| PARAM_VALUE | 4 | action | 6926235169631870976 |
| PARAM_VALUE | 4 | action->action | 0,2-u32max |
| PARAM_VALUE | 4 | action->fg | 0 |
| PARAM_VALUE | 4 | action->flags | 0 |
| BUF_SIZE | 1 | qp_num | 1040 |
| BUF_SIZE | 3 | mlx4_spec | (-1),24-904 |
| BUF_SIZE | 3 | mlx4_spec | (-1),24-904 |
| CAPPED_DATA | 3 | mlx4_spec->num_of_specs | 1 |
| DATA_SOURCE | 1 | qp_num | r __kvmalloc_node_noprof |
| DATA_SOURCE | 3 | mlx4_spec | $2 |
| FUZZY_MAX | 3 | mlx4_spec->priority | 15 |
| PARAM_COMPARE | 2 | ib_spec | > $3 |
| PARAM_COMPARE | 3 | mlx4_spec | < $2 |
| PARAM_COMPARE | 3 | mlx4_spec | < $2 |
| PARAM_COMPARE | 3 | mlx4_spec | == $2 |
| BIT_INFO | 3 | mlx4_spec->flags | 0x0,0x6 |
| HARD_MAX | 3 | mlx4_spec->priority | 15 |
| HARD_MAX | 3 | mlx4_spec->type | 3 |
| USER_DATA | 3 | mlx4_spec->flags | 0-6 |
| USER_DATA | 3 | mlx4_spec->port | 0-255 |
| USER_DATA | 3 | mlx4_spec->priority | 0-15 |
| USER_DATA | 3 | mlx4_spec->type | 0 |
| UNITS | 0 | dev | unit_byte |
| UNITS | 2 | ib_spec | unit_byte |
| LOCK2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &file->device->disassociate_srcu | ||
| TYPE_LOCK | (struct mlx5_ib_flow_db)->lock |