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 20550A0548; Sun, 10 Oct 2021 07:46:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8561740042; Sun, 10 Oct 2021 07:46:13 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2085.outbound.protection.outlook.com [40.107.223.85]) by mails.dpdk.org (Postfix) with ESMTP id 1830740040 for ; Sun, 10 Oct 2021 07:46:11 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1MoT+krDKCpzFtbm86Hg1zrPTyDPgJy2l+js/ukK+A2t0G0uky5TUhIMTHIzBsmvI+BseV0nFbrv5QHyZKdoicv3cItypE4Oet2OYGzNS+t1tzy/5srEyBO7qFx9PhCHSwYrF1lqB5tYIb0asmxZixK1o6FeduY2LvhnmjeDI4c9f3nVEzdCQxgg1JK1xpFUwcMEtQptShZSwE+zsc5X7mmgP2CD15ifQtzU39nh9m7goMyox59tt0rQjEGvm4L/QRCc4eiQq65CGPtS7p6iNBjzHyCkx4aueWlMNnSDmgV5Pj/E4lfbUmSrCCG8Hl3M2EbKJZSpYmPUyOA9tjZfA== 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=sy+SCkOfGMFQbj81eSeBV3GwEhNyQ4sNLqXzqVscSm4=; b=cHHLc9KmnWALlDNcxNh8E6GsuBYPwwUKhgfZEFfzyoTOmv2beto5ONs9x+/CKRP5uN9MCJIk7lRxVyKPQPZvoGYvKDV5sFHQqgCNtCwEThTxjnXgDLagxWWax4yGGn4sjW/LUggsCzbuXCz098YUghtOIfrL/vny7r41tkR6VIM195civgbW6X5qbFsfZoJ7xNokcRhkpxwPQbewfwQjMqZ3OhWInMhWZjuixMd+mLtsuy9wLff6pNVcn6vBqepD/ITV+YChLwXQnsdEC61J4nNPR+LaJ9L3UNPCmaMNu1ShsQXCMcWzIsQYIYFgHQ/QJXvx1HVjcj9ZRainK+OF/w== 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=sy+SCkOfGMFQbj81eSeBV3GwEhNyQ4sNLqXzqVscSm4=; b=t8xLKEuq0GSmETKzhEj61VJhHyEwsedsXcUf9Wo40UVt16ehcsLZwAIriR/005IUvBini6cRYvVeLSQokMs0S6s4U/DzgK4fzS23CxpN5vOn8GbvT7bd0UG4U1ScbXiz2j5BKsx65ygwSnmozEWlH8HiwFAxDY10GOC4WQOoBSC165JLsunlC+2yiRgBdnFcikdsWUALwUJCpw2fB7/9/fp9xEm2EXcEn5mzb4ZtLZ4MeX1Txu9dcEz6G26eIhujDENJFeqVttcRs/zV6R630QMmHInha11GCOQBcrxN0aYK8bsNUYKYxFBZ1pH9LTL6sJShFt2vvrsUJJrO6DJ9cQ== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.20; Sun, 10 Oct 2021 05:46:08 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::45be:2914:19ef:f4bb%3]) with mapi id 15.20.4587.025; Sun, 10 Oct 2021 05:46:08 +0000 From: Matan Azrad To: Ferruh Yigit , Jerin Jacob , Xiaoyun Li , Ajit Khaparde , Somnath Kotur , Igor Russkikh , Somalapuram Amaranath , Rasesh Mody , Shahed Shaikh , Chas Williams , "Min Hu (Connor)" , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Rahul Lakkireddy , Hemant Agrawal , Sachin Saxena , Haiyue Wang , Marcin Wojtas , Michal Krawczyk , Shai Brandes , Evgeny Schemeilin , Igor Chauskin , Gagandeep Singh , John Daley , Hyong Youb Kim , Gaetan Rivet , Qi Zhang , Xiao Wang , Ziyang Xuan , Xiaoyun Wang , Guoyang Zhou , Yisen Zhuang , Lijun Ou , Beilei Xing , Jingjing Wu , Qiming Yang , Andrew Boyer , Rosen Xu , Slava Ovsiienko , Zyta Szpak , Liron Himi , Heinrich Kuhn , Harman Kalra , Nalla Pradeep , Radha Mohan Chintakuntla , Veerasenareddy Burru , Devendra Singh Rawat , Andrew Rybchenko , Maciej Czekaj , Jiawen Wu , Jian Wang , Maxime Coquelin , Chenbo Xia , Yong Wang , Konstantin Ananyev , Radu Nicolau , Akhil Goyal , David Hunt , John McNamara , NBU-Contact-Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [PATCH v5 4/6] ethdev: remove jumbo offload flag Thread-Index: AQHXu5xnM0uubhBiGEmShB2nGYhpwKvLu6ig Date: Sun, 10 Oct 2021 05:46:08 +0000 Message-ID: References: <20211001143624.3744505-1-ferruh.yigit@intel.com> <20211007165626.2941995-1-ferruh.yigit@intel.com> <20211007165626.2941995-4-ferruh.yigit@intel.com> In-Reply-To: <20211007165626.2941995-4-ferruh.yigit@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 47cb8d88-0f2e-4bd9-286a-08d98bb1422c x-ms-traffictypediagnostic: DM4PR12MB5389: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hj9xpiGjZiSoDMPoc6kwKEuQ6qwRs3Q2jV8MdQ5gNr+dVFvXIuqQB4AYFYV2o4fPR3TAhetF7wwLp1VhsXa103p3PgTJ5wxg4CCgC5atrSjEs2U8MMxHQn/xiDCP1O4dajJPEveQHM1AnAGvQyVXDhL6p+vo3vxcte82GD9e2O/p1QXyhUrlvNbJxA3IM+Iw5p1cp1JQ1pMlN325pdr0Ny1yLS0u72COLrYopjdhfMuYKYlyZex7jyZfZeCfdv5CIs7TKH6+w3OT2tDLwYnvswlPOsesEc/aFAmhFMdfuY6yxMB4vXXwVCsnVrlcMbocVDgjWhnCB+ZXi667xPLgViD81oSpRBqUwbTcrL020YbOw22G09GwXZr7n4o0+PeUkpHpujHm3K6vFng0UXIxgOJVqDEh8qQROtVFnvLf7hfMZx5QFW0d/QAJ2+GpXwru2yTL+gjOn9iZXyL8WvEMMk8MJKXPLuiapEsmnHD4A51oBbt49MgVefkZl/nmkuOjjDhOg2+4DTahpWjboy5QPKGlC086GwwREKW7cqJOxPGlPKE40pB9cwE4IOM2nQlUnOC0E6nsgf2IIE3jFD6fszvo4Hb2FXP9aEJmJPwcw9b70gags8J+gmL+0n1zLKuOnSEXyasQyNS2E3uTgNzVMOoBuK+YijKydYYcOArw9qUl8tvOyDGePinomCSNakVTJdrvDdxp2c9sBJQd+waxJaA/7u32wqEcdzjh7ULDbiU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(66946007)(9686003)(66476007)(66556008)(64756008)(66446008)(26005)(76116006)(4326008)(508600001)(52536014)(186003)(5660300002)(4744005)(122000001)(316002)(110136005)(33656002)(7416002)(38070700005)(6506007)(38100700002)(2906002)(8676002)(7696005)(86362001)(8936002)(1191002)(83380400001)(921005)(7366002)(7406005)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Fo+8rLt/9t4AiZ+aOUZvaPxNVBl+jcQJlg6uJeR00p6jeeZlvswP8nwmoY7B?= =?us-ascii?Q?7T/zMWSo+TOi1DlhdQ/PmX5vi40zFJyNYs97i2/fPxIcOt+s/pcGixG/JYga?= =?us-ascii?Q?PTcMW3jRNELc3pbyrD+rxmocI2OtgAupUQKJORwWn2fP2vtdwJWySqc0/l29?= =?us-ascii?Q?r65KgIY1H9ug/ioRsVbrHCc1MFCnvkmRLfbUJWDrmbiVwPWNmI2JQ9yMeJKR?= =?us-ascii?Q?Kb7oP6i0nCkdUFZY3YZToCJNqQ5u7lPZ36N0AYGXEQGrcTiGgvsxBUhaRcuY?= =?us-ascii?Q?3p2EiiVMzwZGLEyXDP+1lSCT1eug2/w62ZSrfyaZw6QR2GUWR33IU5t8nC3G?= =?us-ascii?Q?6QdoNcasSDKpNhxG2oYrxEW6rkpUDmnpXkQq6Q5CcG0sbEktb8INLppBJh6G?= =?us-ascii?Q?dIjvun0AsCEVK1lagwcUBFzfYzR1e9V6ApAY4Wj2hKcMXmfv/bd0l8CGbrLs?= =?us-ascii?Q?DCEHxPHYtI5P1UKO3z5uuAxziXq29bhCfPkuQNB3LdPt7/NIScrOZetm8yEI?= =?us-ascii?Q?r+k/pAAuWYL235ekKCICm6GMRB1hSE96XZhd2+qIW3o46FQDaMLwiOlmTfFt?= =?us-ascii?Q?oS0tsvokLJPwTts4zn1dFmO/KKNAhxGGgbcJ3U0pp0rEtrDhEZNAY8Zl5xoU?= =?us-ascii?Q?OCqMyx5+hGvgc+eikuc6NwSoKp28i7lwjP8jbGf0mvsM/JiD2U3erePCT/FQ?= =?us-ascii?Q?qQMknTlWk2LIvJ8Sjzq8T0BQvPUxkzgde07t+3keY+ksVNF0cEVxDBTaFaQy?= =?us-ascii?Q?sm1ZaXgKYesGYvTSsdXpFiGXq9L7Nyvrwyh0B/paj8cQ4CN4hnoxN36bffmG?= =?us-ascii?Q?JvO7VREBlFVRHQ2Rmpvs/SZvkoLo+hrgim46zJgRYBAQniA06v79IvMrxz8i?= =?us-ascii?Q?O/5t9HgqbpWUPCQV1LT5YTJKEedFYMP689kov16gUhAGcjwlEOy2cIP2MglC?= =?us-ascii?Q?32MoxeOBf5S2NDQY7LsvEihufNn53XJsf+lrKSjsP5L5B0Ntv3xr6qVN/X/4?= =?us-ascii?Q?1CXKmemFOsLecJ9IujVnkdG6phBXPy5KDKf3AiloSExgxwxB8IHhPe894d8p?= =?us-ascii?Q?DkXe5x4yyrHFWYz7aZBOVN54d+209Yz+8Yaj7asFg3S/+jCrChx/mSoSA3T8?= =?us-ascii?Q?a+B9Auf2hbjWwq+cDORR2HK4IYJN76XTFV14EVgUogmXsy5hs526ui3uwxHW?= =?us-ascii?Q?zaoLoz6l7U2qJq5NXdCQMrwC71oyZ5jkBB5f4zRuwBxZoy5LMrCKAL+PCyJ7?= =?us-ascii?Q?w2Z8zFaZbN5VVCByoBaveY+vir++3ZAAKRuwbOjfJRwlA6OJbDI9+fxwjrAL?= =?us-ascii?Q?4XjXBcd5LeonpWtM7wm26tSw?= 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: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 47cb8d88-0f2e-4bd9-286a-08d98bb1422c X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2021 05:46:08.3804 (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: I/ZE0QpSrjbkKfKVWTiNvoj2DLSm8B8yJ9nGaheaI7UhBY8FRr5KBllhgMM740NH9bF6sUXCSiuRmJX7knrBXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5389 Subject: Re: [dpdk-dev] [PATCH v5 4/6] ethdev: remove jumbo offload flag 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" From: Ferruh Yigit > Removing 'DEV_RX_OFFLOAD_JUMBO_FRAME' offload flag. >=20 > Instead of drivers announce this capability, application can deduct the > capability by checking reported 'dev_info.max_mtu' or > 'dev_info.max_rx_pktlen'. >=20 > And instead of application setting this flag explicitly to enable jumbo > frames, this can be deduced by driver by comparing requested 'mtu' to > 'RTE_ETHER_MTU'. >=20 > Removing this additional configuration for simplification. >=20 > Suggested-by: Konstantin Ananyev > Signed-off-by: Ferruh Yigit > Acked-by: Andrew Rybchenko > Reviewed-by: Rosen Xu > Acked-by: Somnath Kotur Acked-by: Matan Azrad For mlx4/5 PMDs.