mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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: e8a2b5bf92
("netdev-dpdk: implement flow offload with rte flow")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roni Bar Yanai <roniba@mellanox.com>
Acked-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
864852a062
commit
07ac8f6a5a
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user