DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: <dev@dpdk.org>
Cc: <stable@dpdk.org>
Subject: Re: [PATCH] net/ice: ignore WRED parameters for tail drop in DCF
Date: Mon, 5 Oct 2026 16:34:26 +0100	[thread overview]
Message-ID: <asPDghS19etuUuoC@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260914101003.55635-1-naa@amicon.ru>

On Mon, Sep 14, 2026 at 01:10:03PM +0300, Artem Novikov wrote:
> The traffic management API defines leaf WRED parameters as valid only
> when the congestion management mode is WRED. DCF only accepts tail drop,
> but still validates the WRED profile and shared contexts. A tail-drop
> node with a zero-initialized, unused WRED profile is therefore rejected
> unless the application supplies RTE_TM_WRED_PROFILE_ID_NONE.
> 
> Compare the mode explicitly against RTE_TM_CMAN_TAIL_DROP and reject
> unsupported modes with a precise error message. Do not validate WRED
> parameters for the supported tail-drop mode.
> 
> Fixes: 3a6bfc37eaf4 ("net/ice: support QoS config VF bandwidth in DCF")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Artem Novikov <naa@amicon.ru>
> ---
>  drivers/net/intel/ice/ice_dcf_sched.c | 23 ++---------------------
>  1 file changed, 2 insertions(+), 21 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson@intel.com>

Applied to dpdk-next-net-intel

/Bruce


      reply	other threads:[~2026-10-05 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-14 10:10 [PATCH] net/ice: ignore WRED parameters for tail drop in DCF Artem Novikov
2026-10-05 15:34 ` Bruce Richardson [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=asPDghS19etuUuoC@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --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
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