Searched refs:upspec (Results 1 – 3 of 3) sorted by relevance
56 struct upspec { struct94 struct upspec upspec; member287 struct upspec upspec; member
389 attrs->upspec.dport = ntohs(x->sel.dport); in mlx5e_ipsec_build_accel_xfrm_attrs()390 attrs->upspec.dport_mask = ntohs(x->sel.dport_mask); in mlx5e_ipsec_build_accel_xfrm_attrs()391 attrs->upspec.sport = ntohs(x->sel.sport); in mlx5e_ipsec_build_accel_xfrm_attrs()392 attrs->upspec.sport_mask = ntohs(x->sel.sport_mask); in mlx5e_ipsec_build_accel_xfrm_attrs()393 attrs->upspec.proto = x->sel.proto; in mlx5e_ipsec_build_accel_xfrm_attrs()1131 attrs->upspec.dport = ntohs(sel->dport); in mlx5e_ipsec_build_accel_pol_attrs()1132 attrs->upspec.dport_mask = ntohs(sel->dport_mask); in mlx5e_ipsec_build_accel_pol_attrs()1133 attrs->upspec.sport = ntohs(sel->sport); in mlx5e_ipsec_build_accel_pol_attrs()1134 attrs->upspec.sport_mask = ntohs(sel->sport_mask); in mlx5e_ipsec_build_accel_pol_attrs()1135 attrs->upspec.proto = sel->proto; in mlx5e_ipsec_build_accel_pol_attrs()
1263 static void setup_fte_upper_proto_match(struct mlx5_flow_spec *spec, struct upspec *upspec) in setup_fte_upper_proto_match() argument1265 switch (upspec->proto) { in setup_fte_upper_proto_match()1267 if (upspec->dport) { in setup_fte_upper_proto_match()1269 udp_dport, upspec->dport_mask); in setup_fte_upper_proto_match()1271 udp_dport, upspec->dport); in setup_fte_upper_proto_match()1273 if (upspec->sport) { in setup_fte_upper_proto_match()1275 udp_sport, upspec->sport_mask); in setup_fte_upper_proto_match()1277 udp_sport, upspec->sport); in setup_fte_upper_proto_match()1281 if (upspec->dport) { in setup_fte_upper_proto_match()1283 tcp_dport, upspec->dport_mask); in setup_fte_upper_proto_match()[all …]