Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c
- drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c, line 3857
Smatch caller information:
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c dpaa2_switch_port_trap_mac_addr() -> dpaa2_switch_acl_entry_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filter_block | 4096-ptr_max |
| PARAM_VALUE | 1 | entry | 7116523594409091072 |
| PARAM_VALUE | 1 | entry->cfg.key_iova | 0 |
| PARAM_VALUE | 1 | entry->cfg.result.action | 3 |
| PARAM_VALUE | 1 | entry->cookie | 0 |
| PARAM_VALUE | 1 | entry->key.mask.l2_pcp_dei | 0 |
| PARAM_VALUE | 1 | entry->key.mask.l2_vlan_id | 0 |
| PARAM_VALUE | 1 | entry->key.mask.l3_dscp | 0 |
| PARAM_VALUE | 1 | entry->key.match.l2_pcp_dei | 0 |
| PARAM_VALUE | 1 | entry->key.match.l2_vlan_id | 0 |
| PARAM_VALUE | 1 | entry->key.match.l3_dscp | 0 |
| PARAM_VALUE | 1 | entry->prio | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c dpaa2_switch_acl_entry_set_precedence() -> dpaa2_switch_acl_entry_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filter_block | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->ethsw | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->dma_io_tlb_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | filter_block->ethsw->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | filter_block->ethsw->mc_io->spinlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | filter_block->ethsw->mc_io->spinlock.owner | (-1) |
| PARAM_VALUE | 0 | filter_block->ethsw->mc_io->spinlock.owner_cpu | u32max |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->cfg.key_iova | 0-18446744073709551614 |
| PARAM_VALUE | 1 | entry->key.mask.l2_pcp_dei | 0-15 |
| PARAM_VALUE | 1 | entry->key.mask.l2_vlan_id | 0-4095 |
| PARAM_VALUE | 1 | entry->key.mask.l3_dscp | 0-63 |
| PARAM_VALUE | 1 | entry->key.match.l2_pcp_dei | 0-15 |
| PARAM_VALUE | 1 | entry->key.match.l2_vlan_id | 0-4095 |
| PARAM_VALUE | 1 | entry->key.match.l3_dscp | 0-63 |
| BUF_SIZE | 0 | filter_block | 16,32,40,48,88,208,544,936 |
| BUF_SIZE | 0 | filter_block | 16,32,40,48,88,208,544,936 |
| DATA_SOURCE | 0 | filter_block | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-flower.c dpaa2_switch_acl_tbl_add_entry() -> dpaa2_switch_acl_entry_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | filter_block | 4096-ptr_max |
| PARAM_VALUE | 0 | filter_block->num_acl_rules | 0-14 |
| PARAM_VALUE | 1 | entry | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->cfg.precedence | 1-15 |
| PARAM_VALUE | 1 | entry->cfg.result.action | 0-1,3 |
| PARAM_VALUE | 1 | entry->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | entry->list.prev | 4096-ptr_max |
| BUF_SIZE | 0 | filter_block | 16,32,40,48,88,208,544,936 |
| BUF_SIZE | 0 | filter_block | 16,32,40,48,88,208,544,936 |
| BUF_SIZE | 1 | entry | 128 |
| DATA_SOURCE | 0 | filter_block | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| HARD_MAX | 0 | filter_block->num_acl_rules | 14 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock |