From: Alvin Zhang Date: Fri, 24 Sep 2021 09:57:28 +0000 (+0800) Subject: common/iavf: enable hash calculation based on IPv4 checksum X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=58aaf49d3554c8e900dd83c397200e32d2341498;p=dpdk.git common/iavf: enable hash calculation based on IPv4 checksum 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 Acked-by: Qi Zhang --- diff --git a/drivers/common/iavf/virtchnl.h b/drivers/common/iavf/virtchnl.h index 83f51d889f..067f715945 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),