2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00

netdev-offload-dpdk: Don't ignore frags as they are handled.

Signed-off-by: Eli Britstein <elibr@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Tested-by: Emma Finn <emma.finn@intel.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
Eli Britstein 2021-08-16 16:53:20 +03:00 committed by Ilya Maximets
parent 1318929f90
commit e05e1e3c05
2 changed files with 2 additions and 5 deletions

2
NEWS
View File

@ -8,6 +8,8 @@ Post-v2.16.0
by default. 'other_config:dpdk-socket-limit' can be set equal to
the 'other_config:dpdk-socket-mem' to preserve the legacy memory
limiting behavior.
* Add hardware offload support for matching IPv4/IPv6 frag types
(experimental).
v2.16.0 - 16 Aug 2021

View File

@ -1242,11 +1242,6 @@ parse_flow_match(struct netdev *netdev,
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)) {