I added a “Reported-at:” in a V5 Darrell
-----Original Message----- From: <[email protected]> on behalf of Darrell Ball <[email protected]> Date: Tuesday, August 8, 2017 at 4:39 PM To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]> Subject: [ovs-dev] [patch_v4] dp-packet: Reset DPDK HWOL checksum flags on init. Reset the DPDK HWOL checksum flags in dp_packet_init_. The new HWOL bad checksum flag is uninitialized on non-dpdk ports and this is noticed as test failures using netdev-dummy ports where the bad checksum flag is checked. Fixes: 7451af618e0d ("dp-packet : Update DPDK rx checksum validation functions.") CC: Sugesh Chandran <[email protected]> Signed-off-by: Darrell Ball <[email protected]> --- lib/dp-packet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dp-packet.c b/lib/dp-packet.c index 67aa406..4926993 100644 --- a/lib/dp-packet.c +++ b/lib/dp-packet.c @@ -31,6 +31,7 @@ dp_packet_init__(struct dp_packet *b, size_t allocated, enum dp_packet_source so dp_packet_reset_offsets(b); pkt_metadata_init(&b->md, 0); dp_packet_rss_invalidate(b); + reset_dp_packet_checksum_ol_flags(b); dp_packet_reset_cutlen(b); /* By default assume the packet type to be Ethernet. */ b->packet_type = htonl(PT_ETH); -- 1.9.1 _______________________________________________ dev mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=BVhFA09CGX7JQ5Ih-uZnsw&m=olPXgBEvjoYVfBczmATpU3EkoVYs9lGzLUteUR78ABw&s=LNcEHbGcQK89WnumUqZHp5QKJXU-jO4j1bMf0L1vOUA&e= _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
