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()
518 struct flow_match_ports enc_ports; in mlx5e_tc_tun_parse_udp_ports() local530 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_parse_udp_ports()532 if (memchr_inv(&enc_ports.mask->dst, 0xff, in mlx5e_tc_tun_parse_udp_ports()533 sizeof(enc_ports.mask->dst))) { in mlx5e_tc_tun_parse_udp_ports()547 ntohs(enc_ports.mask->dst)); in mlx5e_tc_tun_parse_udp_ports()549 ntohs(enc_ports.key->dst)); in mlx5e_tc_tun_parse_udp_ports()557 ntohs(enc_ports.mask->src)); in mlx5e_tc_tun_parse_udp_ports()559 ntohs(enc_ports.key->src)); in mlx5e_tc_tun_parse_udp_ports()
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()
166 nfp_flower_calc_udp_tun_layer(struct flow_dissector_key_ports *enc_ports, in nfp_flower_calc_udp_tun_layer() argument175 switch (enc_ports->dst) { in nfp_flower_calc_udp_tun_layer()272 struct flow_match_ports enc_ports; in nfp_flower_calculate_key_layers() local315 flow_rule_match_enc_ports(rule, &enc_ports); in nfp_flower_calculate_key_layers()316 if (enc_ports.mask->dst != cpu_to_be16(~0)) { in nfp_flower_calculate_key_layers()321 err = nfp_flower_calc_udp_tun_layer(enc_ports.key, in nfp_flower_calculate_key_layers()