DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/2] common/iavf: enable hash calculation based on IPv4 checksum
@ 2021-09-09  6:53 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
  0 siblings, 2 replies; 8+ messages in thread
From: Alvin Zhang @ 2021-09-09  6:53 UTC (permalink / raw)
  To: qi.z.zhang, junfeng.guo; +Cc: dev, Alvin Zhang

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>
---
 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 1cf0866..a14d140 100644
--- a/drivers/common/iavf/virtchnl.h
+++ b/drivers/common/iavf/virtchnl.h
@@ -1574,6 +1574,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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-24 11:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-09  6:53 [dpdk-dev] [PATCH 1/2] common/iavf: enable hash calculation based on IPv4 checksum 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   ` [dpdk-dev] [PATCH v3 1/2] common/iavf: enable hash calculation based on IPv4 checksum Alvin Zhang
2021-09-24  9:57     ` [dpdk-dev] [PATCH v3 2/2] net/iavf: support IPv4/L4 checksum RSS offload 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

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).