From: Haiyue Wang <haiyue.wang@intel.com>
To: dev@dpdk.org
Cc: Alvin Zhang <alvinx.zhang@intel.com>,
Haiyue Wang <haiyue.wang@intel.com>,
Jingjing Wu <jingjing.wu@intel.com>,
Beilei Xing <beilei.xing@intel.com>
Subject: [dpdk-dev] [PATCH v1 2/4] common/iavf: add proto hdr field support for L4 checksum
Date: Tue, 17 Aug 2021 15:16:50 +0800 [thread overview]
Message-ID: <20210817071652.9939-2-haiyue.wang@intel.com> (raw)
In-Reply-To: <20210817071652.9939-1-haiyue.wang@intel.com>
From: Alvin Zhang <alvinx.zhang@intel.com>
Add TCP/UDP/SCTP header checksum field selectors.
Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
Signed-off-by: Haiyue Wang <haiyue.wang@intel.com>
---
drivers/common/iavf/virtchnl.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h
index 9fa5e3e891..c56c668cff 100644
--- a/drivers/common/iavf/virtchnl.h
+++ b/drivers/common/iavf/virtchnl.h
@@ -1598,14 +1598,17 @@ enum virtchnl_proto_hdr_field {
VIRTCHNL_PROTO_HDR_TCP_SRC_PORT =
PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_TCP),
VIRTCHNL_PROTO_HDR_TCP_DST_PORT,
+ VIRTCHNL_PROTO_HDR_TCP_CHKSUM,
/* UDP */
VIRTCHNL_PROTO_HDR_UDP_SRC_PORT =
PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_UDP),
VIRTCHNL_PROTO_HDR_UDP_DST_PORT,
+ VIRTCHNL_PROTO_HDR_UDP_CHKSUM,
/* SCTP */
VIRTCHNL_PROTO_HDR_SCTP_SRC_PORT =
PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_SCTP),
VIRTCHNL_PROTO_HDR_SCTP_DST_PORT,
+ VIRTCHNL_PROTO_HDR_SCTP_CHKSUM,
/* GTPU_IP */
VIRTCHNL_PROTO_HDR_GTPU_IP_TEID =
PROTO_HDR_FIELD_START(VIRTCHNL_PROTO_HDR_GTPU_IP),
--
2.33.0
next prev parent reply other threads:[~2021-08-17 7:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 7:16 [dpdk-dev] [PATCH v1 1/4] common/iavf: add QFI fields for GTPU UL and DL Haiyue Wang
2021-08-17 7:16 ` Haiyue Wang [this message]
2021-08-29 11:38 ` [dpdk-dev] [PATCH v1 2/4] common/iavf: add proto hdr field support for L4 checksum Zhang, Qi Z
2021-09-03 10:43 ` Ferruh Yigit
2021-08-17 7:16 ` [dpdk-dev] [PATCH v1 3/4] common/iavf: remove the FDIR query opcode Haiyue Wang
2021-08-29 11:38 ` Zhang, Qi Z
2021-08-17 7:16 ` [dpdk-dev] [PATCH v1 4/4] common/iavf: update the driver version Haiyue Wang
2021-08-29 11:38 ` Zhang, Qi Z
2021-08-29 11:37 ` [dpdk-dev] [PATCH v1 1/4] common/iavf: add QFI fields for GTPU UL and DL Zhang, Qi Z
2021-09-03 10:41 ` Ferruh Yigit
2021-09-06 5:51 ` [dpdk-dev] [PATCH v2 0/4] iavf base code update Haiyue Wang
2021-09-06 5:51 ` [dpdk-dev] [PATCH v2 1/4] common/iavf: add QFI fields for GTPU UL and DL Haiyue Wang
2021-09-06 5:51 ` [dpdk-dev] [PATCH v2 2/4] common/iavf: add proto hdr field support for L4 checksum Haiyue Wang
2021-09-06 5:51 ` [dpdk-dev] [PATCH v2 3/4] common/iavf: remove the FDIR query opcode Haiyue Wang
2021-09-06 5:51 ` [dpdk-dev] [PATCH v2 4/4] common/iavf: update the driver version Haiyue Wang
2021-09-07 7:33 ` [dpdk-dev] [PATCH v3 0/4] iavf base code update Haiyue Wang
2021-09-07 7:33 ` [dpdk-dev] [PATCH v3 1/4] common/iavf: add QFI fields for GTPU UL and DL Haiyue Wang
2021-09-07 7:33 ` [dpdk-dev] [PATCH v3 2/4] common/iavf: enable hash calculation based on L4 checksum Haiyue Wang
2021-09-07 7:33 ` [dpdk-dev] [PATCH v3 3/4] common/iavf: remove the FDIR query opcode Haiyue Wang
2021-09-07 7:33 ` [dpdk-dev] [PATCH v3 4/4] common/iavf: update the driver version Haiyue Wang
2021-09-13 0:46 ` [dpdk-dev] [PATCH v3 0/4] iavf base code update 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=20210817071652.9939-2-haiyue.wang@intel.com \
--to=haiyue.wang@intel.com \
--cc=alvinx.zhang@intel.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=jingjing.wu@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).