From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 917BFA0C4B; Tue, 23 Nov 2021 21:34:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8395841153; Tue, 23 Nov 2021 21:34:48 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2041.outbound.protection.outlook.com [40.107.101.41]) by mails.dpdk.org (Postfix) with ESMTP id 1A56040040; Tue, 23 Nov 2021 21:34:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=j1xOuvR7tlhv1G797SouWt3kuw6SILTBTmjfCCHzfemXnEymMdto7EMpsgfM9wZA0zAl/9QM6e91bSTpT4EmfjuqDmbUJaWIbL5JbUZec32bSlKys2uv9vdrNgdh13tIBqfocA7ZJ+lMrRKB4WuBnDgutv6kZ9RHB+ws0bWtHyZ6OP6CgDIEuCnyBhiepjVrhh/fhzBattn5rt33kiCLfu46UNziMjwMTi+wEa0qJeelw1s6s41OqgoX9PcGfnsZ9vEUwYLivgfp+t8r/ZLgLdcgjC4oMOrl/dZ79PJutK0ikEFJF9TBL+oOfZrlhdRsg0l9TUT3JzcXdDqxAA9A9Q== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bC+x9pd3i/a8C0cQr4//oxz+kJtqylO6FjyYNPDyv3E=; b=XiwSL3TueAFEUkYVFGODEOp7Cz+3n40Yz/IeBjiZTh1MEYdKRJL/BReWPt6nbHNTMMGXNvrt7hiTRCOY5vaH15bigLhkD4UU7bHxH+4s0FF7v2tUEsewcF5CyMcKhQBpm4NpuwaV5ufxmpsuEVEljfQBiwZXHM98+1vkzRPQcH9tJK/78yACXtSloCuh70bMMp16lBIBOvh+wjZYCxVByVTmsZx6RapKTM6subSMifqjpIevznbNDFwe4gu74laeR2YhNAFlf24qHZExhz/N+uU0ZeswpD4K402wPFYQQOORW0cbzeVcOXS/CMqrlUWRsvsqx/ptd0X+YxR394tOYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bC+x9pd3i/a8C0cQr4//oxz+kJtqylO6FjyYNPDyv3E=; b=Ilf57jegzqBXbQ5/Z+1ESUrLW9tYxeXN1L5w9M3G8OXokr+nOH716txRmgrYFxv3nNF6y/hlaWKi6EjzJFhIf3AcJxy+lL6mb5+JLK+KNf1R003u3dQALP6KX+dgK7UJramy373cvDwrkwIbO7JlYvNj7K4BRd3KpMF8uFKh+2kVs8fkDxvBEO5CJZC2ZK+R0ySTxe3bgGIVPWZPRs1HBN3itp/AaCYKHtXusjLmQj2+zZ+RmziERw5Lz+j/+xZ47SH0QeFAe9D4vKON+ObxjIsTicGX34JBKB099SJ08fy7AE4BrI45U+lRz3wWnyTOkz3JxFD+FcnH8Pu6SK+n9g== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5088.namprd12.prod.outlook.com (2603:10b6:5:38b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.22; Tue, 23 Nov 2021 20:34:45 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%9]) with mapi id 15.20.4713.019; Tue, 23 Nov 2021 20:34:45 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Matan Azrad , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/mlx5: fix multi segment packet wraparound Thread-Topic: [PATCH v2] net/mlx5: fix multi segment packet wraparound Thread-Index: AQHX4HIwfYFZaTIr5kmrMGyHivgri6wRkh7A Date: Tue, 23 Nov 2021 20:34:45 +0000 Message-ID: References: <20211119181110.232000-1-dsosnowski@nvidia.com> <20211123135741.178491-1-dsosnowski@nvidia.com> In-Reply-To: <20211123135741.178491-1-dsosnowski@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a850bc01-477e-49b8-7d57-08d9aec0affa x-ms-traffictypediagnostic: DM4PR12MB5088: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: A6cV2Gn6nmlub1Xkqm2orhZ5sPgqDK/jV2+bijyVPFYgBhaf3JkP8ILK0Hdtxtargo9EpHiJswhHlMqDOvpszJGSMuQy9jvNCeDsF5/nledLxhpPN/d4DMMxPEG6oXlbL8W7sP1ewaVdFBLf9oJkpIOiR9bWDQLwZk0/Q1tpAWlri1fXljaXis4Pa+CHDzv5shiiflwdN2NEy2iqwHnWDlGd28TfcAxTTAsJfLkHvnZWW3MXNL7IV1TDS6D9p6ychaI+6annFivLvV8uWs9rTaL871waZNtyV9HCZ2fmICYupGtDWHyK02AT+uNZgx2sUrUdCy7VKAa4wS4BXpTGryvGjSkOJGKSFku8OA9ThyEX85oVgnTJ3cXSreGk1fPlMxyPJfKP13oUIjVtTvs6qHmZ9Fc5vvWjLzHAsqTgPEqCaMMbC03x1R9Ys5++ZjaxD7++ZAYSEBoZYIdOL/I24hOdP+7Hqb+YtIkdWNUVwL22pV1N9eVUpvWDxDrZvGf/j60D7gopYKq0Kr+cVD3cfynRmx20W163Z5rfd1+JAEvBYS6OJfmuF2CS+0kq0mLTCJzvpzjqkHVR0tBEeOPWaZx4GbvnoMdCwOaRyzsDSU9BPVg0/S0p5tIEwJyiCaIigac7r661C4LQB4pNh8ZGdV7lwFoPcOsMe/9a/cjDLLtlOnEuwAYh5+F4jwyB2QxzmO5C/uT9PmWaVHjKxE8fvQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(52536014)(8936002)(508600001)(38100700002)(5660300002)(110136005)(54906003)(66946007)(83380400001)(7696005)(8676002)(9686003)(6506007)(2906002)(53546011)(186003)(6636002)(71200400001)(66556008)(316002)(64756008)(4326008)(33656002)(26005)(86362001)(450100002)(55016003)(66446008)(66476007)(38070700005)(76116006)(122000001)(4744005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?n0s7Yes31dRMoMWHFR35zrJgdsDZpsJFIbaPSayhUujzjrWXWykKQ2pgeAEM?= =?us-ascii?Q?cIDcfQEy5xoO8g9htjiXdbS47Jl4tFHS7SRol1DZ/bWnBHye40hAYYtGU8fZ?= =?us-ascii?Q?txWqkNB6KwYU1FoaBpxx2ki5+WC1ls0oekyrWPv+7KerGKBllm1hn21mcwVx?= =?us-ascii?Q?Yg8cN3O62A6jYy595cB6mZYGLK/7Mt9Vcw0GFrriPocFSj7RIhVbY0NpvHDV?= =?us-ascii?Q?dfOsK4XewTpXysnNdevOK7RxJ5a4C9dJvd7bhyX1qURA5myG+BEtrnqfTJXO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gh0+yRfeEFRn1c?= =?us-ascii?Q?20yxee4bn7gxzwpYB6yN04NVIvWvnz/TSaS1eOOO+K78leqZJPOgr3lbYu2w?= =?us-ascii?Q?58KSTTmsw3tT++DC76tGJkrzkq91jnpthrnRJO5VoeW95ISJZMezDvy0eG+N?= =?us-ascii?Q?+mXgJXe1M4P9QH0yKze2QedFm9x5g/IzrcWGw2/PiU7ByAc4/fhoaq/F8LwE?= =?us-ascii?Q?wSRAV5aXFd9mb9Ypfgl608kBmn9XjmQM6wOvdgGxP1UUFIOzcurBfBTwWMWP?= =?us-ascii?Q?sOObTu4HwdBP+4XfcFH1XJwRqXobGbN4FOm8SAzFGRAAjT4HVDIeoFKCNwHX?= =?us-ascii?Q?ZJhny4WDOap20SIVpfNPb5n4xf19CsgnhN1eT1/PKBH6DmZtQV9NPWCZiRiJ?= =?us-ascii?Q?YHEf0y4amL665fWS7QNdLIk8evt2YSVfbH0cyOllzFGox3eqzus8rTAOPafv?= =?us-ascii?Q?j7fzVJ5YufEfTMl5C5fYw5c=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a850bc01-477e-49b8-7d57-08d9aec0affa X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Nov 2021 20:34:45.7525 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qOY1Uiw9iGDPfdMlxEWZ6mDhOzdxgoY+0lbEukvCyyqC+I3r5vGnRrkkmTpZIyTP1WhI87+tPoeufXf6JjWpAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5088 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi, > -----Original Message----- > From: Dariusz Sosnowski > Sent: Tuesday, November 23, 2021 3:58 PM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH v2] net/mlx5: fix multi segment packet wraparound >=20 > This patch fixes the assertion failure triggered when the user > configured minimum inline length requirements and the application > transmitted multi segment packets. Failure was triggered when space left > in TX queue was not enough to cover this requirement. >=20 > This patch limits the length of data to be copied to the available space > in TX queue. >=20 > Fixes: cacb44a09962 ("net/mlx5: add no-inline Tx flag") > Cc: viacheslavo@nvidia.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Dariusz Sosnowski > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh