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 4C71143D46; Mon, 25 Mar 2024 11:02:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D76EE40271; Mon, 25 Mar 2024 11:02:02 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 5E73440270 for ; Mon, 25 Mar 2024 11:02:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1711360921; x=1742896921; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=wSb3UxQGFVdnWKzQ+DU2XQB1fN20jnc31yiCau07Lr8=; b=d7QnKCHigfW6z/nBRmW/BnWugODRA3ZTwHPIFKy4HrsjKO7LCCsEnOiA vIf3O8EHczBfFmoihI5xinwYu9xi8VSXh061EbTaO2H3hit32fkHOngTa qKZ8h2R3+hXZJIwk3C0+cZEpH+5tSGOijCIt/UShTo0denloY4+LO5/f5 sHuCdmp4rBDiReJuxNl7JkeymwtDCVOOtvtphdtf8LoODWUo9a9sd8Ym3 DW0S2F+GtxQb48c4WNDnLFkOcjarJgUmn69/tPPrCVmApnI1+S0r9dBUA 4HY2knPbk7XVq4afndEeOU3dd6bgOhQJ2RZxdAjCoLwS58E38+6cR55DK w==; X-IronPort-AV: E=McAfee;i="6600,9927,11023"; a="31791192" X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="31791192" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2024 03:01:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,152,1708416000"; d="scan'208";a="15648730" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmviesa008.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Mar 2024 03:01:59 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 25 Mar 2024 03:01:58 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 25 Mar 2024 03:01:58 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 25 Mar 2024 03:01:58 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.169) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 25 Mar 2024 03:01:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GycTN9YtPIPPnULH9vi1+CeQrKln7Z1W2U7Pu9fmSBfUPRIryjZg9Wn3NLwTSR/v1xMSMfgqp2dO9jj6aNuwx01vw7bmMuWpBh284Gl+IO/NNUHDAuYeP94LHEpwSnfIplwyIJ2Xbau1NwAGdfIVoUtzwquFrnpWnzst9j+j5iHWxrSKXR8WiC1yZvsm6KmjCfcu0mxCzVSlegwq0VuUl+PA12YSFiRNZcSyvzmoDMnATmZGGFx9+3CVcVnadQTpL80VmY2MgGl+S9G1MMGlPNgP21xAJse351DK0HuUqtkz9TxfbLDgIpFiEowb6xT6wjy3M5eLVkGlPEl3z7MjyQ== 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=mhU34z2A5sbynt/cn4mxC/DNtOimJcHmmWEiBWDoWAU=; b=bgBwHjdfN+bFoWTL47iEhIc4Eq1a9Rju6CpWAC1pAueA2erChe2vd6Otm3Imtg4HHJQ7DTb1Kp8vNpaVApbBLWVBSHNZaopXdPz5DBxQWivamjy2dzFegpIJEkjbVp8gFpj5IHOn0g7Qa+SH+ZGKxOAepv70nMgbN7pHwhnuEd2zNp6bpNVfJtAj12L+NZc0W0GxyP8rBppgkY3vCfh6vUUuA9On+4iaGJhfnckKTIdzxenjjgR4eH2qKgopY7NKp45hc/vxCFfiIq2xVBBQ0X6DOcaivb6p/ANnzo1OMwiCZAY4bR8/TRnYWxgETxC0fodwnSaGEAWHk3WcocnGyg== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by SA1PR11MB7700.namprd11.prod.outlook.com (2603:10b6:806:330::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.31; Mon, 25 Mar 2024 10:01:56 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f%7]) with mapi id 15.20.7409.028; Mon, 25 Mar 2024 10:01:56 +0000 Date: Mon, 25 Mar 2024 10:01:52 +0000 From: Bruce Richardson To: Garrett D'Amore CC: "dev@dpdk.org" , Parthakumar Roy Subject: Re: meson option to customize RTE_PKTMBUF_HEADROOM patch Message-ID: References: Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: DB9PR01CA0007.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::12) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|SA1PR11MB7700:EE_ X-MS-Office365-Filtering-Correlation-Id: 7f00a36e-8695-4cb4-7114-08dc4cb29ac2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 2/LqgBu+y1/2PwgRGMcQ+CX9/VTTFZad6Rj2QEZtbFIr2zz2zlq11BycZukqNwC4P5fS0qO5H1L87mlz1CFbBTBV7bDkpulRc4QevWPN09MaEbjasbOtAJ+0KMtmtZjzgtfkeyomOlmSta0TiHcTlVHXDni/MW6YoiZi3eqBnA7DCxTLvhz7v8aTBvTOTNUYq4Yw9HWFIFkm3plsLD+LWGL2E5s/PRyYMK4LzpYlcb84ZO9XjKXfKmrw7zKtQamgEs2XbId4yp13kTbXyWSaqDGF0w90kYeT/kfT8HShrShGHnphUv1BwUxiasbfcKHdaXlodss4wjlUxGrbCLDefugxJHQrIiW8RMZVopNHA3DmTskCFwv/IyAGB6cdABco519ZpUGpUNFfm6iavthxiHA6mtdAAoUVK9b5waCKMAsxnxWnNRcx0utxB/kn/RioKzq83QpfB82V7n/TC4aR4nCSEw5AzgmUcBdta17Jm5OUBjT2+4az4FOoBFM9/JK+Ra5y+YsuZwyvoqI68x71tQJqdlEw1rDP+7IqdR5cjVWxHfnJZaAgEbjbePX0kLpiOfJdofSABqbbe2yVGgFpKUFD+gFi0KJke65iPoz1i9iazmkmprp/5t2PmzXTHzfyrQ66SjuRTsY1vyasWuYjRJqv+XZXxUCSBF+jsohFhNs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nTkaN9oMhzt0vMJdh0yjI1Stze2CGKMN70c8uiYGVlJdixwH8ha6NzucLSPD?= =?us-ascii?Q?YTqkru2CHDlH0BH9ScM/kRRoGNZ/6E2YmLw+ZhvlTlnv9xn8Fm1rQS2HJmz0?= =?us-ascii?Q?pmGBCEHmBPMB8J186tnLv0dn5ZWFK3ximyEpDnnzETIM+rYNVbMRyxKqgdv+?= =?us-ascii?Q?Jqij/2LEZeCvv1U2Ka3xpASJUsA09Pf29iIWRFMNNc7az6N19xcghuHd4EM0?= =?us-ascii?Q?77bn7f7rX9RJE/ofmL//jOnLib3nDsYQNTkhp/AlVAMt5iozk0q43nMlsxbK?= =?us-ascii?Q?oGHpizpFH8EuJAmSAKgb5N/Q+OM/spkJrPWcHDtVqJTO76hl6qz3HiuHR4mD?= =?us-ascii?Q?GWP3+0OfNfx8/GcDWnQc38K7zCaxqJqcfnLyvMsxEajXpHCJjXvVSB4f+X5R?= =?us-ascii?Q?kWFKxo7g2ju1zHfqPX+ZuluzCQoP3v3Y/ewdO9nGKkCSkytsL+qgH9VW1TTW?= =?us-ascii?Q?z5d+GDjLgSm0BSwqTOp4DKFgbKvTtWwQIj4eYm/2IJdWvGxlDdbT6MxuXBP6?= =?us-ascii?Q?g9sUTes0DenqTOab+bZXtU3QIjlAPP6UA6lsSEcjNZ+LUta5SUZ8tsXW1F9T?= =?us-ascii?Q?zR85g6O/3xjAXi0xbKNItm3O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2ReV7bUcQUDfps7vvXT04wf4WyYgHka58gJzUOVHpKz0SUEKDtz7aqa2afb?= =?us-ascii?Q?RBFpg35japccjhwJM05FayFQBBq/UFbTuj9Vc4DvSssE478Q1WI9xC0P87uO?= =?us-ascii?Q?mA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7f00a36e-8695-4cb4-7114-08dc4cb29ac2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2024 10:01:56.5237 (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: 5wZ7A2PIw3/yZFpwiGhpwF3/PZcSJhji7/NEIqp/JiwfZmqOXZN1s08mayrNYXwqCWWqLyUpsUuFbKNJA4+BNeXxe39Z3Kt8EDjKvUAL0PQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR11MB7700 X-OriginatorOrg: intel.com 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 On Sat, Mar 23, 2024 at 01:51:25PM -0700, Garrett D'Amore wrote: > So we right now (at WEKA) have a somewhat older version of DPDK that we > have customized heavily, and I am going to to need to to make the > headroom *dynamic* (passed in at run time, and per port.) > We have this requirement because we need payload to be at a specific > offset, but have to deal with different header lengths for IPv4 and now > IPv6. > My reason for pointing this out, is that I would dearly like if we > could collaborate on this -- this change is going to touch pretty much > every PMD (we don't need it on all of them as we only support a subset > of PMDs, but its still a significant set.) > I'm not sure if anyone else has considered such a need -- this > particular message caught my eye as I'm looking specifically in this > area right now. > Hi thanks for reaching out. Can you clarify a little more as to the need for this requirement? Can you not just set the headroom value to the max needed value for any port and use that? Is there an issue with having blank space at the start of a buffer? Thanks, /Bruce