Searched refs:enc_ports (Results 1 – 4 of 4) sorted by relevance
23 struct flow_match_ports enc_ports; in mlx5e_tc_tun_check_udp_dport_vxlan() local28 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()
27 struct flow_match_ports enc_ports; in mlx5e_tc_tun_check_udp_dport_geneve() local32 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()
949 struct flow_match_ports enc_ports; in mlx5e_tc_tun_parse_udp_ports() local961 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()
173 nfp_flower_calc_udp_tun_layer(struct flow_dissector_key_ports *enc_ports, in nfp_flower_calc_udp_tun_layer() argument182 switch (enc_ports->dst) { in nfp_flower_calc_udp_tun_layer()319 struct flow_match_ports enc_ports; in nfp_flower_calculate_key_layers() local387 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()