From: Alvin Zhang <alvinx.zhang@intel.com>
To: qi.z.zhang@intel.com
Cc: dev@dpdk.org, Alvin Zhang <alvinx.zhang@intel.com>
Subject: [dpdk-dev] [PATCH v3 1/2] common/iavf: enable hash calculation based on IPv4 checksum
Date: Fri, 24 Sep 2021 17:57:28 +0800 [thread overview]
Message-ID: <20210924095729.7408-1-alvinx.zhang@intel.com> (raw)
In-Reply-To: <20210924090904.5412-1-alvinx.zhang@intel.com>
Add IPv4 header checksum field selector, it can be used in creating
FDIR or RSS rules related to IPv4 header checksum.
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
---
v2: rebase to dpdk-next-net-intel
---
drivers/common/iavf/virtchnl.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index 83f51d8..067f715 100644
--- a/drivers/common/iavf/virtchnl.h
+++ b/drivers/common/iavf/virtchnl.h
@@ -1571,6 +1571,7 @@ enum virtchnl_proto_hdr_field {
VIRTCHNL_PROTO_HDR_IPV4_DSCP,
VIRTCHNL_PROTO_HDR_IPV4_TTL,
VIRTCHNL_PROTO_HDR_IPV4_PROT,
+ VIRTCHNL_PROTO_HDR_IPV4_CHKSUM,
/* IPV6 */
VIRTCHNL_PROTO_HDR_IPV6_SRC =
PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_IPV6),
--
1.8.3.1
next prev parent reply other threads:[~2021-09-24 9:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-09 6:53 [dpdk-dev] [PATCH " Alvin Zhang
2021-09-09 6:53 ` [dpdk-dev] [PATCH 2/2] net/iavf: support IPv4/L4 checksum RSS offload Alvin Zhang
2021-09-24 9:09 ` [dpdk-dev] [PATCH v2 1/2] common/iavf: enable hash calculation based on IPv4 checksum Alvin Zhang
2021-09-24 9:09 ` [dpdk-dev] [PATCH v2 2/2] net/iavf: support IPv4/L4 checksum RSS offload Alvin Zhang
2021-09-24 9:57 ` Alvin Zhang [this message]
2021-09-24 9:57 ` [dpdk-dev] [PATCH v3 " Alvin Zhang
2021-09-24 10:57 ` Zhang, Qi Z
2021-09-24 11:04 ` [dpdk-dev] [PATCH v3 1/2] common/iavf: enable hash calculation based on IPv4 checksum Zhang, Qi Z
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210924095729.7408-1-alvinx.zhang@intel.com \
--to=alvinx.zhang@intel.com \
--cc=dev@dpdk.org \
--cc=qi.z.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).