ethdev: add IPv4 and L4 checksum RSS offload types
authorAlvin Zhang <alvinx.zhang@intel.com>
Wed, 15 Sep 2021 05:47:04 +0000 (13:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Sep 2021 08:25:42 +0000 (10:25 +0200)
commit81b0fbb85b3a69912f3fa9be8ed73538ac9df68b
tree0436df218645cd7691d6c2957093aff676828a74
parentccf0f002d2ec5455102c0259f44535944aa4b154
ethdev: add IPv4 and L4 checksum RSS offload types

This patch defines new RSS offload types for IPv4 and
L4(TCP/UDP/SCTP) checksum, which are required when users want
to distribute packets based on the IPv4 or L4 checksum field.

For example "flow create 0 ingress pattern eth / ipv4 / end
actions rss types ipv4-chksum end queues end / end", this flow
causes all matching packets to be distributed to queues on
basis of IPv4 checksum.

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Aman Deep Singh <aman.deep.singh@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/config.c
doc/guides/rel_notes/release_21_11.rst
lib/ethdev/rte_ethdev.h