Searched refs:ib1 (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_ppe.c | 149 switch (mtk_get_ib1_pkt_type(eth, e->ib1)) { in mtk_ppe_hash_entry() 187 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_l2() 201 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_ib2() 226 entry->ib1 = val; in mtk_foe_entry_prepare() 237 entry->ib1 = val; in mtk_foe_entry_prepare() 302 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_set_ipv4_tuple() 342 int type = mtk_get_ib1_pkt_type(eth, entry->ib1); in mtk_foe_entry_set_ipv6_tuple() 377 if (!(entry->ib1 & mtk_get_ib1_vlan_layer_mask(eth))) in mtk_foe_entry_set_dsa() 378 entry->ib1 |= mtk_prep_ib1_vlan_layer(eth, 1); in mtk_foe_entry_set_dsa() 382 entry->ib1 &= ~mtk_get_ib1_vlan_tag_mask(eth); in mtk_foe_entry_set_dsa() [all …]
|
| H A D | mtk_ppe_debugfs.c | 93 state = FIELD_GET(MTK_FOE_IB1_STATE, entry->ib1); in mtk_ppe_debugfs_foe_show() 102 type = mtk_get_ib1_pkt_type(ppe->eth, entry->ib1); in mtk_ppe_debugfs_foe_show() 163 l2->vlan1, l2->vlan2, entry->ib1, ib2, in mtk_ppe_debugfs_foe_show()
|
| H A D | mtk_ppe.h | 240 u32 ib1; member
|
| /linux/drivers/net/ethernet/airoha/ |
| H A D | airoha_ppe.c | 289 hwe->ib1 = val; in airoha_ppe_foe_entry_prepare() 399 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv4_tuple() 433 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv6_tuple() 460 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_get_entry_hash() 552 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_flow_stats_update() 649 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, e->data.ib1); in airoha_ppe_foe_compare_entry() 652 if ((hwe->ib1 ^ e->data.ib1) & AIROHA_FOE_IB1_BIND_UDP) in airoha_ppe_foe_compare_entry() 660 return !memcmp(&e->data.d, &hwe->d, len - sizeof(hwe->ib1)); in airoha_ppe_foe_compare_entry() 695 memcpy(&hwe->d, &e->d, sizeof(*hwe) - sizeof(hwe->ib1)); in airoha_ppe_foe_commit_entry() 698 e->ib1 &= ~AIROHA_FOE_IB1_BIND_TIMESTAMP; in airoha_ppe_foe_commit_entry() [all …]
|