Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_commit_subflow() -> mtk_foe_entry_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | entry | 472542322837581824 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| LOCK2 | global &ppe_lock | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_set_dsa() -> mtk_foe_entry_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->flow_table.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->ppe_num | 0-3 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | entry | 2093178427172577280 |
| PARAM_VALUE | 1 | entry->bridge.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->bridge.vlan | 0-4095 |
| PARAM_VALUE | 1 | entry->ipv4.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv4.orig.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv6.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv6.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.udf | 0 |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| MEM_ZERO | 1 | entry | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtk_flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_set_pppoe() -> mtk_foe_entry_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->flow_table.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->offload_version | 0-2 |
| PARAM_VALUE | 0 | eth->soc->ppe_num | 0-3 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | entry | 2093178427172577280 |
| PARAM_VALUE | 1 | entry->bridge.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->bridge.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.vlan1 | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->bridge.vlan | 0-4095 |
| PARAM_VALUE | 1 | entry->ib1 | 262144,278528-720896,1048576,1064960-1507328,5242880-2168455167 |
| PARAM_VALUE | 1 | entry->ipv4.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv4.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.minfo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.pppoe_id | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.orig.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv6.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.minfo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.pppoe_id | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.vlan1 | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.udf | 0 |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| MEM_ZERO | 1 | entry | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtk_flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_set_vlan() -> mtk_foe_entry_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->flow_table.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->offload_version | 0-2 |
| PARAM_VALUE | 0 | eth->soc->ppe_num | 0-3 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | entry | 2093178427172577280 |
| PARAM_VALUE | 1 | entry->bridge.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->bridge.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.vlan1 | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->bridge.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->bridge.vlan | 0-4095 |
| PARAM_VALUE | 1 | entry->ib1 | 262144,278528-720896,1048576,1064960-1507328,5242880-2168455167 |
| PARAM_VALUE | 1 | entry->ipv4.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv4.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.minfo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.pppoe_id | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->ipv4.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->ipv4.orig.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv6.l2.amsdu | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.dest_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.dest_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.minfo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.pppoe_id | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.src_mac_hi | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.src_mac_lo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.vlan1 | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.vlan2 | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.w3info | 0 |
| PARAM_VALUE | 1 | entry->ipv6.l2.winfo | 0 |
| PARAM_VALUE | 1 | entry->ipv6.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.udf | 0 |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| MEM_ZERO | 1 | entry | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtk_flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_set_wdma() -> mtk_foe_entry_l2()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eth | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->flow_table.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc | 4096-ptr_max |
| PARAM_VALUE | 0 | eth->soc->ppe_num | 0-3 |
| PARAM_VALUE | 0 | eth->soc->version | 1-3 |
| PARAM_VALUE | 1 | entry | 2093178427172577280 |
| PARAM_VALUE | 1 | entry->bridge.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->bridge.vlan | 0-4095 |
| PARAM_VALUE | 1 | entry->ipv4.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv4.orig.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.ib2 | 0-16785407 |
| PARAM_VALUE | 1 | entry->ipv6.l2.etype | 0 |
| PARAM_VALUE | 1 | entry->ipv6.ports | 0,2779096320-2779096575 |
| PARAM_VALUE | 1 | entry->ipv6.udf | 0 |
| DATA_SOURCE | 0 | eth | $0 |
| DATA_SOURCE | 1 | entry | $1 |
| MEM_ZERO | 1 | entry | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtk_flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |