Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_vxlan.c24 struct flow_match_ports enc_ports; in mlx5e_tc_tun_check_udp_dport_vxlan() local
29 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_check_udp_dport_vxlan()
34 be16_to_cpu(enc_ports.key->dst))) { in mlx5e_tc_tun_check_udp_dport_vxlan()
39 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.c947 struct flow_match_ports enc_ports; in mlx5e_tc_tun_parse_udp_ports() local
959 flow_rule_match_enc_ports(rule, &enc_ports); in mlx5e_tc_tun_parse_udp_ports()
961 if (memchr_inv(&enc_ports.mask->dst, 0xff, in mlx5e_tc_tun_parse_udp_ports()
962 sizeof(enc_ports.mask->dst))) { in mlx5e_tc_tun_parse_udp_ports()
976 ntohs(enc_ports.mask->dst)); in mlx5e_tc_tun_parse_udp_ports()
978 ntohs(enc_ports.key->dst)); in mlx5e_tc_tun_parse_udp_ports()
986 ntohs(enc_ports.mask->src)); in mlx5e_tc_tun_parse_udp_ports()
988 ntohs(enc_ports.key->src)); in mlx5e_tc_tun_parse_udp_ports()
/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()
/drivers/net/ethernet/sfc/
Dtc.c425 MAP_ENC_KEY_AND_MASK(PORTS, ports, enc_ports, src, enc_sport); in efx_tc_flower_parse_match()
426 MAP_ENC_KEY_AND_MASK(PORTS, ports, enc_ports, dst, enc_dport); in efx_tc_flower_parse_match()