DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Wenjun Wu <wenjun1.wu@intel.com>, <dev@dpdk.org>,
	<qiming.yang@intel.com>,  <qi.z.zhang@intel.com>,
	<yuying.zhang@intel.com>
Cc: Thomas Monjalon <thomas@monjalon.net>,
	David Marchand <david.marchand@redhat.com>,
	Aaron Conole <aconole@redhat.com>, dpdklab <dpdklab@iol.unh.edu>
Subject: Re: [dpdk-dev] [PATCH v1] net/ice: fix the reversed priority of DCF switch rule
Date: Fri, 13 Aug 2021 11:45:15 +0100	[thread overview]
Message-ID: <dc2ccb33-b746-7b92-1861-e9042f110d82@intel.com> (raw)
In-Reply-To: <20210802072517.942854-1-wenjun1.wu@intel.com>

On 8/2/2021 8:25 AM, Wenjun Wu wrote:
> This patch fixes the reversed priority of DCF switch rule. Priority 0 and 1
> are supported, and priority 0 should be the highest priority.
> 
> Fixes: 2321e34c23b3 ("net/ice: support flow priority for DCF switch filter")
> 

I guess 'Cc: stable@dpdk.org' tag is needed, will add in next-net.
Please check if it is needed next time, './devtools/check-git-log.sh' should help.

@Aaron, @Thomas, Can we add 'check-git-log.sh' checks to the CI?

Thanks,
ferruh

> Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
> ---
>  drivers/net/ice/ice_switch_filter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c
> index eeed386c63..f222cb9cb0 100644
> --- a/drivers/net/ice/ice_switch_filter.c
> +++ b/drivers/net/ice/ice_switch_filter.c
> @@ -1572,7 +1572,7 @@ ice_switch_parse_dcf_action(struct ice_dcf_adapter *ad,
>  	rule_info->sw_act.src = rule_info->sw_act.vsi_handle;
>  	rule_info->sw_act.flag = ICE_FLTR_RX;
>  	rule_info->rx = 1;
> -	rule_info->priority = priority + 5;
> +	rule_info->priority = 6 - priority;
>  
>  	return 0;
>  }
> 


  parent reply	other threads:[~2021-08-13 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02  7:25 Wenjun Wu
2021-08-10  3:05 ` Zhang, Qi Z
2021-08-13 10:45 ` Ferruh Yigit [this message]
2021-08-13 13:21   ` Thomas Monjalon
2021-08-23 12:41     ` Aaron Conole

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=dc2ccb33-b746-7b92-1861-e9042f110d82@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=aconole@redhat.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=dpdklab@iol.unh.edu \
    --cc=qi.z.zhang@intel.com \
    --cc=qiming.yang@intel.com \
    --cc=thomas@monjalon.net \
    --cc=wenjun1.wu@intel.com \
    --cc=yuying.zhang@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).