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 B3A6EA0A0F; Wed, 30 Jun 2021 10:41:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 336A040141; Wed, 30 Jun 2021 10:41:59 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2068.outbound.protection.outlook.com [40.107.237.68]) by mails.dpdk.org (Postfix) with ESMTP id 34C1040040; Wed, 30 Jun 2021 10:41:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WYDU85q8OxHoTNGvMVvV5bxtwyVLBFqsLvxnsdcvaj3nex4lPpscfdPVMiJV+O26qa9b89L8Ne4m2W4wiHioojd2BN3pftj0GLERYfOz5ODNyEq1J935SxVrabwffAhsv9EG8+JqN5WPhz26SXUfxWqSztZTowu/JpqbQrxF2mtYnbxq1Llha/St2OWVEwxw679IpTbhwZH81zmRmngBTCpsID786lIjqZPkvbxWaqJDRuWfCLOODCx5IIsNSnknIn39U+P16ZVr8WTWkpYNnyypKW67rUa39Q/+uF+5fKMkIJeqLUchxWn2hAqDMSrYuloRH5F9DKWXGWTLYs0N7A== 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=GoXHwWbdEdsCA3CROf0v94IobIDOs7zWhidnh8d2CZs=; b=Ko2lunMn3kK+OKXCBu1HQfQHruRAIQY+9dF1mmGMn1jy9PnY1w90DyojbmsokVM2WpdJPNbRVZEJe/3i8jLgfLopuRbx9oK2gOoO81bnSRltcn1rnS0mlVytOVGf6eIG6Z9fkqbj/dIS5Pz3QXRN6ZcwVgJSVG594mMSWFV9YBxcN1fvQwHHkgAf01yMmY1C1iq3KyfjCZqPVI0HAvgGVrVq3Fq9hbcH+F6bvD6CsqA2UIZnUH9WOTJN+w81wPOUTQn1DLfmX9RDV17/ftpMcrLmEYzpcUegPHphanehu90W7WifKtN03Ltl5iQ4pM2Dg5L3tGLvVBe5YfYPb/cwIw== 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=GoXHwWbdEdsCA3CROf0v94IobIDOs7zWhidnh8d2CZs=; b=PKZHjubEowx1chkNgzQ+mfjAvGfU3xmHdWO5Jx2fDxPBbsWY/0mWq5jHn9Hb8R6b7X55Z/cMS3yDyMiktSc1F2xsKGCbC1dmGWMU85G6KnM1xiE9wPj/xDpO5qLyeT2ryAa4l2f0Cf0xIiIG7S5IREzW2t+et5EED9mA2fTSvVliFKHsQ0Uo5pB/s2mzYtL30WBWwNUHzSJRCXaH5QF3eULpOytLiRnlJuCgRYW6MHl8FTjywC+KLLQxS8qum1zP8/EJEVaG4B5FR8h7y0CiRPYUXxwXwZmsEVfNQpJlpyjPc/ZbFwVHtDEMu3BD0HHcb5lMH6KckwtqWmtqs6P3Ng== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5376.namprd12.prod.outlook.com (2603:10b6:5:39a::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Wed, 30 Jun 2021 08:41:57 +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 08:41:57 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix TSO multi-segment inline length Thread-Index: AQHXZZ3OHH8+178ooEazsInFnX+3MqssTEBA Date: Wed, 30 Jun 2021 08:41:57 +0000 Message-ID: References: <20210620063028.24433-1-viacheslavo@nvidia.com> In-Reply-To: <20210620063028.24433-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: f1c6a1ac-ae46-423f-9e0c-08d93ba2eba2 x-ms-traffictypediagnostic: DM4PR12MB5376: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hQ4Cv0pc+FliG/VoqSG++cQe3KNXRnk0QfYxwOGRImUn/p4aeAQWOADoVpHjGkvJEKGTFxDVkAoGoUZBCX/cf260KBqgKNi/tVSBg+93LN0joqfuD4ZtSek7VfbZ1v2o8nlyF30H/V8dGd+zRGrHCD0tzI3lNA3YaWTxjfuS8YkkOBMIDjPjexqVd+btCtXvs1qbPIoZp/rAUQyPORVVkncYOgNncTErv46M26cvCqFnapehRPLAfAHZdY8AscbWHlqxbV8tZlMBNQGhlDg07h157owk3vkQSBxN3cKmQ+2CUy2qL00LRKIWXdsN++h89YCEVMEOFY8WHzxNyug8pl/w84uXzFy8HjKAmE+IVQpDswikAE2abdGuhK/7mnICf6T/zxc2zjjRLs4DcYQsBWdgVddPLF4O8hFpG734mZilv40Odi5q/wXS68X/qogN957F4BTy67LAR1ZQJR3AEyZbzFd+MqWUtcttld+fiV8V6F12h7Btd8uD1HyAV9yTY5Q/vHeYtsiSG73gde4+fIDCirVxIpRiZELOihZXVGcZdDV6kNXNb6uo3DIyc+dvbvI/82KcD4UG6m0Oy1WEJvZr1SFHyE5HyVwrfH1x2WCSmfjnFjIJtAp/QrwlkYepxv8Ki+zygjFKSWMyOHpMjA== 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)(366004)(396003)(136003)(39860400002)(346002)(376002)(33656002)(122000001)(71200400001)(38100700002)(55016002)(478600001)(110136005)(86362001)(9686003)(83380400001)(52536014)(2906002)(54906003)(316002)(4744005)(66946007)(26005)(76116006)(8676002)(4326008)(66476007)(7696005)(66556008)(5660300002)(66446008)(64756008)(53546011)(6506007)(450100002)(186003)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6xP8QoxXBe5UNP1ZwuQuJWNgKzVqAaPnmtGYNpjdLe/F4QqdvH8hw3mAIPML?= =?us-ascii?Q?rNjI77Glas3/Uzs9lbeK585NBqxRl6GZDHcJVsAmtCAPe8O0tXZNPgOcsQs2?= =?us-ascii?Q?MpGzxbQmAWTOF0Uh48mQHNOREli77vTtSe40S9fH1ad/jmzVYWoyrVfaJUZC?= =?us-ascii?Q?VTYar9Uftmhzq7C/9IYW+7XxbuHkIMt65Js/MY8cazShMRisLnyiBhmG+IxM?= =?us-ascii?Q?QdVZ1hWvztGupZJrCeYXPBIPkqnV6noFuel0oNyoQrdSdZ4xEhHJccCGBQSu?= =?us-ascii?Q?GNM22bFKDjnMfZa3QWmYS9/yamd621XeotNBN+g09ne4SMC1sV4uPk/8YBA7?= =?us-ascii?Q?z+h/t4UqIp846pj/2J2fxKyuZxohH3PpDo0YlxQLt6FfnaESKiUB4rYCi+LR?= =?us-ascii?Q?TctZl0fzfjXvhyhA7wUH4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IH?= =?us-ascii?Q?PgIWjDaNTn7rLBihVAXzuGq3?= 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: f1c6a1ac-ae46-423f-9e0c-08d93ba2eba2 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 08:41:57.2913 (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: gCCnEiHA3vKS4K51cTqX+4E1VhSX3ry3hgNbSPrB5szzYEmmZmuEtebxQJ/7+V/lwx9As4r5XjQkSUX3ADO+5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5376 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix TSO multi-segment inline length 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: Sunday, June 20, 2021 9:30 AM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix TSO multi-segment inline length >=20 > The inline data length for TSO ethernet segment should be calculated from > the TSO header instead of the inline size configured by txq_inline_min > devarg or reported by the NIC. > It is imposed by the nature of TSO offload - inline header is being dupli= cated > to every output TCP packet. >=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