mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +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:
parent
1318929f90
commit
e05e1e3c05
2
NEWS
2
NEWS
@ -8,6 +8,8 @@ Post-v2.16.0
|
|||||||
by default. 'other_config:dpdk-socket-limit' can be set equal to
|
by default. 'other_config:dpdk-socket-limit' can be set equal to
|
||||||
the 'other_config:dpdk-socket-mem' to preserve the legacy memory
|
the 'other_config:dpdk-socket-mem' to preserve the legacy memory
|
||||||
limiting behavior.
|
limiting behavior.
|
||||||
|
* Add hardware offload support for matching IPv4/IPv6 frag types
|
||||||
|
(experimental).
|
||||||
|
|
||||||
|
|
||||||
v2.16.0 - 16 Aug 2021
|
v2.16.0 - 16 Aug 2021
|
||||||
|
@ -1242,11 +1242,6 @@ parse_flow_match(struct netdev *netdev,
|
|||||||
proto = spec->hdr.next_proto_id &
|
proto = spec->hdr.next_proto_id &
|
||||||
mask->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 */
|
/* IP v6 */
|
||||||
if (match->flow.dl_type == htons(ETH_TYPE_IPV6)) {
|
if (match->flow.dl_type == htons(ETH_TYPE_IPV6)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user