From: Shahaf Shuler <shahafs@mellanox.com>
To: Yongseok Koh <yskoh@mellanox.com>,
"ferruh.yigit@intel.com" <ferruh.yigit@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
"Adrien Mazarguil" <adrien.mazarguil@6wind.com>,
"Nélio Laranjeiro" <nelio.laranjeiro@6wind.com>,
"Yongseok Koh" <yskoh@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH v2 2/2] doc: update PMD options for mlx5
Date: Wed, 15 Mar 2017 07:30:36 +0000 [thread overview]
Message-ID: <AM4PR05MB1505CDE5EC154C6128B49344C3270@AM4PR05MB1505.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20170310231334.2457-3-yskoh@mellanox.com>
Saturday, March 11, 2017 1:14 AM, Yongseok Koh:
> Enhanced multi-packet send mode is newly introduced for ConnectX-5
> families of adaptors.
>
> Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
> ---
> doc/guides/nics/mlx5.rst | 31 +++++++++++++++++++++++++++----
> 1 file changed, 27 insertions(+), 4 deletions(-)
>
> diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index
> 41f3a472e..0783aebdd 100644
> --- a/doc/guides/nics/mlx5.rst
> +++ b/doc/guides/nics/mlx5.rst
> @@ -183,10 +183,17 @@ Run-time configuration
>
> - ``txq_mpw_en`` parameter [int]
>
> - A nonzero value enables multi-packet send. This feature allows the TX
> - burst function to pack up to five packets in two descriptors in order to
> - save PCI bandwidth and improve performance at the cost of a slightly
> - higher CPU usage.
> + A nonzero value enables multi-packet send (MPS) for ConnectX-4 Lx and
> + enhanced multi-packet send (Enhanced MPS) for ConnectX-5. MPS allows
> + the TX burst function to pack up multiple packets in a single
> + descriptor session in order to save PCI bandwidth and improve
> + performance at the cost of a slightly higher CPU usage. When
> + ``txq_inline`` is set along with ``txq_mpw_en``, TX burst function
> + tries to copy entire packet data on to TX descriptor instead of
> + including pointer of packet only if there is enough room remained in
> + the descriptor. ``txq_inline`` sets per-descriptor space for either
> + pointers or inlined packets. In addition, Enhanced MPS supports
> + hybrid mode - mixing inlined packets and pointers in the same descriptor.
>
> This option cannot be used in conjunction with ``tso`` below. When ``tso``
> is set, ``txq_mpw_en`` is disabled.
> @@ -194,6 +201,22 @@ Run-time configuration
> It is currently only supported on the ConnectX-4 Lx and ConnectX-5
> families of adapters. Enabled by default.
>
> +- ``txq_mpw_hdr_dseg_en`` parameter [int]
> +
> + A nonzero value enables including two pointers in the first block of
> + TX descriptor. This can be used to lessen CPU load for memory copy.
> +
> + Effective only when Enhanced MPS is supported. Disabled by default.
> +
> +- ``txq_max_inline_len`` parameter [int]
> +
> + Maximum size of packet to be inlined. This limits the size of packet
> + to be inlined. If the size of a packet is larger than configured
> + value, the packet isn't inlined even though there's enough space
> + remained in the descriptor. Instead, the packet is included with pointer.
> +
> + Effective only when Enhanced MPS is supported. The default value is 256.
> +
> - ``tso`` parameter [int]
>
> A nonzero value enables hardware TSO.
> --
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
> 2.11.0
next prev parent reply other threads:[~2017-03-15 7:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-10 23:13 [dpdk-dev] [PATCH v2 0/2] net/mlx5: add enhanced multi-packet send for ConnectX-5 Yongseok Koh
2017-03-10 23:13 ` [dpdk-dev] [PATCH v2 1/2] " Yongseok Koh
2017-03-15 7:28 ` Shahaf Shuler
2017-03-15 10:39 ` Nélio Laranjeiro
2017-03-15 10:44 ` Nélio Laranjeiro
2017-03-15 14:28 ` Ferruh Yigit
2017-03-10 23:13 ` [dpdk-dev] [PATCH v2 2/2] doc: update PMD options for mlx5 Yongseok Koh
2017-03-15 7:30 ` Shahaf Shuler [this message]
2017-03-15 23:55 ` [dpdk-dev] [PATCH v3 0/2] net/mlx5: add enhanced multi-packet send for ConnectX-5 Yongseok Koh
2017-03-15 23:55 ` [dpdk-dev] [PATCH v3 1/2] " Yongseok Koh
2017-03-15 23:55 ` [dpdk-dev] [PATCH v3 2/2] doc: update PMD options for mlx5 Yongseok Koh
2017-03-16 0:01 ` [dpdk-dev] [PATCH v3 0/2] net/mlx5: add enhanced multi-packet send for ConnectX-5 Yongseok Koh
2017-03-16 13:47 ` Ferruh Yigit
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=AM4PR05MB1505CDE5EC154C6128B49344C3270@AM4PR05MB1505.eurprd05.prod.outlook.com \
--to=shahafs@mellanox.com \
--cc=adrien.mazarguil@6wind.com \
--cc=dev@dpdk.org \
--cc=ferruh.yigit@intel.com \
--cc=nelio.laranjeiro@6wind.com \
--cc=yskoh@mellanox.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).