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 25F06A0C4C; Tue, 5 Oct 2021 18:48:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 10755413ED; Tue, 5 Oct 2021 18:48:12 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 7EC44413E2 for ; Tue, 5 Oct 2021 18:48:09 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10128"; a="225694218" X-IronPort-AV: E=Sophos;i="5.85,349,1624345200"; d="scan'208";a="225694218" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2021 09:48:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,349,1624345200"; d="scan'208";a="544955237" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 05 Oct 2021 09:48:08 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 5 Oct 2021 09:48:08 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 5 Oct 2021 09:48:07 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 5 Oct 2021 09:48:07 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 5 Oct 2021 09:48:06 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QGKw4a9DMMNlBK1KUdTN5eUKh8m5hJIWB6Rjmt6qRSrS73bPmywYBXWMbCAbdO5mSFG9iywFTfmABD2vyz3k50ORzg6Foqohe/FhsgNtXkXHjMERLSRps5L98yrBPQaxk0iPNmWZ3JIexqR67JcBkZLAKhtlXQBEh1szi4Hh8JYPs/vLCMY2K7g9PjXZgf3wc5D53ewMjtPylKF/D0c9VFwZvsMVmImIKbP6dF0RYzTUHD4j6UjATwFistB9pQBR52ZhvIHZQpneMacwBte8r4H89Fz4kWeEwRCjW8zNwvhaUvec8KscNH7UiCOzZR/g9zJR4Jt7gM/JyWrKx4BAQA== 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=AJPZ307yON0080/tXFtn5zena7TdBV9F1k6Omn1mflw=; b=IP3kM5+I+XsNntiNZhpuDmxYLbCtRLzdOJvYBs+yDrTdBiUzk5BBj8HcZs4dFBcyp6t58yJqj1CvP5QVA8l/3y5x2xbJcXDp8n70IWEu2gfeZ2y2bJm9xTc78pqQRiYioKScxa5YoFmNLTYDIIg2Y76Ku4NrArzPzAaHM3uFEkJI7im6ebUUZfeWVEqzLwuGtWdD2BtspEyIxqH80HQ2suuMHZCnIAx8/6X0vmvpMKqdkhyrjCC0a/xHm/hXlxbKqpCf7Ryi3RLXMVUFH9WG4lJMSFtrGWxT37k0Rf0+CO/a5vf1XxP3Q7j2FZF3fepH3AmFVU9CfhFKUVPqp0Aa8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AJPZ307yON0080/tXFtn5zena7TdBV9F1k6Omn1mflw=; b=ONc4tpxj/4egTsnpBKkDowvPo0s8prWM2Q/7y3tApvRWhILhhG1NtPWfryRot8PNn6N2duR4KSnw6+ouPtMAbji9pH3oTfQpYu14N3EchfAXPjGOZjuMk5jHk0J1jzC2cBpKIQ4pfdb3am13VBI29pztuYOpUnfTZRswapGw1GA= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4918.namprd11.prod.outlook.com (2603:10b6:510:31::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15; Tue, 5 Oct 2021 16:48:06 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4566.022; Tue, 5 Oct 2021 16:48:06 +0000 Message-ID: Date: Tue, 5 Oct 2021 17:48:00 +0100 Content-Language: en-US To: Somnath Kotur CC: dev References: <20210722172113.3236450-1-ferruh.yigit@intel.com> <20211001143624.3744505-1-ferruh.yigit@intel.com> <20211001143624.3744505-4-ferruh.yigit@intel.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB8P191CA0005.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::15) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB8P191CA0005.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15 via Frontend Transport; Tue, 5 Oct 2021 16:48:05 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5ebd9396-6a30-4324-0c22-08d9881fe774 X-MS-TrafficTypeDiagnostic: PH0PR11MB4918: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3513; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JTumoW4TT2NpD6mio4AmWO9iomM2V/zmjXiU0scjT6IrE6B7LSzTt8c8iXcqUYzmRe5fgVfOW7wlf2XnTFhH+sbl58YJ7v3Xj3sJ+YNCKe9LmR4+aoX6zIkgZGb2oFHxJmHxgp+ZEgf/EAlwnZMshby/55NG02ojfjChRXPNivPtEYPzwzlU3t0a/6RCAxmMD/pPA+WyimY+/VNMrMpq9y6nJWUlfZPDfVdvwPDyXree9LcUmC4R7ZEYdzfP7Mrx57JCpidcGQTe1N92+mgDi/jGhvJ0NfgSyVwqIRQ5jRTq2n1/NLly4OL6H/az+TEyU0ft5OOJUZLEVHOHm85KXj9n8fXzabFjqmgXB1PiWc4M34PvgfIPFRQnLEqpLsMq06/ZEUuzhf4ILuNTHX2BSj/vEm3h/tOJNSiHUY39WEHGsKwzGhcIFNgl4wNDVJcq1fh0lO8D5sOgxQ1iaz8R4q0B4CyXNPEhLzlDiKLT3PW9oXEPcmu+q2fulpOXtin7i0cCzwAiQiey+c5QEAVVF1k9PgL455/KQy6SRPDxxMOep+/VilFB7ITp8CEgj6FMOtv9XXQPCQ28t3FtrMBDcO9HVWmBBzZKtC5wqDGkgpKD4c/ttyEAP+HT14O5HbRZOIBad9SnQEArJAczAdRYU1MNv3PyAg9yea5F6HbVRwuED2FeKsWCMY2gHxPKDjl/iEmTNns56s9rDy8yIWRs3w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6916009)(6486002)(5660300002)(26005)(16576012)(8936002)(53546011)(4326008)(44832011)(8676002)(2906002)(66476007)(66946007)(66556008)(6666004)(316002)(4744005)(2616005)(956004)(186003)(83380400001)(508600001)(38100700002)(36756003)(86362001)(31696002)(31686004)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ZTA4RXU5b1c5anlzYnRRRnBPYWphS1JKeTE1eEJMalZHL205ejltRnk2N0NF?= =?utf-8?B?Wm5SWHNaOVNmR1dDSDQ5MGxiUjkrVk5wR0xaMTgyNjA5KzdaREhVNnAyQTRU?= =?utf-8?B?WXZvbmNaU3dLTnpTWWVMQ1BiNGpRSnpFTm1nMVJwNWhSTmZSYlpsWFBSck9T?= =?utf-8?B?MDJsMHFGeXQ1YloyK2dsUUNvQnQwa1V5Y2JEU2FWbXRDaTlJNDRVL2YwdjdE?= =?utf-8?B?UnpwSllDeTg5bVR4UENCSk1WMVhRaktDRS9MWHYzYVRqYkZleXNxOFFIakpz?= =?utf-8?B?VGNJQVJwSnkzd3RGdEhSRmlad05WWlFQb3pEd1dqTnBMR2FhK1E2bHhYNkJw?= =?utf-8?B?R1NEWGRyK29TajMzOWtSZWdUSnRwTW9pMzZUc0JkTFBO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EpmSzB4Wk5qR1dPMFVwOGl6NlV2?= =?utf-8?B?ekMweWt5OVU1c3FBdXZzM0VENHlQdXVpOEhpZzlEK0VLc3lmTjMvQ1NDZTZO?= =?utf-8?B?U2tDZmZuQUNCUkswZUhhVjV0YlFaNWNpR0xSbXBwZEpiWUhOemJoZXBFRmpG?= =?utf-8?B?RFpFTGFJN1NuWkZmRk9MaXFHQ2pnR0p1Y1dBTTlTMy9MRGhEd2hpQk9KcjV0?= =?utf-8?B?L2tFTi9ndjRaVml2dGhzbkJUcG11QzJ4QjV1aTBLZEIyWDhvWGV0SkpkVTFu?= =?utf-8?B?UDNyNUJ6bllmekN1TlRiZGlBamNLVjBSclFEdmhnRUZFKzBFZUI2akhsVUp2?= =?utf-8?B?elEvMVN4emtVN2lKMFR0Z1BvL3U0cWpHRG9ua1hWbHFEMVJLOFRCajUwYzla?= =?utf-8?B?cHVoUkVQRUhaWW9MUVZ5a3FNNEtmMlcyMCtsdVdVY2pmVjcwak55TW9DajIy?= =?utf-8?Q?75l4doUy9HI3u7Se9ZArdHgB3Lqo1TmYSBQy+Ib?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5ebd9396-6a30-4324-0c22-08d9881fe774 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2021 16:48:06.0491 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: qVF6Blm71Kn3HPcmnh5W2ZKlyTjNW0p2sYcda91FLJLA6bzsB/UX7zcI7scLYFSfaUrQR1Wwno7GXTht2VdEGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4918 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 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" On 10/4/2021 8:55 AM, Somnath Kotur wrote: > On Mon, Oct 4, 2021 at 10:42 AM Somnath Kotur > wrote: >> On Fri, Oct 1, 2021 at 8:07 PM Ferruh Yigit wrote: >>> Removing 'DEV_RX_OFFLOAD_JUMBO_FRAME' offload flag. >>> >>> Instead of drivers announce this capability, application can deduct the >>> capability by checking reported 'dev_info.max_mtu' or >>> 'dev_info.max_rx_pktlen'. >>> >>> And instead of application explicitly set this flag to enable jumbo >> application setting this flag explicitly sounds better? ack >>> frames, this can be deducted by driver by comparing requested 'mtu' to >> typo, think you meant 'deduced' ?:) yep. Thanks Somnath, I am sending a new version with above fixes.