DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Xia, Chenbo" <chenbo.xia@intel.com>
To: Matan Azrad <matan@nvidia.com>,
	Maxime Coquelin <maxime.coquelin@redhat.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH] doc: improve event core description in vDPA mlx5
Date: Mon, 21 Nov 2022 01:38:48 +0000	[thread overview]
Message-ID: <SN6PR11MB35045FDC0FBF78A49DC68EF29C0A9@SN6PR11MB3504.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20221113092137.1252803-1-matan@nvidia.com>

> -----Original Message-----
> From: Matan Azrad <matan@nvidia.com>
> Sent: Sunday, November 13, 2022 5:22 PM
> To: Maxime Coquelin <maxime.coquelin@redhat.com>
> Cc: dev@dpdk.org
> Subject: [PATCH] doc: improve event core description in vDPA mlx5
> 
> The event core is mlx5 vDPA driver devarg that selects the CPU core for
> the internal timer thread used to manage data-path events into the
> driver.
> 
> Emphasize that this CPU should be isolated for vDPA mlx5 devices only in
> order to save the performance and latency of the device.
> 
> Signed-off-by: Matan Azrad <matan@nvidia.com>
> ---
>  doc/guides/vdpadevs/mlx5.rst | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/vdpadevs/mlx5.rst b/doc/guides/vdpadevs/mlx5.rst
> index 9767fbe42d..3b5ce6df38 100644
> --- a/doc/guides/vdpadevs/mlx5.rst
> +++ b/doc/guides/vdpadevs/mlx5.rst
> @@ -86,8 +86,13 @@ for an additional list of options shared with other
> mlx5 drivers.
> 
>  - ``event_core`` parameter [int]
> 
> -  CPU core number to set polling thread affinity to, default to control
> plane
> -  cpu.
> +  The CPU core number of the timer thread, default: EAL main lcore.
> +
> +.. note::
> +
> +   This core can be shared among different mlx5 vDPA devices as
> `event_core` but
> +   using it also for other tasks may affect the performance and the
> latency of the
> +   mlx5 vDPA devices.
> 
>  - ``max_conf_threads`` parameter [int]
> 
> --
> 2.25.1

Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>

  reply	other threads:[~2022-11-21  1:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-13  9:21 Matan Azrad
2022-11-21  1:38 ` Xia, Chenbo [this message]
2022-11-21 19:50   ` Thomas Monjalon

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=SN6PR11MB35045FDC0FBF78A49DC68EF29C0A9@SN6PR11MB3504.namprd11.prod.outlook.com \
    --to=chenbo.xia@intel.com \
    --cc=dev@dpdk.org \
    --cc=matan@nvidia.com \
    --cc=maxime.coquelin@redhat.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).