All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Dawid Wesierski <dawid.wesierski@intel.com>
Cc: <dev@dpdk.org>, <thomas@monjalon.net>,
	<stephen@networkplumber.org>, <marek.kasiewicz@intel.com>
Subject: Re: [PATCH 1/2] doc: fix ice scheduler rate-limiter burst size description
Date: Fri, 10 Jul 2026 16:07:26 +0100	[thread overview]
Message-ID: <alEKrp04EWN0I93Q@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260708231926.1550698-2-dawid.wesierski@intel.com>

On Wed, Jul 08, 2026 at 07:19:25PM -0400, Dawid Wesierski wrote:
> The paragraph describing the ``rl_burst_size`` devarg was mangled
> (a mid-sentence line break split "favours throughput" across two
> lines with no space), 

Are you sure? It looks fine to me in output generated on my machine. Also,
it's unlikely that changing the source text to add a line break between
"favours" and "throughput" will cause a line break to be removed in the
output.

> and it did not mention that out-of-range
> values are rejected by the driver, which can otherwise look like a
> silent no-op to a reader.
> 

Yes, that extra note about invalid values being rejected is missing.

However, the rest of the patch rewrapping the text actually goes against
DPDK documentation policy. In order to keep doc diffs small, we try to
always start a sentence on a new line, and to only break lines at
punctuation marks, or between clauses generally. This saves having massive
diffs as the source text is re-wrapped following a change at the start of a
paragraph.

See https://doc.dpdk.org/guides/contributing/documentation.html#line-length-and-wrapping

> Fixes: b3f2afb3b7ea ("net/ice: add scheduler rate-limiter burst size devarg")
> 
> Signed-off-by: Dawid Wesierski <dawid.wesierski@intel.com>
> ---
>  doc/guides/nics/ice.rst | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst
> index 5589ce934f..6c2063d47e 100644
> --- a/doc/guides/nics/ice.rst
> +++ b/doc/guides/nics/ice.rst
> @@ -160,9 +160,10 @@ Runtime Configuration
>  
>  - ``Scheduler rate-limiter burst size`` (default ``0``)
>  
> -  The hardware Tx scheduler uses a default rate-limiter burst size that favours throughput.
> -  Time-sensitive applications can lower this value to reduce Tx latency jitter
> -  at the cost of throughput by setting the ``rl_burst_size`` devargs parameter, in bytes.
> +  The hardware Tx scheduler uses a default rate-limiter burst size that favours
> +  throughput. Time-sensitive applications can lower this value to reduce Tx
> +  latency jitter at the cost of throughput by setting the ``rl_burst_size``
> +  devargs parameter, in bytes. Values that are out of range are rejected.

When they are rejected, is an error just logged, or does the driver fail to
load due to an incorrect value? IF it's just a log message, is it better to
have the driver do a hard-failure so the user can't miss the issue? That
would be better than just noting this in the docs.

Regards,
/Bruce

>    A value of ``0`` (the default) keeps the hardware default.
>  
>    For example::
> -- 
> 2.47.3
> 

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

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08 16:40 [PATCH 0/7] intel network and pcapng updates Dawid Wesierski
2026-06-08 16:40 ` [PATCH 1/7] net/iavf: increase max ring descriptors to hardware limit Dawid Wesierski
2026-06-08 16:40 ` [PATCH 2/7] net/iavf: allow runtime queue rate limit configuration Dawid Wesierski
2026-06-08 16:40 ` [PATCH 3/7] net/ice/base: reduce default scheduler burst size Dawid Wesierski
2026-06-08 16:40 ` [PATCH 4/7] net/ice: timestamp all received packets when PTP is enabled Dawid Wesierski
2026-06-08 16:40 ` [PATCH 5/7] net/iavf: disable runtime queue setup capability Dawid Wesierski
2026-06-08 16:40 ` [PATCH 6/7] pcapng: add user-supplied timestamp support Dawid Wesierski
2026-06-08 17:09   ` Stephen Hemminger
2026-06-08 16:40 ` [PATCH 7/7] net/ice: add header split mbuf callback support Dawid Wesierski
2026-06-08 16:59 ` [PATCH 0/7] intel network and pcapng updates Thomas Monjalon
2026-06-18 14:44 ` [PATCH v3 1/1] pcapng: add user-supplied timestamp support Dawid Wesierski
2026-06-18 15:20   ` Stephen Hemminger
2026-06-18 14:44 ` [PATCH v2 0/7] Intel network drivers enhancements Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 1/7] ethdev: add header split mbuf callback API Dawid Wesierski
2026-06-18 16:26     ` Thomas Monjalon
2026-06-18 14:44   ` [PATCH v2 2/7] net/iavf: increase max ring descriptors to hardware limit Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 3/7] net/iavf: allow runtime queue rate limit configuration Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 4/7] net/ice/base: reduce default scheduler burst size Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 5/7] net/ice: timestamp all received packets when PTP is enabled Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 6/7] net/iavf: disable runtime queue setup capability Dawid Wesierski
2026-06-18 14:44   ` [PATCH v2 7/7] net/intel: support header split mbuf callback Dawid Wesierski
2026-06-29 15:33     ` Tested the v3 series on Intel E810-C (Columbiaville) hardware Dawid Wesierski
2026-06-30 12:06     ` [PATCH v3 0/6] Intel network drivers enhancements Dawid Wesierski
2026-06-30 12:06       ` [PATCH v3 1/6] net/iavf: increase max ring descriptors to hardware limit Dawid Wesierski
2026-06-30 14:29         ` Bruce Richardson
2026-06-30 12:06       ` [PATCH v3 2/6] net/iavf: allow runtime queue rate limit configuration Dawid Wesierski
2026-06-30 14:46         ` Bruce Richardson
2026-06-30 12:06       ` [PATCH v3 3/6] net/ice: add scheduler rate-limiter burst size devarg Dawid Wesierski
2026-06-30 15:20         ` Bruce Richardson
2026-06-30 12:06       ` [PATCH v3 4/6] net/ice: timestamp all received packets when PTP is enabled Dawid Wesierski
2026-06-30 15:39         ` Bruce Richardson
2026-07-03 20:00         ` Dawid Wesierski
2026-06-30 12:06       ` [PATCH v3 5/6] net/iavf: disable runtime queue setup capability Dawid Wesierski
2026-06-30 15:44         ` Bruce Richardson
2026-07-08 23:18         ` Dawid Wesierski
2026-06-30 12:06       ` [PATCH v3 6/6] app/testpmd: add pinned external-buffer Rx pool command Dawid Wesierski
2026-07-01 10:42       ` [PATCH v3 0/6] Intel network drivers enhancements Bruce Richardson
2026-07-03 12:19       ` [PATCH v4 0/5] " Dawid Wesierski
2026-07-03 12:19         ` [PATCH v4 1/5] net/iavf: increase max ring descriptors to hardware limit Dawid Wesierski
2026-07-03 12:19         ` [PATCH v4 2/5] net/iavf: allow runtime queue rate limit configuration Dawid Wesierski
2026-07-03 12:19         ` [PATCH v4 3/5] net/ice: add scheduler rate-limiter burst size devarg Dawid Wesierski
2026-07-03 12:19         ` [PATCH v4 4/5] net/iavf: disable runtime queue setup capability Dawid Wesierski
2026-07-03 12:19         ` [PATCH v4 5/5] app/testpmd: add pinned external-buffer Rx pool command Dawid Wesierski
2026-07-08 23:19           ` [PATCH v5 0/2] net/iavf, ice: fix runtime queue setup race and burst-size doc Dawid Wesierski
2026-07-08 23:19             ` [PATCH 1/2] doc: fix ice scheduler rate-limiter burst size description Dawid Wesierski
2026-07-10 15:07               ` Bruce Richardson [this message]
2026-07-13  9:44               ` [PATCH v6 0/2] doc: ice: update documentation for rl_burst_size devarg Dawid Wesierski
2026-07-08 23:19             ` [PATCH 2/2] net/iavf: disable runtime queue setup during queue rate limiting Dawid Wesierski
2026-07-10 15:14               ` Bruce Richardson
2026-07-13  9:42             ` [PATCH v6 0/2] Intel network driver enhancements Dawid Wesierski
2026-07-13  9:42               ` [PATCH v6 1/2] doc: fix ice scheduler rate-limiter burst size description Dawid Wesierski
2026-07-13  9:42               ` [PATCH v6 2/2] net/iavf: disable runtime queue setup during queue rate limiting Dawid Wesierski
2026-07-13  9:42             ` [PATCH v6 0/2] Intel network driver enhancements Dawid Wesierski
2026-07-13  9:42               ` [PATCH v6 1/2] doc: fix ice scheduler rate-limiter burst size description Dawid Wesierski
2026-07-13 10:05                 ` Bruce Richardson
2026-07-13  9:42               ` [PATCH v6 2/2] net/iavf: disable runtime queue setup during queue rate limiting Dawid Wesierski
2026-07-13 10:09                 ` Bruce Richardson
2026-07-23 10:29                   ` Bruce Richardson
2026-06-18 15:45   ` [PATCH v2 0/7] Intel network drivers enhancements Stephen Hemminger
2026-06-18 15:46   ` Stephen Hemminger

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=alEKrp04EWN0I93Q@bricha3-mobl1.ger.corp.intel.com \
    --to=bruce.richardson@intel.com \
    --cc=dawid.wesierski@intel.com \
    --cc=dev@dpdk.org \
    --cc=marek.kasiewicz@intel.com \
    --cc=stephen@networkplumber.org \
    --cc=thomas@monjalon.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.