Lines Matching refs:mtk_foe_entry
144 static u32 mtk_ppe_hash_entry(struct mtk_eth *eth, struct mtk_foe_entry *e) in mtk_ppe_hash_entry()
185 mtk_foe_entry_l2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_l2()
199 mtk_foe_entry_ib2(struct mtk_eth *eth, struct mtk_foe_entry *entry) in mtk_foe_entry_ib2()
212 int mtk_foe_entry_prepare(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_prepare()
280 struct mtk_foe_entry *entry, u8 port) in mtk_foe_entry_set_pse_port()
298 struct mtk_foe_entry *entry, bool egress, in mtk_foe_entry_set_ipv4_tuple()
338 struct mtk_foe_entry *entry, in mtk_foe_entry_set_ipv6_tuple()
370 int mtk_foe_entry_set_dsa(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_dsa()
387 int mtk_foe_entry_set_vlan(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_vlan()
412 int mtk_foe_entry_set_pppoe(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_pppoe()
427 int mtk_foe_entry_set_wdma(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_wdma()
464 int mtk_foe_entry_set_queue(struct mtk_eth *eth, struct mtk_foe_entry *entry, in mtk_foe_entry_set_queue()
484 struct mtk_foe_entry *data) in mtk_flow_entry_match()
493 len = offsetof(struct mtk_foe_entry, ipv6._rsv); in mtk_flow_entry_match()
495 len = offsetof(struct mtk_foe_entry, ipv4.ib2); in mtk_flow_entry_match()
518 struct mtk_foe_entry *hwe = mtk_foe_get_entry(ppe, entry->hash); in __mtk_foe_entry_clear()
559 struct mtk_foe_entry *hwe; in mtk_flow_entry_update_l2()
590 struct mtk_foe_entry foe = {}; in mtk_flow_entry_update()
591 struct mtk_foe_entry *hwe; in mtk_flow_entry_update()
617 __mtk_foe_entry_commit(struct mtk_ppe *ppe, struct mtk_foe_entry *entry, in __mtk_foe_entry_commit()
622 struct mtk_foe_entry *hwe; in __mtk_foe_entry_commit()
703 struct mtk_foe_entry foe = {}, *hwe; in mtk_foe_entry_commit_subflow()
742 struct mtk_foe_entry *hwe = mtk_foe_get_entry(ppe, hash); in __mtk_ppe_check_skb()
968 struct mtk_foe_entry *hwe; in mtk_ppe_init_foe_table()
1085 struct mtk_foe_entry *hwe = mtk_foe_get_entry(ppe, i); in mtk_ppe_stop()