Home
last modified time | relevance | path

Searched refs:ib1 (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c149 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 Dmtk_ppe_debugfs.c93 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 Dmtk_ppe.h240 u32 ib1; member
/linux/drivers/net/ethernet/airoha/
H A Dairoha_ppe.c291 hwe->ib1 = val; in airoha_ppe_foe_entry_prepare()
401 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv4_tuple()
435 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_entry_set_ipv6_tuple()
462 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_get_entry_hash()
554 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_foe_flow_stats_update()
651 int type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, e->data.ib1); in airoha_ppe_foe_compare_entry()
654 if ((hwe->ib1 ^ e->data.ib1) & AIROHA_FOE_IB1_BIND_UDP) in airoha_ppe_foe_compare_entry()
662 return !memcmp(&e->data.d, &hwe->d, len - sizeof(hwe->ib1)); in airoha_ppe_foe_compare_entry()
697 memcpy(&hwe->d, &e->d, sizeof(*hwe) - sizeof(hwe->ib1)); in airoha_ppe_foe_commit_entry()
700 e->ib1 &= ~AIROHA_FOE_IB1_BIND_TIMESTAMP; in airoha_ppe_foe_commit_entry()
[all …]
H A Dairoha_ppe_debugfs.c75 state = FIELD_GET(AIROHA_FOE_IB1_BIND_STATE, hwe->ib1); in airoha_ppe_debugfs_foe_show()
83 type = FIELD_GET(AIROHA_FOE_IB1_BIND_PACKET_TYPE, hwe->ib1); in airoha_ppe_debugfs_foe_show()
159 l2->vlan1, l2->vlan2, hwe->ib1, ib2, in airoha_ppe_debugfs_foe_show()
H A Dairoha_eth.h412 u32 ib1; member