DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Haiyue Wang <haiyue.wang@intel.com>, <dev@dpdk.org>
Cc: Alvin Zhang <alvinx.zhang@intel.com>,
	Jingjing Wu <jingjing.wu@intel.com>,
	 Beilei Xing <beilei.xing@intel.com>
Subject: Re: [dpdk-dev] [PATCH v1 2/4] common/iavf: add proto hdr field support for L4 checksum
Date: Fri, 3 Sep 2021 11:43:45 +0100	[thread overview]
Message-ID: <b72bda2a-a0fc-6ae0-3e9c-ba3a55772acd@intel.com> (raw)
In-Reply-To: <20210817071652.9939-2-haiyue.wang@intel.com>

On 8/17/2021 8:16 AM, Haiyue Wang wrote:
> From: Alvin Zhang <alvinx.zhang@intel.com>
> 
> Add TCP/UDP/SCTP header checksum field selectors.
> 

Hi Alvin, Haiyue,

Can you please describe a little more, what is the impact of adding proto hdr
checksum field selector?

Is this also something related to the flow director as other patches in this set?

Thanks,
ferruh

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


  parent reply	other threads:[~2021-09-03 10:43 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 ` [dpdk-dev] [PATCH v1 2/4] common/iavf: add proto hdr field support for L4 checksum Haiyue Wang
2021-08-29 11:38   ` Zhang, Qi Z
2021-09-03 10:43   ` Ferruh Yigit [this message]
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=b72bda2a-a0fc-6ae0-3e9c-ba3a55772acd@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=alvinx.zhang@intel.com \
    --cc=beilei.xing@intel.com \
    --cc=dev@dpdk.org \
    --cc=haiyue.wang@intel.com \
    --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).