Lines Matching refs:upspec
1263 static void setup_fte_upper_proto_match(struct mlx5_flow_spec *spec, struct upspec *upspec)
1265 switch (upspec->proto) {
1267 if (upspec->dport) {
1269 udp_dport, upspec->dport_mask);
1271 udp_dport, upspec->dport);
1273 if (upspec->sport) {
1275 udp_sport, upspec->sport_mask);
1277 udp_sport, upspec->sport);
1281 if (upspec->dport) {
1283 tcp_dport, upspec->dport_mask);
1285 tcp_dport, upspec->dport);
1287 if (upspec->sport) {
1289 tcp_sport, upspec->sport_mask);
1291 tcp_sport, upspec->sport);
1300 MLX5_SET(fte_match_set_lyr_2_4, spec->match_value, ip_protocol, upspec->proto);
1611 setup_fte_upper_proto_match(spec, &attrs->upspec);
1727 setup_fte_upper_proto_match(spec, &attrs->upspec);
1821 setup_fte_upper_proto_match(spec, &attrs->upspec);
1907 setup_fte_upper_proto_match(spec, &attrs->upspec);