patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Xie, WeiX" <weix.xie@intel.com>
To: "Jiang, JunyuX" <junyux.jiang@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "Yang, Qiming" <qiming.yang@intel.com>,
	"Su, Simei" <simei.su@intel.com>,
	 "Jiang, JunyuX" <junyux.jiang@intel.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/ice: fix SCTP RSS configuration
Date: Fri, 23 Oct 2020 08:04:51 +0000
Message-ID: <639b5afa992943c0ba277fa2f91d45c7@intel.com> (raw)
In-Reply-To: <20201020085051.47073-1-junyux.jiang@intel.com>

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Junyu Jiang
> Sent: Tuesday, October 20, 2020 4:51 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.yang@intel.com>; Su, Simei <simei.su@intel.com>;
> Jiang, JunyuX <junyux.jiang@intel.com>; stable@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/ice: fix SCTP RSS configuration
> 
> This patch configured RSS for sctp with IP address and port as input set.
> 
> Fixes: 4717a12cfaf1 ("net/ice: initialize and update RSS based on user config")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
> ---
>  drivers/net/ice/ice_ethdev.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
> index 0056da78a..63138d3b9 100644
> --- a/drivers/net/ice/ice_ethdev.c
> +++ b/drivers/net/ice/ice_ethdev.c
> @@ -2987,7 +2987,7 @@ ice_rss_hash_set(struct ice_pf *pf, uint64_t rss_hf)
> 
>  	/* Configure RSS for sctp4 with src/dst addr and port as input set */
>  	if (rss_hf & ETH_RSS_NONFRAG_IPV4_SCTP) {
> -		ret = ice_add_rss_cfg_wrap(pf, vsi->idx,
> ICE_FLOW_HASH_IPV4,
> +		ret = ice_add_rss_cfg_wrap(pf, vsi->idx,
> ICE_HASH_SCTP_IPV4,
>  				      ICE_FLOW_SEG_HDR_SCTP |
>  				      ICE_FLOW_SEG_HDR_IPV4 |
>  				      ICE_FLOW_SEG_HDR_IPV_OTHER, 0); @@
> -2998,7 +2998,7 @@ ice_rss_hash_set(struct ice_pf *pf, uint64_t rss_hf)
> 
>  	/* Configure RSS for sctp6 with src/dst addr and port as input set */
>  	if (rss_hf & ETH_RSS_NONFRAG_IPV6_SCTP) {
> -		ret = ice_add_rss_cfg_wrap(pf, vsi->idx,
> ICE_FLOW_HASH_IPV6,
> +		ret = ice_add_rss_cfg_wrap(pf, vsi->idx,
> ICE_HASH_SCTP_IPV6,
>  				      ICE_FLOW_SEG_HDR_SCTP |
>  				      ICE_FLOW_SEG_HDR_IPV6 |
>  				      ICE_FLOW_SEG_HDR_IPV_OTHER, 0);
> --
> 2.17.1


      parent reply	other threads:[~2020-10-23  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20  8:50 [dpdk-stable] " Junyu Jiang
2020-10-20 10:25 ` [dpdk-stable] [dpdk-dev] " Zhang, Qi Z
2020-10-23  8:04 ` Xie, WeiX [this message]

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=639b5afa992943c0ba277fa2f91d45c7@intel.com \
    --to=weix.xie@intel.com \
    --cc=dev@dpdk.org \
    --cc=junyux.jiang@intel.com \
    --cc=qiming.yang@intel.com \
    --cc=simei.su@intel.com \
    --cc=stable@dpdk.org \
    /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

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git