From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Xueming Li <xuemingl@nvidia.com>, Matan Azrad <matan@nvidia.com>,
Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Cc: dev@dpdk.org, Asaf Penso <asafp@nvidia.com>
Subject: Re: [dpdk-dev] [PATCH 2/2] vdpa/mlx5: hardware queue moderation
Date: Thu, 7 Jan 2021 18:38:24 +0100 [thread overview]
Message-ID: <8bf9f807-c8f2-aa05-881b-75cddf3fb48a@redhat.com> (raw)
In-Reply-To: <1609902390-3453-2-git-send-email-xuemingl@nvidia.com>
On 1/6/21 4:06 AM, Xueming Li wrote:
> The next parameters control the HW queue moderation feature.
> This feature helps to control the traffic performance and latency
> tradeoff.
>
> Each packet completion report from HW to SW requires CQ processing by SW
> and triggers interrupt for the guest driver. Interrupt report and
> handling cost CPU cycles and time and the amount of this affects
> directly on packet performance and latency.
>
> hw_latency_mode parameters [int]
> 0, HW default.
> 1, Latency is counted from the first packet completion report.
> 2, Latency is counted from the last packet completion.
> hw_max_latency_us parameters [int]
> 0 - 4095, The maximum time in microseconds that packet completion
> report can be delayed.
> hw_max_pending_comp parameter [int]
> 0 - 65535, The maximum number of pending packets completions in an HW
> queue.
>
> Signed-off-by: Xueming Li <xuemingl@nvidia.com>
> ---
> doc/guides/vdpadevs/mlx5.rst | 24 ++++++++++++++++++++++++
> drivers/vdpa/mlx5/mlx5_vdpa.c | 6 ++++++
> drivers/vdpa/mlx5/mlx5_vdpa.h | 3 +++
> drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 3 +++
> 4 files changed, 36 insertions(+)
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
next prev parent reply other threads:[~2021-01-07 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-06 3:06 [dpdk-dev] [PATCH 1/2] common/mlx5: support vDPA completion " Xueming Li
2021-01-06 3:06 ` [dpdk-dev] [PATCH 2/2] vdpa/mlx5: hardware " Xueming Li
2021-01-07 17:38 ` Maxime Coquelin [this message]
2021-01-08 9:17 ` Maxime Coquelin
2021-01-07 17:20 ` [dpdk-dev] [PATCH 1/2] common/mlx5: support vDPA completion " Maxime Coquelin
2021-01-08 9:16 ` Maxime Coquelin
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=8bf9f807-c8f2-aa05-881b-75cddf3fb48a@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=asafp@nvidia.com \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=viacheslavo@nvidia.com \
--cc=xuemingl@nvidia.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).