From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 5C7A2A05A1;
	Wed, 22 Apr 2020 05:14:17 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 36EB11C226;
	Wed, 22 Apr 2020 05:14:17 +0200 (CEST)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com
 (mail-eopbgr80044.outbound.protection.outlook.com [40.107.8.44])
 by dpdk.org (Postfix) with ESMTP id 196E81C1F8
 for <dev@dpdk.org>; Wed, 22 Apr 2020 05:14:16 +0200 (CEST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=AOrgNsocOZyqBFla3chT+fpTu1UFoQZwZFD1XXR2kSLNSGRD1IYw2NSgqYx+uTlUHVgWtp7+BhbusfkNcs+jpE+l05WHcrpZYBfwnG/XReoaW1hx7J1fGhSi+stS40xtBBzcmKWpeqQTJAgBh5banbYW4J8YP1r1cd57wxATRJy02Ou9tZM4y7VWI9Cnn966eCn1kWB7MFwBcdhx7JgKH3o9WQdUpmY11mQR1RSThEZnpgcga4t6tWASEccllCJxM7OPQczFycv3Iu9hwV5VOTDOq4+gnCs0OkeBbK5354P4xzYMkf9gSBF9Ta9rkcjnVXFanRV0CmtZbkVdGdfG2w==
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=xMU3oMc4R+QSiBq9GuQsajEZEudtMbGrIBB+/eX08c0=;
 b=Nptv69+C15K87gbGVkUSz5I4tb4bKyCgCPEgeer/oDFlTZ5I09xz4JD0x5pRDwQvJ/DWdCj/A7Wus6fuMgIcm0SgXJyOoQqYBPajQ2FGUzhfJR6r/SiJQYEfNlo4Ok5i2EAMPEuPT868R2lQegJiAmp+20xJ08H2OZ5bZoX/kmJkfR5RIIModPcNxODGaSOX3ptrUKKKZTly9weFm1uAYAu9MtLC92nIR3pVJs3YVlVy/NxNEcvxQlmUrzrZvsrDBOcjgGXIjBW3uaRtAG24KkG/5XcLK2MtjZM9lOrZEnPJuaJSo3TKg+aric8jglfhSFUPZvdAijotXsp2M9yAGQ==
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=xMU3oMc4R+QSiBq9GuQsajEZEudtMbGrIBB+/eX08c0=;
 b=kYLBQOdDl2KjtkQpLwChMLX5ZoCdNjygQwECLeqWvwexSMp2zZWF4FPSLIUWFwnAoGTWUCsH6oVPE4c1DWpvmwFKtwhxBqyrTh08Xe/nlSH8PAZlxjb69dvZ1m5e0ZdNP84LBt0p0o2I56Rpxl8RqG7dBdxjV0oNfxdxcvK70jk=
Received: from VI1PR05MB4192.eurprd05.prod.outlook.com (2603:10a6:803:4e::18)
 by VI1PR05MB6512.eurprd05.prod.outlook.com (2603:10a6:803:fc::14)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Wed, 22 Apr
 2020 03:14:14 +0000
Received: from VI1PR05MB4192.eurprd05.prod.outlook.com
 ([fe80::1c12:fd7c:4788:232a]) by VI1PR05MB4192.eurprd05.prod.outlook.com
 ([fe80::1c12:fd7c:4788:232a%7]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020
 03:14:14 +0000
From: Bing Zhao <bingz@mellanox.com>
To: Thomas Monjalon <thomas@monjalon.net>
CC: "john.mcnamara@intel.com" <john.mcnamara@intel.com>,
 "marko.kovacevic@intel.com" <marko.kovacevic@intel.com>, Slava Ovsiienko
 <viacheslavo@mellanox.com>, Ori Kam <orika@mellanox.com>, Matan Azrad
 <matan@mellanox.com>, Shahaf Shuler <shahafs@mellanox.com>, Raslan Darawsheh
 <rasland@mellanox.com>, "dev@dpdk.org" <dev@dpdk.org>
Thread-Topic: [PATCH v3] doc: update hairpin data buffer size config
Thread-Index: AQHWGEucr7pdAnrFA0mQzGG7UXnEc6iEdxCA
Date: Wed, 22 Apr 2020 03:14:14 +0000
Message-ID: <VI1PR05MB41921DF09AF9A0E135CD9803DDD20@VI1PR05MB4192.eurprd05.prod.outlook.com>
References: <1587447151-122283-1-git-send-email-bingz@mellanox.com>
 <1587454163-127981-1-git-send-email-bingz@mellanox.com>
 <2215228.yKrmzQ4Hd0@thomas>
In-Reply-To: <2215228.yKrmzQ4Hd0@thomas>
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=bingz@mellanox.com; 
x-originating-ip: [103.65.43.210]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 92359098-3675-4050-d6c7-08d7e66b3c98
x-ms-traffictypediagnostic: VI1PR05MB6512:|VI1PR05MB6512:
x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <VI1PR05MB6512B9A25F29008B1B19A104DDD20@VI1PR05MB6512.eurprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-forefront-prvs: 03818C953D
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:VI1PR05MB4192.eurprd05.prod.outlook.com; PTR:; CAT:NONE;
 SFTY:;
 SFS:(10009020)(4636009)(366004)(136003)(396003)(376002)(39850400004)(346002)(86362001)(81156014)(6916009)(8936002)(71200400001)(8676002)(52536014)(2906002)(478600001)(5660300002)(186003)(55016002)(9686003)(33656002)(15650500001)(7696005)(4326008)(54906003)(66476007)(316002)(76116006)(53546011)(6506007)(66556008)(66946007)(26005)(66446008)(64756008);
 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: aPIDg/Td4Tk4SsvAmLuESidfxszWUHF7CAVxobLKbQOS4TsuXOvp2XzwYjOutrzp+R6Qm2hzrWBz8HojaT82VAAWCzNvhSshgLWAVxUpH82VpjztiVSM0ESRf5+GoKRyZyVzQZAhzJvQAO4fJEinD07w8ClCcjmW/CPRMSIyLkFz2FCA9p6Gh86dSmTtTqKYNV05SzmsHWzI1Hlf7icd/ZMFsnAPIlEMHmPItlXx3ArbufpQilEFYhylg/++4lo364yY9R1FzQ+z9U2r8XGZKwIP8tsNlSFI/N6SYZ1v0jkFIlwncyvfzY+QWHmJqyTMYn2l7HaPFKa1Znf6LXYBwbnOk34jfNQBHgVH/6O9dw8q1EWdNNEYmSbRm2oL5eVrEfHK0W4Pxaq7XX/FS2k/5+LiUxrFOYM/xPwB7G3UmA4/PDJVR3Bio6Mf3ucT2d8C
x-ms-exchange-antispam-messagedata: Otf3+xY4+T0lxi0LsKW5vibbMy8k2tb+BDx7wkDFotn5Cu5SNO2MxUFCdBqJuK5i71m1RJT2lyRvtTVAIf7IgKEgJSSDo7N3PRMBBF1C+5VGohKEWmBpQgPeZhgd+o2WpGLd4Dzl65ncf6r0S/b4AQ==
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: 92359098-3675-4050-d6c7-08d7e66b3c98
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 03:14:14.7054 (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: fuFBa8RIIk8b/On4LcBTYw7AUlJ5hkHHZbTlrVLo12lDDXWjWlm/fzT9zJbVLcPgjEkDPAuok5YshMyVfHNeTA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB6512
Subject: Re: [dpdk-dev] [PATCH v3] 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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

> -----Original Message-----
> From: Thomas Monjalon <thomas@monjalon.net>
> Sent: Wednesday, April 22, 2020 10:13 AM
> To: Bing Zhao <bingz@mellanox.com>
> Cc: john.mcnamara@intel.com; marko.kovacevic@intel.com; Slava
> Ovsiienko <viacheslavo@mellanox.com>; Ori Kam
> <orika@mellanox.com>; Matan Azrad <matan@mellanox.com>;
> Shahaf Shuler <shahafs@mellanox.com>; Raslan Darawsheh
> <rasland@mellanox.com>; dev@dpdk.org
> Subject: Re: [PATCH v3] doc: update hairpin data buffer size config
>=20
> 21/04/2020 09:29, Bing Zhao:
> > This patch updates the MLX5 PMD and release notes
> documentations.
> > Adding the guideline for hairpin data buffer size configuration.
> >
> > Signed-off-by: Bing Zhao <bingz@mellanox.com>
> > Acked-by: Ori Kam <orika@mellanox.com>
> > ---
> > --- a/doc/guides/nics/mlx5.rst
> > +++ b/doc/guides/nics/mlx5.rst
> > +- ``hp_buf_log_sz`` parameter [int]
> > +
> > +  The total data buffer size of a hairpin queue (logarithmic form), in
> bytes.
> > +  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
> > + initialization
>=20
> sepcified -> specified
> Firmware -> firmware
>=20
> > +  will get a failure if it is out of scope.
> > +  The range of the value is from 11 to 19 right now, and the
> > + supported frame  size of a single packet for hairpin is from 512B to
> > + 128KB. It might change if  different Firmware release is being used.
> > + By using a small value, it could
>=20
> Firmware -> firmware
>=20
> > +  reduce the memory consumption but not work with large frame. If
> the
> > + value is  too large, the memory consumption will be high and some
> > + potential performance  degradation will be introduced.
> > +  By default PMD will set this value to 16, which mean that 9KB
> jumbo
> > + frames
>=20
> By default, the PMD
>=20
> > +  will be supported.
> > +
>=20
> > --- a/doc/guides/rel_notes/release_20_05.rst
> > +++ b/doc/guides/rel_notes/release_20_05.rst
> > @@ -62,6 +62,7 @@ New Features
> >
> >    * 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
> Haripin -> Hairpin
>=20
>=20

Many thanks, Thomas. I corrected them and sent the v4.