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 9615DA034C; Thu, 18 Aug 2022 13:07:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32F8640694; Thu, 18 Aug 2022 13:07:52 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2075.outbound.protection.outlook.com [40.107.237.75]) by mails.dpdk.org (Postfix) with ESMTP id 8109240156; Thu, 18 Aug 2022 13:07:50 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O7XKe+n+SCalggQOlc3cdFEHMxxfu8zViwEfkqnUKh5xYH1sc02DS6KMBBWg3o695157mIcsmHcA2/UvDVy7Bcz221w+mGbyeiR14433ZvuBUYTiet6bkGsfom2UVPZjviy4pCvqarTR+yen3gHJy5HCLYNjFY69iBJFG+MGzLaUF8tfj8k9477h9shpIRRLxkeu/1SPXk2d/JQKZA5jgoGBtwNXt0vMSwzxF/VeA8yt+cGRUqVkN/Yxq9j+3/aDrayNDCiLfWX0zU5AVACIiubMulgKiytIRCttSYmaC0ewUm1lspi6vsPq1PwG5kvFhAYBS9giFPuEeOEDd4nfqQ== 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=mfsOGKQhND87shIE/N0csbeeP7Y5JbTRjVH1QotCDXs=; b=Re2ccONWpArHP0+2PVgvZX2HKFJjjgRJPsDYdafplohc1RzjTdBNH1P6Krec1lvFL9CgWdh+cVjPvGg0EZr3/u8t42DLNmiHfPkHxRHNOsA+09L5QWqiuMt5W3bXzHLTtcQD6PQ659SzlN3WHNC0sG+dPA4ka22oFhKP/Xa7Mdl8kBODHZGpHRiUSYmV9N0U8pkmpY3gjxlK8PdK5ZJ1VWZYegMxgcvQu7rF+3Ka/lQxr2zVkQNhzF5KLv41SHaUqzLChLl+HYG/qccYp/Mq2uq6ZOToYyW6WlgqZSnkqSxx0AVQn690o7byt2UKG7ugJED+AvKo28S+Hsj25R+uJA== 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=mfsOGKQhND87shIE/N0csbeeP7Y5JbTRjVH1QotCDXs=; b=TZ5uCqUKnuDAmhIgdYeQFwbWdOQvf/CWJKll6YlymQSekuLuftdVhH4HfpHVs2m081zz8UvL8nC439nDurMkMKlcbAys261XNK2je/67TA8UgjZWICdhz78pIYmkdnlON7AgyMSl2bNX4u+c6KoKs9tzsBQE051iUyryJAaMJs9RL2aWmTefmjCBK/tI5bMt05D2wJ+l2in5P+33r+AJi76ySQzLgOa6G/WBaquHwAL1gW6yncSOsrrp8GsCMFkd+Mb4yrBZ69fV4y5c8TSAhMEPbGmehaE95YLf3SXOzdtfnlo8anAhic0v20peeoAJ/O5OxsCBKKncIZ6c92fwaQ== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by DM6PR12MB3290.namprd12.prod.outlook.com (2603:10b6:5:189::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.16; Thu, 18 Aug 2022 11:07:48 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::acbb:9c84:ec42:78a3%5]) with mapi id 15.20.5504.020; Thu, 18 Aug 2022 11:07:48 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Dmitry Kozlyuk , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix the inline length exceeding descriptor limit Thread-Topic: [PATCH] net/mlx5: fix the inline length exceeding descriptor limit Thread-Index: AQHYskOslNt7COtSOU2xNNeMZM/CMa20gOGA Date: Thu, 18 Aug 2022 11:07:48 +0000 Message-ID: References: <20220817141357.7386-1-viacheslavo@nvidia.com> In-Reply-To: <20220817141357.7386-1-viacheslavo@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: 1760f313-86a5-4a7c-5839-08da8109e2a7 x-ms-traffictypediagnostic: DM6PR12MB3290:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0BDRVfl4ADP1Io5B2HKqPQBft9ZJDsiqK/QiIMvx+BTkDpsFSbqHavZBLX3vzfOAwAw7R7lnqKBJzkzf98knP3Y9ipES8/wl/J9F2dMcxM5DDrcmk8BStNtN8Ic7LZ8PWMVUe48LwyFaTHpU3zYh0lbEJl96G2tYE8VxkCJnSyyOTYpePxZzTq2882IPo5/cYyRiNt7FaVPJr4REU6/YTS9QvJdBeDiZaYu29FX6YUWFrtQZzvLkjDiYyyjW9VEEm+ld9/NYs4tZgTbsjUCiFNdXKPWuYv+T0c6FqLwGggFuw4Ul7be6NBoPsnclXmcitc6iq0BUOSt48/LubaPgqaW5MDeSLIg7E27riBfF0dm1Ucsxswpv9p8XTdRHiYBLJnH/O7hMK00XQOTd5qjphTCnk0yT0t+NAuI+poVg1pPn1BnqlD4IrLH07oJ3okr79Lh6j/oaoibfQL5RAD3L5l5QWqc0huNQx5p5s3VabfyOodJAU7Vp2sa51g2lTux+U6I8vH3yeEGR3Jfv5cN0/lprfIWTxaA1VNGhBuZx68b/HHVUksViWb0nMKAsInf4/N0+SZLdbnW3Xw9rvYqYEk8rkQ5uKeN4B9QXeVsE6YQN8qijYWITXtfrZglf46tv9Xqsj9RK/RW3oTssdoXRBS3HLFfMKmbUcjj+otEc95I9tTGeFZ51VwbThrYc/mtuQk9UNH5+4ouT/viwIyccDldDqZ8d97QK/QH9+eXwoWfbgI/cQ4/tEURKZ/Rpii+608qbqpyFQlv71wGm4P6AkA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(6506007)(53546011)(7696005)(9686003)(186003)(83380400001)(5660300002)(2906002)(8936002)(52536014)(33656002)(55016003)(478600001)(41300700001)(71200400001)(26005)(86362001)(38070700005)(122000001)(110136005)(64756008)(66446008)(66476007)(66556008)(54906003)(66946007)(316002)(38100700002)(4326008)(76116006)(8676002)(450100002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?r6Bg2QnoaxNsdTkBO6Qw5OEsURFQ/YqBioC1ohMzpNkwTJWjDutdwMJ4NnsR?= =?us-ascii?Q?jCKSqMIElCB1qKrDQHsJGFfkTVYtgM5lYzlfRv5QBOetpQ8bNZyRl/nBZmvr?= =?us-ascii?Q?pfDNptxKOVhjNwusO+BhbY+yz4VHN4X7sKFjusbRsn2YfGxDzA/ApxtAsJG2?= =?us-ascii?Q?cyCY23MExwgXlu429YBhKcajDTqRdI0zDz6b+Hw+cmbLfllWNH6a4heXtFvI?= =?us-ascii?Q?qPKbtinlspx19uRZi/6iPUeLLQST/78b9ObZBiHk9brwHy3T43y1xtPIgqg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SoZutrLALXK0ZtF?= =?us-ascii?Q?/SA899py71sthFZW8cyqC5gqUihgvXNtcpvRhxltuFZz1V/VttJFX9fXNTdA?= =?us-ascii?Q?ua+wGBu85doMfAAYI0ylf0VZDNbTAdK+4gk1Pvn2EXU8m8Ye/C6bS76qix7o?= =?us-ascii?Q?V/e2oBi1XfZHjmaiPCSo1Q5YdCRrR3CHAmmIgJ80QDu1zPnWmqzNYUyp1hhe?= =?us-ascii?Q?FVSbj7ghGdpamQ/clpfPAMmsFqyXqv7FilAWnzpHhxtrdZOdpcT7SmBw/bEo?= =?us-ascii?Q?PCHkQhHXsPakgJgD5VCK6amXozFE5tmUeOJELf266+Ij7k6erbdXDOQo5ZOw?= =?us-ascii?Q?r2TK04Rl9Z/bzxg7XR963eyPd67aDFSeSTOjodnC7R9XgNSExO+GB8oT0vfI?= =?us-ascii?Q?O2OJZPHR67qaAemi/Rk=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1760f313-86a5-4a7c-5839-08da8109e2a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Aug 2022 11:07:48.3184 (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: q3M4Au/oKrvAFt7pbgvb5sGEQPgqprB+VBYEJk3otnBYIm+Llc+LxSOBVm0E09pyoKN41Ff/l8dHBSipElmsAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3290 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: Slava Ovsiienko > Sent: Wednesday, August 17, 2022 5:14 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Dmitry Kozlyuk ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the inline length exceeding descriptor lim= it >=20 > The hardware descriptor (WQE) length field is 6 bits wide > and we have the native limitation for the overall descriptor > length. To improve the PCIe bandwidth the packet data can be > inline into descriptor. If PMD was configured to inline large > amount of data it happened there was no enough space remaining > in the descriptor to specify all the packet data segments and > PMD rejected problematic packets. >=20 > The patch tries to adjust the inline data length conservatively > and allows to avoid error occurring. >=20 > Fixes: 18a1c20044c0 ("net/mlx5: implement Tx burst template") > Fixes: e2259f93ef45 ("net/mlx5: fix Tx when inlining is impossible") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko > Reviewed-by: Dmitry Kozlyuk Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh