[ovs-git] [openvswitch/ovs] 3d0c4b: dp-packet: Reset DPDK hwol flags on init.
GitHub
noreply at github.com
Thu Aug 10 20:41:59 UTC 2017
Branch: refs/heads/branch-2.8
Home: https://github.com/openvswitch/ovs
Commit: 3d0c4b1b2ec36f64d321db18441a69aaede7dfc0
https://github.com/openvswitch/ovs/commit/3d0c4b1b2ec36f64d321db18441a69aaede7dfc0
Author: Darrell Ball <dlu998 at gmail.com>
Date: 2017-08-10 (Thu, 10 Aug 2017)
Changed paths:
M lib/dp-packet.c
M lib/dp-packet.h
M lib/netdev-dpdk.c
Log Message:
-----------
dp-packet: Reset DPDK hwol flags on init.
Reset the DPDK hwol flags in dp_packet_init_. The new hwol bad checksum
flag is uninitialized for non-dpdk ports and this is noticed as test
failures using netdev-dummy ports, when built with the --with-dpdk
flag set. Hence, in this case, packets may be falsely marked as having a
bad checksum. The existing APIs are simplified at the same time by
making them specific to either DPDK or otherwise; they also now
manage a single field.
Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2017-August/045081.html
Fixes: 7451af618e0d ("dp-packet : Update DPDK rx checksum validation functions.")
CC: Sugesh Chandran <sugesh.chandran at intel.com>
Signed-off-by: Darrell Ball <dlu998 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list