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 DDE93A0C4E; Tue, 2 Nov 2021 12:20:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C70740689; Tue, 2 Nov 2021 12:20:11 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5909F4003F for ; Tue, 2 Nov 2021 12:20:10 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10155"; a="292072091" X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="292072091" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Nov 2021 04:20:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,202,1631602800"; d="scan'208";a="728611716" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga005.fm.intel.com with ESMTP; 02 Nov 2021 04:20:09 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 2 Nov 2021 04:20:08 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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, 2 Nov 2021 04:20:08 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Tue, 2 Nov 2021 04:20:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y/A0dT31wSyWzUNbP+0H1iLi/4TfviUYf1hTTc+b57Jsxp2Nyr9ff318rBjPw6riE2+o7snFfiegIqpjhZJJ3wg9tBSc3Njnw8Nvb0tSyYmfiFn5vf42zb1vvR9Qxx4JqYW17bTtuTUuzSc3pG+Bsb3W8/58G3zaeha2JvdUWSXqrwy7sVU8MHvTzNVG+BxNBx36UwjsvbaHeE1Lt5GrOFFUHd1f02CYaFkgKJjuc/ZQTDPWZDMdlckF5oGwD5C2KtYcPgZaaBpxWRzLh4yCIq2y9Gau5i3ZS7jCS+O9ap9ha4I2t9IcbfoJM0uCkJYF96hBBFdX4HLRIXstPKm0+Q== 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=bDZ4UT5NGgh4wKODYCLC0vJm+e0MUVNf6yQLdNC9VmQ=; b=Y4qoeaBSY+89yiHpKS44lLLTWSAYvCMbqf5+2SUzKNHJu/3oA2YxNnr3tgzWgi9kxi3EZ3gkFRtfaHWr4gdiWnMRh/z9O4j1qnXpbZhx12m83WVxN+8sEJTEEqBLjmib8OKg2v+pj1rUfPsM3cCYVpiYqxflymxoYiMuQug3nMtO5MIz3oUk8yfaDa4UvPXO7MEPuAuRnB63XaUGhYuU7qWZvqJkBnpS7PfFeN0DyivkLa+uxUWi8oMjEtlD/eoIVblG7+VO+/4B0/WxaZvtCbr3S33wEjtG3NO6rMA9NxJJwi+N90CRCON4CGa/5rUTn6AFKc1w8Huk2InanzFKpw== 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=bDZ4UT5NGgh4wKODYCLC0vJm+e0MUVNf6yQLdNC9VmQ=; b=ocOvBi+/8SmsVwkjYVAesObuGtbZF2SPqaTQWPOpJO+yMlSxNeManxjNLYVhifftbejjIhRu6pSr5h4858ysoPk/Vv0pi1XOdSsk8qmVhebu3d2eTMHMlzWfuGvg3uiO53aXavecjPe/RAR8E6kaWiCFQ8QL4KJxOC77bXPEpNs= Received: from DM6PR11MB4491.namprd11.prod.outlook.com (2603:10b6:5:204::19) by DM5PR11MB1756.namprd11.prod.outlook.com (2603:10b6:3:114::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.17; Tue, 2 Nov 2021 11:20:04 +0000 Received: from DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::2c0c:5383:f814:3b4e]) by DM6PR11MB4491.namprd11.prod.outlook.com ([fe80::2c0c:5383:f814:3b4e%6]) with mapi id 15.20.4649.019; Tue, 2 Nov 2021 11:20:04 +0000 From: "Ananyev, Konstantin" To: "Richardson, Bruce" , Ben Magistro CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] Overriding rte_config.h Thread-Index: AQHXzMu96w1iPybAWkKNztL+Glx606vuybQAgAFNvBA= Date: Tue, 2 Nov 2021 11:20:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.200.16 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ac6dcbc5-a2f2-4470-c1f1-08d99df2b83d x-ms-traffictypediagnostic: DM5PR11MB1756: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5bX1ZJ+9arSAj4ry+D+xSO/Z+1iHAeG1Fei3HbGOrzvAunNnyl2QNP+xq4c/7LajHR9UmxfNC2z68gEmnfXwbjojlqStFsJLbQyZg+IRix1Ou3lFN3lApuSLKJTz4gyt4BiJ3/G6K1X3NVZxFQ0OQ94VSwAJRUe2mmMdtcD/nbkvcIbnCmaq5r+a78pGv1QPu5pWdMNGDRlHZpFKvBPvf5qbRlLbdTc9DyWORi3/fnsFnjb8yzYGeqZkBblQpAEMOOs/knl44bn5HF2W69oPCVVpO0ZmPgKGlOGNoO4X5aHIZ4xLcysX0cViXOY4wvvbFoZz3ys+Q183caHby/sn0vVGqhPwtAReFLBN3gksb3M7o/LbQSu0CVSSgBHAUgazDe+OsRSUgrMt7dZf4tkj7vNSN8NYZiMfDik4DoeCNTGg1xHnEOhieq8pafYqBVQFeil0oIGNaZofBeaY5VkGW8CYl/bs9ODELB6sZVj1o8qz0IkL6cB1fVV7ADGscv0Ak5mvI00wfbnj612Cfl8PEfzAHjJmj6H3bTOfaoEQMwWL5qxgy8Me6iqwdZhfOiBTvnwKD3VYQt5am4cd15uwjr5fgeFECOry47dpFMyRu/+jfsWy4v6ydybFSP5K46okMUYicKesWimQTO1oXAVznxE+sCVM86A9aZRPEw5fZSspUOiEXeWw6+MfYWzsXUtuwXz/thcJ0ZsGTsiynjJf9g== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4491.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(2906002)(71200400001)(508600001)(5660300002)(66946007)(86362001)(76116006)(64756008)(66476007)(66446008)(66556008)(52536014)(38070700005)(4326008)(8936002)(55016002)(38100700002)(9686003)(8676002)(7696005)(6506007)(122000001)(33656002)(55236004)(316002)(82960400001)(110136005)(186003)(26005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?OAA0x6je7MLDdx9ZNRpPklYA+NVQyL7Bzg6D/S8Om3RiMfb3zzWd5KszZTPZ?= =?us-ascii?Q?9guJR27qixsewppZzppWfQ5Ao8byBowfWVIYRBZ2ZCBDvhGkMhiFHrewwpMK?= =?us-ascii?Q?oD5faFVLGh/BSoqdVXI7DJc/danfoD7AqI0EiOEtmu+mBXPh54leZ1U+c1Nu?= =?us-ascii?Q?faA4Vhk7q/4GVt3omOPJWX+rjyc2yrrj3bB5dFoMmZcS90ViHpf/KYP3RbiH?= =?us-ascii?Q?pIKShgrueAaQ+pljgt7psovf1xFqAiyFMCvD/QWH6ucewhH+NZ/+FEKPkur4?= =?us-ascii?Q?Bods6mU07oZIDQ+Kz6mC9CWwWJu4xhN/Y2UnKs0gK+/BVH4btmVmsayYfxFQ?= =?us-ascii?Q?bWd28CQOg9pUmyi1wqg3B0vPcGZVr1mOkwHpK3pTKWxHTdhhR4dnuJZRKMn7?= =?us-ascii?Q?Xjq/Nr+cZWoCnd14CeH2wsJbna5HVQJjuIVu5nx5IimNko9H+TQNtULVDnlx?= =?us-ascii?Q?lMJ7jmjjgaZNChNVkeqXwf72Xy7mlZlYK7c1C/LF6+m/LNsN5qrAGNx6vYdw?= =?us-ascii?Q?H33s3VjgLF74BgIQeEYX1oG1qcy15Caw5Y9AItju/lFxdekkWG6M0yrIHq/r?= =?us-ascii?Q?pzILHriSq+iy6B0h9dJ/cnhAvHgH8Od+mhlVlVYbpmCOxyxy2t9nBmxbPI3p?= =?us-ascii?Q?vQYLxzS1McKzuJdXu3xuGBCV5STehrCaNatkiD07LfuuP3/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JFByg7eriX25cuA4+tAEst/kq+yI3M?= =?us-ascii?Q?/JsVB0UedvG8AHSEcF5E4F3U9vRxukbV8D04suhdjNr3T/rPJvMowTmaPPGh?= =?us-ascii?Q?cQWxGg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4491.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac6dcbc5-a2f2-4470-c1f1-08d99df2b83d X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Nov 2021 11:20:04.7547 (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: YD61Uvrvuljs5fbLPfi/KAaPzuQ4CeRVuf5SemihI+tMLa+41uy/Lp2HHHQiECEv2MnZ9AZ7KqZPQ8JgYChquMrhGR4c+eFGDVQ4Gi7S7Mw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1756 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] Overriding rte_config.h 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 Fri, Oct 29, 2021 at 09:48:30AM -0400, Ben Magistro wrote: > > With the transition to meson, what is the best way to provide custom va= lues > > to parameters in rte_config.h? When using makefiles, (from memory, I > > think) we used common_base as a template that was copied in as a > > replacement for defconfig_x86.... Our current thinking is to apply a > > locally maintained patch so that we can track custom values easier to t= he > > rte_config.h file unless there is another way to pass in an overridden > > value. As an example, one of the values we are customizing is > > IP_FRAG_MAX_FRAG. > > > > Cheers, > > > There is no one defined way for overriding values in rte_config with the > meson build system, as values there are ones that should rarely need to b= e > overridden. If it's the case that one does need tuning, we generally want > to look to either change the default so it works for everyone, or > alternatively look to replace it with a runtime option. >=20 > In the absense of that, a locally maintained patch may be reasonable. To > what value do you want to change MAX_FRAG? Would it be worth considering = as > a newer default value in DPDK itself, since the current default is fairly > low? That might be an option, with IP_FRAG_MAX_FRAG=3D=3D8 it should be able to cover common jumbo frame size (9K) pretty easily. As a drawback default reassembly table size will double.=20 Even better would be to go a step further and rework lib/ip_frag to make it configurable runtime parameter.