Home
last modified time | relevance | path

Searched refs:enc_ports (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c23 struct flow_match_ports enc_ports; in mlx5e_tc_tun_check_udp_dport_vxlan() local
28 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_check_udp_dport_vxlan()
33 be16_to_cpu(enc_ports.key->dst))) { in mlx5e_tc_tun_check_udp_dport_vxlan()
38 be16_to_cpu(enc_ports.key->dst)); in mlx5e_tc_tun_check_udp_dport_vxlan()
Dtc_tun_geneve.c27 struct flow_match_ports enc_ports; in mlx5e_tc_tun_check_udp_dport_geneve() local
32 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_check_udp_dport_geneve()
37 if (be16_to_cpu(enc_ports.key->dst) != GENEVE_UDP_PORT) { in mlx5e_tc_tun_check_udp_dport_geneve()
42 be16_to_cpu(enc_ports.key->dst)); in mlx5e_tc_tun_check_udp_dport_geneve()
Dtc_tun.c949 struct flow_match_ports enc_ports; in mlx5e_tc_tun_parse_udp_ports() local
961 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_parse_udp_ports()
963 if (memchr_inv(&enc_ports.mask->dst, 0xff, in mlx5e_tc_tun_parse_udp_ports()
964 sizeof(enc_ports.mask->dst))) { in mlx5e_tc_tun_parse_udp_ports()
978 ntohs(enc_ports.mask->dst)); in mlx5e_tc_tun_parse_udp_ports()
980 ntohs(enc_ports.key->dst)); in mlx5e_tc_tun_parse_udp_ports()
988 ntohs(enc_ports.mask->src)); in mlx5e_tc_tun_parse_udp_ports()
990 ntohs(enc_ports.key->src)); in mlx5e_tc_tun_parse_udp_ports()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/
Doffload.c173 nfp_flower_calc_udp_tun_layer(struct flow_dissector_key_ports *enc_ports, in nfp_flower_calc_udp_tun_layer() argument
182 switch (enc_ports->dst) { in nfp_flower_calc_udp_tun_layer()
319 struct flow_match_ports enc_ports; in nfp_flower_calculate_key_layers() local
387 flow_rule_match_enc_ports(rule, &enc_ports); in nfp_flower_calculate_key_layers()
388 if (enc_ports.mask->dst != cpu_to_be16(~0)) { in nfp_flower_calculate_key_layers()
393 err = nfp_flower_calc_udp_tun_layer(enc_ports.key, in nfp_flower_calculate_key_layers()