netdev-offload-dpdk: Support partial TCP/UDP port matching.
The cited commit failed partial matching of TCP/UDP port matching,
preventing such offload of supporting HWs. Remove this failure.
Fixes: ("netdev-dpdk: implement flow offload with rte flow")
Acked-by: Sriharsha Basavapatna
@@ -622,11 +622,6 @@ parse_flow_match(struct flow_patterns *patterns,
return -1;
}
- if ((match->wc.masks.tp_src && match->wc.masks.tp_src != OVS_BE16_MAX) ||
- (match->wc.masks.tp_dst && match->wc.masks.tp_dst != OVS_BE16_MAX)) {
- return -1;
- }
-
if (proto == IPPROTO_TCP) {
struct rte_flow_item_tcp *spec, *mask;
