Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c, line 1649
- drivers/net/ethernet/mellanox/mlx4/en_netdev.c
- drivers/net/ethernet/mellanox/mlx4/mcg.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_flow_steer_promisc_add() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.steering_mode | 2 |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->regid_allmulti_array | 4096-ptr_max |
| PARAM_VALUE | 1 | rule | 4731489476653916160 |
| PARAM_VALUE | 1 | rule->allow_loopback | 1 |
| PARAM_VALUE | 1 | rule->exclusive | 0 |
| PARAM_VALUE | 1 | rule->list.next | 4731489476653916160 |
| PARAM_VALUE | 1 | rule->list.prev | 4731489476653916160 |
| PARAM_VALUE | 1 | rule->priority | 0 |
| PARAM_VALUE | 1 | rule->promisc_mode | 2-3 |
| PARAM_VALUE | 1 | rule->queue_mode | 0 |
| PARAM_VALUE | 2 | reg_id | 4096-ptr_max |
| PARAM_VALUE | 2 | *reg_id | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| LOCK2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |
drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_trans_to_dmfs_attach() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.steering_mode | 2 |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| PARAM_VALUE | 0 | *dev->caps.ib_port_def_cap | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.possible_type | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.gid_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->phys_caps.pkey_phys_table_len | 0-4294967295 |
| PARAM_VALUE | 1 | rule | 2378104248256184320 |
| PARAM_VALUE | 1 | rule->exclusive | 0 |
| PARAM_VALUE | 1 | rule->list.next | 2378104248256184320 |
| PARAM_VALUE | 1 | rule->list.prev | 2378104248256184320,4816445260251238400 |
| PARAM_VALUE | 1 | rule->priority | 20480 |
| PARAM_VALUE | 1 | rule->promisc_mode | 1 |
| PARAM_VALUE | 1 | rule->queue_mode | 0 |
| PARAM_VALUE | 2 | reg_id | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | reg_id | $6 |
| NOSPEC | 1 | rule->qpn | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | rule->allow_loopback | 0[c] |
| HOST_DATA | 1 | rule->qpn | 1-16777215[c] |
| USER_DATA | 1 | rule->allow_loopback | 0[c] |
| USER_DATA | 1 | rule->qpn | 1-16777215[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.cqe_size | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.max_counters | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_comp_vectors | |
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_slaves | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->persist->pdev->dev.cma_area->available_count |
drivers/net/ethernet/mellanox/mlx4/mcg.c mlx4_tunnel_steer_add() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rule | 151435438408273920 |
| PARAM_VALUE | 1 | rule->allow_loopback | 1 |
| PARAM_VALUE | 1 | rule->exclusive | 0 |
| PARAM_VALUE | 1 | rule->list.next | 151435438408273920 |
| PARAM_VALUE | 1 | rule->list.prev | 151435438408273920,3020026234923880448,6292530379520499712,8227767715849994240 |
| PARAM_VALUE | 1 | rule->priority | 4096-4351,20480 |
| PARAM_VALUE | 1 | rule->promisc_mode | 1 |
| PARAM_VALUE | 1 | rule->queue_mode | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | reg_id | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | rule->port | 0-255 |
| USER_DATA | 1 | rule->priority | 4096-4351[c] |
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c mlx4_en_flow_replace() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rule | 1334096039282573312 |
| PARAM_VALUE | 1 | rule->allow_loopback | 1 |
| PARAM_VALUE | 1 | rule->exclusive | 0 |
| PARAM_VALUE | 1 | rule->list.next | 1334096039282573312 |
| PARAM_VALUE | 1 | rule->list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | rule->promisc_mode | 1 |
| PARAM_VALUE | 1 | rule->queue_mode | 0 |
| PARAM_VALUE | 2 | reg_id | 4163971115012161536 |
| USER_DATA | 1 | rule->priority | 0-u16max |
| USER_DATA | 1 | rule->qpn | 0-u32max[c] |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_filter_work() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | rule | 3373511550721277952 |
| PARAM_VALUE | 1 | rule->allow_loopback | 1 |
| PARAM_VALUE | 1 | rule->exclusive | 1 |
| PARAM_VALUE | 1 | rule->list.next | 3373511550721277952 |
| PARAM_VALUE | 1 | rule->list.prev | 1312003803337412608,2616139882042695680,3373511550721277952,4554474119820013568 |
| PARAM_VALUE | 1 | rule->priority | 12288 |
| PARAM_VALUE | 1 | rule->promisc_mode | 1 |
| PARAM_VALUE | 1 | rule->queue_mode | 1 |
| PARAM_VALUE | 2 | reg_id | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx4/en_netdev.c mlx4_en_uc_steer_add() -> mlx4_flow_attach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.steering_mode | 2 |
| PARAM_VALUE | 1 | rule | 263880151057526784 |
| PARAM_VALUE | 1 | rule->allow_loopback | 1 |
| PARAM_VALUE | 1 | rule->exclusive | 0 |
| PARAM_VALUE | 1 | rule->list.next | 263880151057526784 |
| PARAM_VALUE | 1 | rule->list.prev | 263880151057526784,2008452114837000192 |
| PARAM_VALUE | 1 | rule->priority | 20480 |
| PARAM_VALUE | 1 | rule->promisc_mode | 1 |
| PARAM_VALUE | 1 | rule->queue_mode | 0 |
| PARAM_VALUE | 2 | reg_id | 4096-ptr_max |
| DATA_SOURCE | 2 | reg_id | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdev->state_lock | ||
| TYPE_LOCK | (struct mlx4_en_dev)->state_lock |