From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0073.outbound.protection.outlook.com [104.47.1.73]) by dpdk.org (Postfix) with ESMTP id 2CF721396 for ; Wed, 15 Mar 2017 08:30:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3IGZvqHJwF6h9lEah6ZrxDRn5VyyHrz8k2vVvTIbeLA=; b=uQpT70ssKKnQ3Kz5vLWwWup5+fBnovGMTaH5td/QWcOwQe3yoDQvRf1H76t3lTtfOqvz3NSnLM0QoW0VLed0VHDb2C7vYJ+zGak0t4YF7FwBZdGCmlPQ9rm3aA8qgtmWDcUR18NJTKSzD9J94ldUjYl3APPHTkq5G+EEraReq7k= Received: from AM4PR05MB1505.eurprd05.prod.outlook.com (10.164.79.147) by HE1PR0501MB2457.eurprd05.prod.outlook.com (10.168.126.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Wed, 15 Mar 2017 07:30:37 +0000 Received: from AM4PR05MB1505.eurprd05.prod.outlook.com ([10.164.79.147]) by AM4PR05MB1505.eurprd05.prod.outlook.com ([10.164.79.147]) with mapi id 15.01.0961.021; Wed, 15 Mar 2017 07:30:36 +0000 From: Shahaf Shuler To: Yongseok Koh , "ferruh.yigit@intel.com" CC: "dev@dpdk.org" , Adrien Mazarguil , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , Yongseok Koh Thread-Topic: [dpdk-dev] [PATCH v2 2/2] doc: update PMD options for mlx5 Thread-Index: AQHSmfQYsmYq3AscxkesS+/utB0o3KGVh7PQ Date: Wed, 15 Mar 2017 07:30:36 +0000 Message-ID: References: <20170310231334.2457-1-yskoh@mellanox.com> <20170310231334.2457-3-yskoh@mellanox.com> In-Reply-To: <20170310231334.2457-3-yskoh@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [193.47.165.251] x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-office365-filtering-correlation-id: 72a4cb7d-a2a0-4e91-a522-08d46b752c55 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:HE1PR0501MB2457; x-microsoft-exchange-diagnostics: 1; HE1PR0501MB2457; 7:IrXN5vqZOeLaxihvrWObT0SKw4x60LSnYmyBPEz3c2jNlc49ea1ANgWak7YUIUcBSOZIE+R32aReVGvz27Bb3LhFS4HDayeL9jl/fIpvs4NuDtivXWChPTLq0ToOJoZxOHgw9Kkt8yDnrzCWIWDmNJekr+TXXfvt2RgGLSVcSs3e1vGPp+APQ/lZ+EVfl3F/emqfV/rfCjc7egwehiXT5YN1NSkIYEbmJZ6fSseMS/RqxchbtfTTPX3o3vaNbnYA+Gqf5AzHgC8rcjNFLWmK1fEKLKw0m3KdL9udQQSWMRz5C7fwN35IL2sRZHaA7fkCOZTp5PCY4bpHsh0hrNtRcQ== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123558025)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(6072148); SRVR:HE1PR0501MB2457; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0501MB2457; x-forefront-prvs: 02475B2A01 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39410400002)(39850400002)(39450400003)(39860400002)(39840400002)(377454003)(33656002)(50986999)(54356999)(76176999)(6246003)(5660300001)(4326008)(2950100002)(7696004)(9686003)(229853002)(6116002)(107886003)(38730400002)(3846002)(102836003)(122556002)(8676002)(8936002)(81166006)(86362001)(2906002)(3280700002)(189998001)(2900100001)(2501003)(3660700001)(55016002)(6506006)(74316002)(66066001)(6436002)(25786008)(305945005)(77096006)(7736002)(53936002)(54906002)(99286003); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0501MB2457; H:AM4PR05MB1505.eurprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Mar 2017 07:30:36.4301 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0501MB2457 Subject: Re: [dpdk-dev] [PATCH v2 2/2] doc: update PMD options for mlx5 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 07:30:39 -0000 Saturday, March 11, 2017 1:14 AM, Yongseok Koh: > Enhanced multi-packet send mode is newly introduced for ConnectX-5 > families of adaptors. >=20 > Signed-off-by: Yongseok Koh > --- > doc/guides/nics/mlx5.rst | 31 +++++++++++++++++++++++++++---- > 1 file changed, 27 insertions(+), 4 deletions(-) >=20 > 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 >=20 > - ``txq_mpw_en`` parameter [int] >=20 > - 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 descript= or. >=20 > This option cannot be used in conjunction with ``tso`` below. When ``t= so`` > 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. >=20 > +- ``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 point= er. > + > + Effective only when Enhanced MPS is supported. The default value is 25= 6. > + > - ``tso`` parameter [int] >=20 > A nonzero value enables hardware TSO. > -- Acked-by: Shahaf Shuler > 2.11.0