diff mbox series

[ovs-dev,4/4] netdev-offload-dpdk: Don't ignore frags as they are handled

Message ID 20210103115523.4381-5-elibr@nvidia.com
State New
Headers show
Series netdev datapath offload frag matching | expand

Commit Message

Eli Britstein Jan. 3, 2021, 11:55 a.m. UTC
Signed-off-by: Eli Britstein <elibr@nvidia.com>
---
 NEWS                      | 2 ++
 lib/netdev-offload-dpdk.c | 5 -----
 2 files changed, 2 insertions(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/NEWS b/NEWS
index d357da31d..014de59c5 100644
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@  Post-v2.14.0
    - DPDK:
      * Removed support for vhost-user dequeue zero-copy.
      * Add support for DPDK 20.11.
+     * Add hardware offload support for matching IPv4/IPv6 frag types
+       (experimental).
    - Userspace datapath:
      * Add the 'pmd' option to "ovs-appctl dpctl/dump-flows", which
        restricts a flow dump to a single PMD thread if set.
diff --git a/lib/netdev-offload-dpdk.c b/lib/netdev-offload-dpdk.c
index 84aeb26b9..721946dc4 100644
--- a/lib/netdev-offload-dpdk.c
+++ b/lib/netdev-offload-dpdk.c
@@ -869,11 +869,6 @@  parse_flow_match(struct flow_patterns *patterns,
         proto = spec->hdr.next_proto_id &
                 mask->hdr.next_proto_id;
     }
-    /* If fragmented, then don't HW accelerate - for now. */
-    if (match->wc.masks.nw_frag & match->flow.nw_frag) {
-        return -1;
-    }
-    consumed_masks->nw_frag = 0;
 
     /* IP v6 */
     if (match->flow.dl_type == htons(ETH_TYPE_IPV6)) {