Home
last modified time | relevance | path

Searched refs:pre_tun_rule (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c571 flow_pay->pre_tun_rule.dev = NULL; in nfp_flower_allocate_new()
1147 flow->pre_tun_rule.vlan_tci = cpu_to_be16(vlan_tci); in nfp_flower_validate_pre_tun_rule()
1150 flow->pre_tun_rule.vlan_tci = cpu_to_be16(0xffff); in nfp_flower_validate_pre_tun_rule()
1174 flow->pre_tun_rule.is_ipv6 = true; in nfp_flower_validate_pre_tun_rule()
1176 flow->pre_tun_rule.is_ipv6 = false; in nfp_flower_validate_pre_tun_rule()
1215 if (memcmp(&mac->mac_dst[0], flow->pre_tun_rule.dev->dev_addr, 6)) { in nfp_flower_validate_pre_tun_rule()
1222 memcpy(&flow->pre_tun_rule.loc_mac, &mac->mac_dst[0], ETH_ALEN); in nfp_flower_validate_pre_tun_rule()
1223 memcpy(&flow->pre_tun_rule.rem_mac, &mac->mac_src[0], ETH_ALEN); in nfp_flower_validate_pre_tun_rule()
1262 flow->pre_tun_rule.vlan_tci = cpu_to_be16(vlan_tci); in nfp_flower_validate_pre_tun_rule()
1263 flow->pre_tun_rule.vlan_tpid = cpu_to_be16(vlan_tpid); in nfp_flower_validate_pre_tun_rule()
[all …]
Dtunnel_conf.c312 if (flow_pay->pre_tun_rule.is_ipv6 != neigh->is_ipv6) in nfp_tun_mutual_link()
329 if (memcmp(flow_pay->pre_tun_rule.loc_mac, in nfp_tun_mutual_link()
331 memcmp(flow_pay->pre_tun_rule.rem_mac, in nfp_tun_mutual_link()
338 ext->vlan_tci = flow_pay->pre_tun_rule.vlan_tci; in nfp_tun_mutual_link()
339 ext->vlan_tpid = flow_pay->pre_tun_rule.vlan_tpid; in nfp_tun_mutual_link()
1339 internal_dev = flow->pre_tun_rule.dev; in nfp_flower_xmit_pre_tun_flow()
1340 payload.vlan_tci = flow->pre_tun_rule.vlan_tci; in nfp_flower_xmit_pre_tun_flow()
1364 flow->pre_tun_rule.vlan_tci = payload.vlan_tci; in nfp_flower_xmit_pre_tun_flow()
1365 flow->pre_tun_rule.port_idx = payload.port_idx; in nfp_flower_xmit_pre_tun_flow()
1390 payload.vlan_tci = flow->pre_tun_rule.vlan_tci; in nfp_flower_xmit_pre_tun_del_flow()
[all …]
Dmetadata.c348 if (!nfp_flow->pre_tun_rule.dev && in nfp_compile_flow_metadata()
376 if (!nfp_flow->pre_tun_rule.dev) in nfp_compile_flow_metadata()
410 if (!nfp_flow->pre_tun_rule.dev) in nfp_modify_flow_metadata()
Dmain.h437 } pre_tun_rule; member
Daction.c229 if (nfp_flow->pre_tun_rule.dev || !pkt_host) { in nfp_fl_output()
234 nfp_flow->pre_tun_rule.dev = out_dev; in nfp_fl_output()