git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e495e93
)
common/iavf: enable hash calculation based on IPv4 checksum
author
Alvin Zhang
<alvinx.zhang@intel.com>
Fri, 24 Sep 2021 09:57:28 +0000
(17:57 +0800)
committer
Qi Zhang
<qi.z.zhang@intel.com>
Fri, 24 Sep 2021 11:05:19 +0000
(13:05 +0200)
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>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/common/iavf/virtchnl.h
patch
|
blob
|
history
diff --git
a/drivers/common/iavf/virtchnl.h
b/drivers/common/iavf/virtchnl.h
index
83f51d8
..
067f715
100644
(file)
--- 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),