Lines Matching refs:foe

55 mtk_flow_set_ipv4_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe,  in mtk_flow_set_ipv4_addr()  argument
58 return mtk_foe_entry_set_ipv4_tuple(eth, foe, egress, in mtk_flow_set_ipv4_addr()
64 mtk_flow_set_ipv6_addr(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_ipv6_addr() argument
67 return mtk_foe_entry_set_ipv6_tuple(eth, foe, in mtk_flow_set_ipv6_addr()
187 mtk_flow_set_output_device(struct mtk_eth *eth, struct mtk_foe_entry *foe, in mtk_flow_set_output_device() argument
195 mtk_foe_entry_set_wdma(eth, foe, info.wdma_idx, info.queue, in mtk_flow_set_output_device()
230 mtk_foe_entry_set_dsa(eth, foe, dsa_port); in mtk_flow_set_output_device()
235 mtk_foe_entry_set_queue(eth, foe, queue); in mtk_flow_set_output_device()
238 mtk_foe_entry_set_pse_port(eth, foe, pse_port); in mtk_flow_set_output_device()
251 struct mtk_foe_entry foe; in mtk_flow_offload_replace() local
378 err = mtk_foe_entry_prepare(eth, &foe, offload_type, l4proto, 0, in mtk_flow_offload_replace()
404 mtk_flow_set_ipv4_addr(eth, &foe, &data, false); in mtk_flow_offload_replace()
415 mtk_flow_set_ipv6_addr(eth, &foe, &data); in mtk_flow_offload_replace()
445 err = mtk_flow_set_ipv4_addr(eth, &foe, &data, true); in mtk_flow_offload_replace()
451 foe.bridge.vlan = data.vlan_in; in mtk_flow_offload_replace()
457 mtk_foe_entry_set_vlan(eth, &foe, data.vlan.id); in mtk_flow_offload_replace()
460 mtk_foe_entry_set_pppoe(eth, &foe, data.pppoe.sid); in mtk_flow_offload_replace()
462 err = mtk_flow_set_output_device(eth, &foe, odev, data.eth.h_dest, in mtk_flow_offload_replace()
475 memcpy(&entry->data, &foe, sizeof(entry->data)); in mtk_flow_offload_replace()