From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40064.outbound.protection.outlook.com [40.107.4.64]) by dpdk.org (Postfix) with ESMTP id 2C0991BADD; Wed, 27 Jun 2018 12:46:10 +0200 (CEST) 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=EnZi+yHEzBVddsUNZRQDMhOPS9mPB7Cnsp+XTYKy018=; b=s1c0Pvl9UplMfYnGmjtOFI+LXXwkGjLkQR+pnKksvCsKPq8fsK/ODaf61Po/7CQxZMGFHFDJMMTA0lucCP1GGGd0mKKW1/xEANwVISCneVCnU/mOtobp5XGtakCOhscddLMvYwuWYKog3nitim1LmgpirqIFrJ3tQBpVww22kjw= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4810.eurprd05.prod.outlook.com (20.176.235.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.23; Wed, 27 Jun 2018 10:46:08 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b%5]) with mapi id 15.20.0884.025; Wed, 27 Jun 2018 10:46:08 +0000 From: Shahaf Shuler To: Yongseok Koh , Adrien Mazarguil , =?iso-8859-1?Q?N=E9lio_Laranjeiro?= CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix Rx buffer replenishment threshold Thread-Index: AQHUDUGP5CZuDzCxXUWJS8HKcaIN2aRzxjYg Date: Wed, 27 Jun 2018 10:46:08 +0000 Message-ID: References: <20180626113335.6854-1-yskoh@mellanox.com> In-Reply-To: <20180626113335.6854-1-yskoh@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=shahafs@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4810; 7:edJUvvup7kXwcA11YfHm5/v0l19S3OZPwLPccWGPXGQt2aBR1rFaDp7w8B3TXW5A3VjyeTuoqwb+ToPGXayJGmXsAxqBI435RNwjHkrzhnLvNOrIlC0LHKY6wW9DyYCD048jvMn7WWgxl52CqQXSd63LUyyxDVar53pKIntBXeY96emyzlzK5BYJo7VpJX8jwXzki0TYbRdyH7UDDw3yUhYEH/Bi4ss0fjYaNcF3DV9tqoYRwqTeuyCYMDfTdXbJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: f03a50c5-e705-421a-26c7-08d5dc1b3109 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4810; x-ms-traffictypediagnostic: DB7PR05MB4810: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4810; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4810; x-forefront-prvs: 0716E70AB6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(366004)(346002)(376002)(396003)(199004)(189003)(55016002)(110136005)(26005)(9686003)(6506007)(54906003)(229853002)(7736002)(99286004)(76176011)(305945005)(256004)(2900100001)(316002)(102836004)(81156014)(5250100002)(68736007)(446003)(105586002)(476003)(97736004)(11346002)(8936002)(3846002)(6116002)(486006)(5660300001)(8676002)(106356001)(7696005)(66066001)(81166006)(25786009)(14454004)(33656002)(86362001)(2906002)(478600001)(6246003)(74316002)(6436002)(4326008)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4810; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 9C0EzaCSbWLn0NGCYpowBb+1kCm3vA1kPZqDb5+AFVm5wEWap33OcSNKv93P1BSswY/Ist8sXTB6B28aoTfZLjK2474U0GUvJeqEaqb7Egz6wehmybyqu2Hqu6BN6cCN2zY7e4hdU4STQ5jGqiIwbWf/zq9/LlzMtxZg5sntVh6GWyDPtCwfrKmzL90tKOPLczFs9RHvCtGV/26Eux4R9ci69azGidexjjw/8aYQ63Csy0UlS7kCIcuVLO9pJNEun5IaW1K9nXQPyBH62LEbXf01VyYBG5S1q8cTMxRE7dLbq/GP58AEshVSm4nBKv5x5O8d/1w8JpWEk6B6IoVhap1H314+1KukVXbR0V2Lwfc= 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-Network-Message-Id: f03a50c5-e705-421a-26c7-08d5dc1b3109 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2018 10:46:08.6253 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4810 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix Rx buffer replenishment threshold X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 10:46:10 -0000 Tuesday, June 26, 2018 2:34 PM, Yongseok Koh: > Subject: [PATCH] net/mlx5: fix Rx buffer replenishment threshold >=20 > The threshold of buffer replenishment for vectorized Rx burst is a consta= nt > value (64). If the size of Rx queue is comparatively small, device could = run out > of buffers. For example, if the size of Rx queue is 128, buffers are > replenished only twice per a wraparound. This can cause jitter in receivi= ng > packets and the jitter can cause unnecessary retransmission for TCP > connections. >=20 > Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86") > Fixes: 570acdb1da8a ("net/mlx5: add vectorized Rx/Tx burst for ARM") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yongseok Koh > Acked-by: Shahaf Shuler Applied to next-net-mlx, thanks.=20