From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47468A0561; Mon, 20 Apr 2020 11:57:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E27B61D44E; Mon, 20 Apr 2020 11:57:27 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2050.outbound.protection.outlook.com [40.107.21.50]) by dpdk.org (Postfix) with ESMTP id CDE411C19F for ; Mon, 20 Apr 2020 11:57:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dYW4wOAcRY2e48WHfORl9nVuaeZIoqKdijWy+6/h/rtepwXrycKz4+jjye0m9X981lRr2W3aQH8ng6/zhyYtC5itDzuq/p2LmLtJB4lvebKnu4cLq11cXueYn4DvS/+B/SweX9uYhBz/gurIWzbhDtUmSPKhlhV7JDzii5+rMd+mFJOw9++473xwZo4e8GUdReLgXJkftcmTWmIEiVtDAQ+8H8boGn/b3BcKgT9kPV85pV/TxwinZs5Ktu6lyMI5TrMQ6SxK0VzqTVskshQ+byG6mrjjQkJ14Bu7XeQMqvxIWRXCi+U1hPOouUtyJF+L06a5RlHoEWHC0za1i0XATA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xBsRoiQrWnNPJkub8Sp2oF93ENw05couKrSLsxomR4M=; b=K3dFZXvLOBmGyZ58pB7LNGsr3caT0+afMjZeY9Sjat/55DQi5Bgy2oDE2rsJ1Tv53yFHQ4ZexsLQh8IpGTNyib4GpLE7PeqAZcyAXkRme54jB4oqTKbQ5nPyMDgQz0cySi7XoUni7IOQlyQF6kb+bSEINtAACqf1Vs3umZ7FepNWxZE26bP6vjYJ+bulpKiLUOjOEn19GzmP8F5GzJB/ojc1C4wLS6hFRJ3ozG6dJzxcqlCcbS8bxPc3gITHrMYyvbH5W8y0Ee4yk9TOgoaVLpJNHMOGDd1Zy19OrudrE5s+VJwwEeuFMLjfqV2bDPBszCjMkdE507ReG7x92P10gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none 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:X-MS-Exchange-SenderADCheck; bh=xBsRoiQrWnNPJkub8Sp2oF93ENw05couKrSLsxomR4M=; b=VtsQQ6uGWI4tsQ4iPYLP/ALLPpPk4wpp66V7d0KpxW4Knngipq8PvPppIAFxBSWPgXDMsvRGjJZixjA7ccf8nXA2qW9OR9wywk7nqtsuOL1luNR8aXE4yNM7XHl9rYIr6SFwLcP4p14VnYrIMLF91PlkjV+SswYrlQhWiB3qiH0= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM6PR05MB4231.eurprd05.prod.outlook.com (2603:10a6:209:41::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Mon, 20 Apr 2020 09:57:25 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22%7]) with mapi id 15.20.2921.030; Mon, 20 Apr 2020 09:57:25 +0000 From: Ori Kam To: Bing Zhao , "john.mcnamara@intel.com" , "marko.kovacevic@intel.com" , Slava Ovsiienko , Matan Azrad CC: Shahaf Shuler , Raslan Darawsheh , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] doc: update hairpin data buffer size config Thread-Index: AQHWDoavj0C2VO63ZEqCy1SLWU086aiB1oog Date: Mon, 20 Apr 2020 09:57:25 +0000 Message-ID: References: <1586447457-284912-1-git-send-email-bingz@mellanox.com> In-Reply-To: <1586447457-284912-1-git-send-email-bingz@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [185.149.253.12] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d9ef5e12-2cba-43e3-8c47-08d7e5113a95 x-ms-traffictypediagnostic: AM6PR05MB4231:|AM6PR05MB4231: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 03793408BA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(396003)(136003)(478600001)(2906002)(6636002)(54906003)(7696005)(110136005)(76116006)(15650500001)(55016002)(52536014)(9686003)(6506007)(71200400001)(53546011)(33656002)(4326008)(66446008)(64756008)(66556008)(66476007)(66946007)(86362001)(316002)(8676002)(8936002)(186003)(26005)(5660300002)(81156014); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3OflXL8QGWI6AV3WT9+Ra8n7gdCyHwlMUhn7ptIrNyBaIUVk+HxXiGMKq2KR9GMfGkzYwGcbFw0Liu0fnjjz+fJoIGRQdBIvFdZtdPbmBFgekIS8lBdv7e4R1cvsee6JsYRVY4QF9lgr82GvHCtjtnlHgRQwB9JjmfNB5mYfiea12qJtnKz+XvI2DgcZuRtdrI+vxL1CIbjBQptxU4DSuC/Go7uHOkLPOBIbkoqNZcxmjA/CYJ27UPXPly4t1Qi/o7XeXVsIG3KupWVrBYh62CP+/awzf+ECp7FUpbh+fKnls79/mFLnXVSOGdypZcAW8uYmy92gg+ZxB8+y5IAa2kSMGTWNmlhRax6i5WC9Y+cJ5OZMTqrJggb68RlZfYfVY+em2CrQAlfMPbxBRLRKbzONKqOaC8XOjbTkFzh7fBtr1aV7eyBQBELS2WDLfNre x-ms-exchange-antispam-messagedata: JChNHoqSVvppZeev999iNtSp/rAOs4eFqxe07kJ4fwEyy3iGcQqY5BfbLUICHaPWpg5Tp+tfjmMPy1Zk0AAnffExYGmHa+kEU2LQ8A09xswC0onVo0/JDFAXuBHE61GAOKG4HNbSkXAF5AWDe718Fg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9ef5e12-2cba-43e3-8c47-08d7e5113a95 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2020 09:57:25.5578 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NbmkjeYsse8RvXuxfu91XA99V36fRMH404SyVch4txInEFnJs564hnDpYaHSMyejVcksNmeKPfHLnml1vr0hUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4231 Subject: Re: [dpdk-dev] [PATCH] doc: update hairpin data buffer size config 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: dev On Behalf Of Bing Zhao > Sent: Thursday, April 9, 2020 6:51 PM > To: john.mcnamara@intel.com; marko.kovacevic@intel.com; Slava Ovsiienko > ; Matan Azrad > Cc: Shahaf Shuler ; Raslan Darawsheh > ; dev@dpdk.org > Subject: [dpdk-dev] [PATCH] doc: update hairpin data buffer size config >=20 > This patch updates the MLX5 PMD and release notes documentations. > Adding the guideline for hairpin data buffer size configuration. >=20 > Signed-off-by: Bing Zhao > --- > doc/guides/nics/mlx5.rst | 11 +++++++++++ > doc/guides/rel_notes/release_20_05.rst | 1 + > 2 files changed, 12 insertions(+) >=20 > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst > index e13c07d..c3cde30 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -99,6 +99,7 @@ Features > - Support for multiple rte_flow groups. > - Per packet no-inline hint flag to disable packet data copying into Tx > descriptors. > - Hardware LRO. > +- Hairpin. >=20 > Limitations > ----------- > @@ -773,6 +774,16 @@ Run-time configuration > If this parameter is not specified, by default PMD will set > the smallest value supported by HW. >=20 > +- ``hp_buf_log_sz`` parameter [int] > + > + The total data buffer size of a hairpin queue (logarithmic form), in b= ytes. > + PMD will set the data buffer size to 2 ** ``hp_buf_log_sz``, both for = RX & TX. > + The capacity of the value is sepcified by the Firmware, and the initia= lization > + will get a failure if it is out of scope. > + A larger value is needed to support larger frame. > + If this parameter is not specified, by default PMD will set it to 16 a= nd 9KB > + jumbo frames are supported. > + I think we need more clear description what is the size range and why not set to max or min. In addition I think that the last line should be something like this: By default PMD will set this value to 16, which mean that 9KB jumbo frames will be supported. > .. _mlx5_firmware_config: >=20 > Firmware configuration > diff --git a/doc/guides/rel_notes/release_20_05.rst > b/doc/guides/rel_notes/release_20_05.rst > index 2596269..7128f26 100644 > --- a/doc/guides/rel_notes/release_20_05.rst > +++ b/doc/guides/rel_notes/release_20_05.rst > @@ -62,6 +62,7 @@ New Features >=20 > * Added support for matching on IPv4 Time To Live and IPv6 Hop Limit. > * Added support for creating Relaxed Ordering Memory Regions. > + * Added support for configuring Haripin queue data buffer size. >=20 > * **Updated the Intel ice driver.** >=20 > -- > 2.5.5