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 C654DA0A0F; Wed, 30 Jun 2021 09:46:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AEFF84123D; Wed, 30 Jun 2021 09:46:53 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2072.outbound.protection.outlook.com [40.107.237.72]) by mails.dpdk.org (Postfix) with ESMTP id 0FA3340040; Wed, 30 Jun 2021 09:46:52 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B2hs/HF2nFQOluJcIKzU8fNXf3heTmQ/4nWxWASfYwJZdS4H9BWoMXJCfPN/7s2LG/4uqbB+T0mA7/IZa+UI0XGI269wyntjLpS0nlgz18KWUNCnuruci+tV/DCQIPOHAKHlPo+iBkX9U1aUzCunGfJGxGeELy2DI+v4Ca3nEpZNGz8ON+c37e0HQV38h/yI7mWRDYsVlhzWo19uxJ2ufxG9FZSyk2jRhSHUjK2MK/TB+3WqxV65o/hSZC9YoeZ04kx7Bf5eNPhOY/U8dG8cfkbCgQbZkWKT4qMYEzCQjn25PPhlEudFq5BqolHNX2dpcCh99eIv9m3uNE1spVij3g== 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=xC5LdI/HVgy9muLbY0vM2ZXrSCXbPyGNa0P8XQM++c8=; b=QcE9ObWVQcSwRvLoTJyyECvnY6nyoka5GWzuGPRC8RYFgWKRsWFLSU9UmjZyMb5+ASWQ8PntmV2E+do/26HqVevEO7Rgpk8FU8LyAoGbLghe+Y5UE8cpYJlDIOoJM8j9PG0a+Jplrs5SsFoQSwxJ+MtUYdnaEC4rfcpiRzCHmbHms5nEs+Ch74i/xK4wPrCuh7yjALeGpEdsm9K2balWB7eQ9ukv23jyavQdDKmaRw67QawOoXiCywZ2lCslQugZm6eZI/yVRIAqTGM4GPC5gUsEnGYVdpTyQL5eePaVUwLx32+m6cgZQE1MF3isueRHpf3c3NkzpB0QV5ADFqBLqw== 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=xC5LdI/HVgy9muLbY0vM2ZXrSCXbPyGNa0P8XQM++c8=; b=dm02WBF1oQP+EDwiE1c6uE71O+xiE3kuaZYxvm3ai9BP+DYSdURv9llb64jMWwFCRf3wHWFOixUTuSWmdhJjLGPZgs40WwR6qpprvExU+ALqfjUua69+XKpq+oaH5HYY5qV1BnUetyxTZ8Xp6KimWje9lxCsUdGGFfInvCve+/L6TtXwEGs7VHB6yz2xiYf4tYgZLp+S/IFcsBYYutTZYQeWHbTdWRP6M0S8vdzSHIglRDOCvhPY6aDIXQnSSJpSEG6iu6B/aoiAJdRFK1v0EtbWKAspR8uRQHSQJaKQ4nRpCyUOIdTlP76VuqNLeGvZBuwJl6m2VvBHaCktlWoBmA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.21; Wed, 30 Jun 2021 07:46:50 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%8]) with mapi id 15.20.4264.027; Wed, 30 Jun 2021 07:46:50 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ali Alnubani , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix multi-segment inline for the first segment Thread-Index: AQHXZ4Vt3cRh2C+uXUa0SCd+s9RMTKssOQ2A Date: Wed, 30 Jun 2021 07:46:50 +0000 Message-ID: References: <20210622164049.9191-1-viacheslavo@nvidia.com> In-Reply-To: <20210622164049.9191-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.229.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d1e75ba0-6285-45f7-430e-08d93b9b38df x-ms-traffictypediagnostic: DM4PR12MB5312: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jx53rfR0RdXg3+CWjJA11gAHYFPFAoIPV8BJHE06b5KXKjuaFc8cigaECuazdCm4CuecwQbDxVklvDOQkG0IpRn+imG/+wwKQmRu+wsVjkfgCieyx3sZ6gnIzdatyzbk6jMdv/1CEAztWfC8o+Itrky0hU09RLmNdFy60hDyOvntWx92Lvv30jE3dxCt1p7gHfzF7yC4gquDh+FK6cHw1dxVoLazf6jKmTO3ush0/TXtxaIJLZMgD1ylN33rktK/HouxfL+eSbJDJifH91m6R/rNHGQl34vfVDld02cad77cRNiHd0xSdrFYhRuzTek1ts9TDQYkd67cM4lOi10QPdisVs0Fm2VTUwRLU24qPgITg4pVZoI9K/rh6oL+ICoDL9UDzEUVqOWb9SzqxrVVY2+J6pMlKq/QAK2AT3MBioILqsd5LSOUWwPb1KLzXDrU2pX1LN3sL1mDO2rUGbUG8pkighcxTqUguZgqDPCxAyVtRT7ua/rnWm6knLREDimMm7JuQWtEsiMqJ1iOEpUggO32fIKI6XT8S7e6u2SYXtJKqg1bnsezQNyZ4XWulcEWA4ndKrz702hL/6IEEwCTl/0kpgqpW4xrGjuCwDRXlLDoKMDBMRUFhcu3CwX+e060VPqAnsDyuy9sxp+3hKeRbw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(346002)(39860400002)(366004)(53546011)(33656002)(26005)(6506007)(38100700002)(4744005)(55016002)(186003)(9686003)(76116006)(2906002)(71200400001)(8676002)(122000001)(7696005)(52536014)(5660300002)(86362001)(110136005)(54906003)(66446008)(450100002)(66476007)(316002)(478600001)(83380400001)(66556008)(4326008)(8936002)(66946007)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?P4EWRbDT7qDbT+BZy0qZrPmz7Ywoe4IvQep3yc3Lm3DyK9WzryH6pmTOLNhz?= =?us-ascii?Q?lY95a/5Zq4OD/pqvf4VsHkiG/xpouprUrTIx6qV3zKkFr6uUQY/2fZqHS1WI?= =?us-ascii?Q?zumoGTelA6c2xsjBbwim+zDvimiaMMOWQm9Iw+F1bnpBg7zHiK1TDn/Le5WP?= =?us-ascii?Q?viftFsL6ufNM0wf3wSayv4n/X/G1OwEZGHPnUiOuidCPD7rleeKuWoMINRjI?= =?us-ascii?Q?7s0QOimKefM59SC1F1qMlge3fSCWGAyfmuzu3dQ3jQbULlfdBbXax5PPZk79?= =?us-ascii?Q?U5FOgsjotnOXTEZcqWEq5pKcAN3J9DObyQmn7FyfzbLeLkVD+RK9/Kv0pPue?= =?us-ascii?Q?hm/4pOm5ND87PAGgeIiUXGUO8SQZPvtT/XuZvgNFPrqsoQJyQt3w990+W5mu?= =?us-ascii?Q?J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3XZPYtquv?= =?us-ascii?Q?jGRubWPQE3BaosqTU5s1VnG7?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1e75ba0-6285-45f7-430e-08d93b9b38df X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 07:46:50.8616 (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: t+HxARwT/2ks1D9U7Cwcwg9YvgXZQ9CW36y7FiIasA1FyfT58aMPDZyvguZiRZJC+7w/ZlHxkL9pHokBZMzyDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5312 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix multi-segment inline for the first segment 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 Sender: "dev" Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Tuesday, June 22, 2021 7:41 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Ali Alnubani ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix multi-segment inline for the first segment >=20 > If the first segment in the multi-segment packet is short > and below the inline threshold it should be inline into > the WQE to improve the performance. For example, the T-Rex > traffic generator might use small leading segments to > handle packet headers and performance was affected. >=20 > Fixes: cacb44a09962 ("net/mlx5: add no-inline Tx flag") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh