[ovs-dev] [PATCH v4 0/2] conntrack : Add support for rx checksum offload.

Sugesh Chandran sugesh.chandran at intel.com
Mon Jul 10 12:31:27 UTC 2017


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.

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 <dball at 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 the rx checksum validation to use DPDK checksum
    masks.
  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



More information about the dev mailing list