Conntrack need not verify the checksum of incoming packets if it is validated
by DPDK physical NIC ports.
Also make use the DPDK rx checksum mask bits along with flags while validating
the reported hardware checksum state.

v5->v6
 (No functional changes in this version)
 - Rebased on master
 - Added Acked-by

v4->v5
 (No functional changes in this version)
 - Rebased on latest master.
 - Added Darrel as co-author and removed the 'suggested by' tag.
 - Moved the bad checksum validate functions from patch-2 to patch-1.

v3->v4
 - Rebased on latest master
 - Invoke 'checksum_valid' function only when checksum is not validated in
   hardware. Check the 'validate_checksum' flag first to invoke the
   'checksum_valid' function accordingly.

v2->v3
 - Rebased on latest master.
 - Updated the existing DPDK checksum validation function to honor hw offload
   masks along with checksum bits reported by hardware.
 - As suggested by Darrel, Introduced new functions to validate bad checksum
   reported by DPDK.
 - As proposed by Darrel, modified the conntrack checksum validation to check
   bad checksum first on received packets.
 - Modified conntrack to validate checksum in software only when it failed to
 - do in hardware. Changed the logic to validate bad and good checksum flags
   reported by hardware.
 - Added tag 'Suggested-by: Darrell Ball <db...@vmware.com>'.
 - Removed Acked, Tested by tags from Antonio as the changes has been
   modified afterwards.

v1->v2
 - Rebased on master
 - Added acked-by and tested-by tags in commit message


Sugesh Chandran (2):
  dp-packet : Update DPDK rx checksum validation functions.
  conntrack : Use Rx checksum offload feature on DPDK ports for
    conntrack.

 lib/conntrack.c | 63 ++++++++++++++++++++++++++++++++++++---------------------
 lib/dp-packet.h | 28 +++++++++++++++++++++++--
 2 files changed, 66 insertions(+), 25 deletions(-)

-- 
2.7.4

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to