Searched refs:upspec (Results 1 – 3 of 3) sorted by relevance
55 struct upspec { struct93 struct upspec upspec; member282 struct upspec upspec; member
350 attrs->upspec.dport = ntohs(x->sel.dport); in mlx5e_ipsec_build_accel_xfrm_attrs()351 attrs->upspec.dport_mask = ntohs(x->sel.dport_mask); in mlx5e_ipsec_build_accel_xfrm_attrs()352 attrs->upspec.sport = ntohs(x->sel.sport); in mlx5e_ipsec_build_accel_xfrm_attrs()353 attrs->upspec.sport_mask = ntohs(x->sel.sport_mask); in mlx5e_ipsec_build_accel_xfrm_attrs()354 attrs->upspec.proto = x->sel.proto; in mlx5e_ipsec_build_accel_xfrm_attrs()1035 attrs->upspec.dport = ntohs(sel->dport); in mlx5e_ipsec_build_accel_pol_attrs()1036 attrs->upspec.dport_mask = ntohs(sel->dport_mask); in mlx5e_ipsec_build_accel_pol_attrs()1037 attrs->upspec.sport = ntohs(sel->sport); in mlx5e_ipsec_build_accel_pol_attrs()1038 attrs->upspec.sport_mask = ntohs(sel->sport_mask); in mlx5e_ipsec_build_accel_pol_attrs()1039 attrs->upspec.proto = sel->proto; in mlx5e_ipsec_build_accel_pol_attrs()
922 static void setup_fte_upper_proto_match(struct mlx5_flow_spec *spec, struct upspec *upspec) in setup_fte_upper_proto_match() argument924 switch (upspec->proto) { in setup_fte_upper_proto_match()926 if (upspec->dport) { in setup_fte_upper_proto_match()928 udp_dport, upspec->dport_mask); in setup_fte_upper_proto_match()930 udp_dport, upspec->dport); in setup_fte_upper_proto_match()932 if (upspec->sport) { in setup_fte_upper_proto_match()934 udp_sport, upspec->sport_mask); in setup_fte_upper_proto_match()936 udp_sport, upspec->sport); in setup_fte_upper_proto_match()940 if (upspec->dport) { in setup_fte_upper_proto_match()942 tcp_dport, upspec->dport_mask); in setup_fte_upper_proto_match()[all …]