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 D5D0DA04A6; Wed, 9 Feb 2022 09:54:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C96A441144; Wed, 9 Feb 2022 09:54:36 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2053.outbound.protection.outlook.com [40.107.223.53]) by mails.dpdk.org (Postfix) with ESMTP id 634BA410FD; Wed, 9 Feb 2022 09:54:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=odDwtieMbY8sWjprqLPAKMRqpgdXgtwAQRdb3zDyytuvSnVvWre45hYBkv38PiDz357hoB2HveFiShs0J5dme+pObLoniuF+yXS99sfeU0ZZYgxXV9tgDm4YY7J3FhAsbcNByhRZKpPh0P9tAYl2FKZjq4A/Dscg+w4C1Di9zpzUGH7Z+6FVDMX8yIGcVuq7qqU9CPWWeveB8v4K2wljDGFomf2ZC3R6XiDM3RAS5wCRgaM8tUFGPklzb8ELrETwUMkDtoCokRais/5IQ7baQQLGHWTpxdnrCPbOvVg8IIko4lXSdtVXebNMmeDbw8bAxW6m7UfjBH5KySzVOiANwA== 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=vBxCPAuTKRmmyMEXuuZMEaSFDAuyeOmkU3LQgM9qXs0=; b=e8ukembhn+nrm2j7PlOA+kqPbG/uvevZHU+WB+CFrJSm0u6+EvmYY8lbpPSTmOCihOhHVLtfoUaXnH9hUdqXowf1IQ+/fp1n9jT0CsTUk1PpWoZZUrgr8XA+gt8GMZhuVB39HhzUqqYd1Hgins/Vd8Es+P7Db8qtJ91zlWSO0zmLCJnkGLDG5FWQOjvevv1WfqkbBB7O2slwy9qHr1kSvkxUWH2u4gfpfv2XnQHY3QK9gGd6mySOlaz/0zUcpYxjbUMui1wDlykwKP/kadkfGdYmnZsGQGgrxr7UWzOqEhXwJlGGazm2OK1FHngtv6+PZkEyoUjUTkFhvsCHWMfsDg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=vBxCPAuTKRmmyMEXuuZMEaSFDAuyeOmkU3LQgM9qXs0=; b=QHpZYG2J39MEicwE5oJ6WlrMQ30HCx7t8lO8HveIpjBMeDGPFFuvFPSKt1zYXRyWCkFn0D7fEVVG9D9F+g90vq8puWwD49Bh/vsViVfp7/zHLsgs2Gq5THinwHACzvJeP1bnbyYg+mqtAz3gzEkyTgFRB8JXjo3GRooA8fUIaU+tI2P3Xh7VQ8HjMtphoIIFB64q3rYlTTGN/tOTPSHAmmktcI/xS+JX16Iu/cjgXCXVL9Gsm65LFbKZrxvC+Wz2nQ44i5BI48U2glSU9T8wuiRx6y6j8DpfXhZEgnpCBsAzVM+33Sf0NdT9eSTHWsuycarEhGzAb9+StrudtSEMVw== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MWHPR12MB1821.namprd12.prod.outlook.com (2603:10b6:300:111::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 9 Feb 2022 08:54:34 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::c8a5:fe91:7c8d:5e84%5]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 08:54:33 +0000 From: Raslan Darawsheh To: Dariusz Sosnowski , Matan Azrad , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix inline length for multi-segment TSO Thread-Topic: [PATCH] net/mlx5: fix inline length for multi-segment TSO Thread-Index: AQHYHDpKhYdnm1/ab0WjXtqLlJIslayK7MGQ Date: Wed, 9 Feb 2022 08:54:33 +0000 Message-ID: References: <20220207154856.574542-1-dsosnowski@nvidia.com> In-Reply-To: <20220207154856.574542-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: c056c6f1-14b8-4fe0-e10f-08d9eba9cb1c x-ms-traffictypediagnostic: MWHPR12MB1821:EE_ 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: 3VifjsfWvHLiUjxnfw7yqnyD0uzYtz6G9lK1lKfUjQEtSpMyjuS3r2mnVkyUekZbpPepry5bk26kve5Sb9mg4yos0EFpYRDcytUA8SDl0uDeWKnZ0O0Do8Ks9vkmP/8iaw5JzMsZ8TEJPQxxTvQxgSgbgC4tLS3F9LCfuWxRtMDN+p0AvGiiPQUMizeCiHzB5lF7atOt2HXJrHasLqy0/PNNbRgYX9MgCo9WhkWfq+6G4EbRMWlda2XtUXY8EsrsUNZ9l8JGAMADnIHinovb1pzU4AmkFJZfdbJ2inC7V+z5bHXYncTDrmhmO/AuDwJdsFz5ieLXz41tod6o6TOYjNWx4GASVM+2WWi2kG4rxjC3QPzO7Q2YshVEq7QB4nh4VzHwiPyjCS0nqCUt6VlAc/RUYxmbAHLU4XdSWvfMVIR6zyzVpzTh5yHDJoEuni+qKFTN4zyX/EJ5qT295gsvksmRH/Sk1Ni3Am41frHb4RO3ysSoz8mQ50iuzIrkDtkPKjC4pK3DC6nqZgbh3ehyUHKQj7wvKQLrttbL2KOH2yl1t1+4WnroHe94VpFtouokh4xLwgaYtAwYWj2LeL/o9BwQtH3EociQAUl6ejz7PnhcJRcxamjdExGU52J3UXtGc8v05jjcywEuBM1Qr50RAG1m+sV16DN/AD2r6QFzjkMxncn0/H0i3gD6Q2IeTk2IEAp23UpOlFhTHFA0ETEG7A== 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:(13230001)(4636009)(366004)(122000001)(66446008)(8936002)(4326008)(66556008)(5660300002)(8676002)(38070700005)(66946007)(83380400001)(6636002)(26005)(186003)(9686003)(7696005)(6506007)(450100002)(53546011)(86362001)(64756008)(76116006)(52536014)(66476007)(71200400001)(33656002)(38100700002)(316002)(54906003)(508600001)(110136005)(55016003)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?QAC0+nDOpiBSe9F1YjRoyZPgoAR6TDcfqpwmfKpJ78Fe+9dJnJhbmwuPtLSS?= =?us-ascii?Q?b8oDkal3aaf1ihDnARAfms1V1o/Bo20DedgwwvxYM1vqM6dP4dxERrgcDFca?= =?us-ascii?Q?poI7d6ygn6fEsmMFyKVuACRRWo5HqJz/xssFpSBm7OsFHzLrDQ941uqMUbhV?= =?us-ascii?Q?897pWureDLFJa3CvKiONKAx5Q+OkPdnvbW4fls2XTnVkFuW5eO95f81dHb9Q?= =?us-ascii?Q?lYzlzlv+fVGaZyukG1VMBIR8sA7IA20c/IQ2W4mwcSZPwulvZXi2vGNBfnCZ?= =?us-ascii?Q?ZmTShzJmn9aX+d2wjTaSGuLxrgXsuIJ4dm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q?GsxGCjTOLA5LyFgqpTygaP9+tI24S1sm1aYkJ2zIzWnqWnejKauWD6qJyXIl?= =?us-ascii?Q?wuXfxsEjerRQMUJ2jdYZftH1RlpI6l+aPN4uk8CwKA+fPqhoM/4yMwXKztsL?= =?us-ascii?Q?rdRrj5W24SeKGpvikbFnvfB8gQUfjiRxw7zTNkC1fXUQZcHjcymOFazdz2X7?= =?us-ascii?Q?QMDTAGDmj7hJlbopUvIR6lISN7XRevG0JlWx/EAeBeEjgqF78iTByLfH2k8x?= =?us-ascii?Q?7NoBACTFD2oFgLNiHcCvQD/rJowhI2yCbcFnd0DuWldjX2GFmHmLV/gftxT0?= =?us-ascii?Q?iVy2dlPrz2C+RxuU9bfkkN8OOOoXsSiy+XgsY+Kgr4f2U/0E4X74Xq3i547I?= =?us-ascii?Q?xfDaD+TUEtlrjOdLEOtc+tsJ9GUaNigd8f/nOzRo3xN57G0JxlFC3/eiDNS+?= =?us-ascii?Q?pUcUGnO5aBXyOyPyGAVoCjE=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: c056c6f1-14b8-4fe0-e10f-08d9eba9cb1c X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2022 08:54:33.8366 (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: QNBOJFZkegr3tzI/Xd+s2MzPJM8N+fvNLTPvDWMW4lN8P+Wiv6sRQYLH5kErVSna9LgqVxP+dVe935xGfI+idw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1821 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: Monday, February 7, 2022 5:49 PM > To: Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix inline length for multi-segment TSO >=20 > This patch removes a redundant assert in mlx5_tx_packet_multi_tso(). > That assert assured that the amount of bytes requested to be inlined > is greater than or equal to the minimum amount of bytes required > to be inlined. This requirement is either derived from the NIC > inlining mode or configured through devargs. When using TSO this > requirement can be disregarded, because on all NICs it is satisfied by TS= O > inlining requirements, since TSO requires L2, L3, and L4 headers to be > inlined. >=20 > Fixes: 18a1c20044c0 ("net/mlx5: implement Tx burst template") > 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