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 B7CFBA04A9; Tue, 8 Feb 2022 03:21:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2853B4014E; Tue, 8 Feb 2022 03:21:22 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id E864F40141 for ; Tue, 8 Feb 2022 03:21:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644286880; x=1675822880; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=dRuz+Kii+1ZMLsqoPukyPq1DdH72TxLz8xTc30H91kk=; b=eHB4W5YQQZAVR0apTecSuH4bjTnsVRhyE7mCpwuOIOg1xVy0j7gxbeeK lsMWbn+48gUY/FDnGTAnB10E/CQapnLRExbqcJyHYF7hUbnhjMuTlaybH x4vDZ9IoI/vpMeZS8zBjTg98sf5CPPWJRiwjG56o0L5NVcES8tnLV9+Oj 3EIXnsQKUsSQgO2/iXLHp2LxS5TwjNXQ40zUrmwRlUk0t5yOPF6H6zQ47 i62d98UhM45MDNHpBG+TMSKwbOdtjDSh3WMp7plGUEvZp0SnvFBlVE0NV rdMx0Z2dGt0Z0+6mRhyxwFV+DPlh2/eRIW+fS7AbX7yR2OLKr2meSJG7T w==; X-IronPort-AV: E=McAfee;i="6200,9189,10251"; a="309598282" X-IronPort-AV: E=Sophos;i="5.88,351,1635231600"; d="scan'208";a="309598282" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 18:21:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,351,1635231600"; d="scan'208";a="585038235" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by fmsmga008.fm.intel.com with ESMTP; 07 Feb 2022 18:21:18 -0800 Received: from orsmsx603.amr.corp.intel.com (10.22.229.16) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 7 Feb 2022 18:21:18 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Mon, 7 Feb 2022 18:21:18 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) 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.2308.20; Mon, 7 Feb 2022 18:21:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yjsc8mjD6zOMS1cfTfzj84u54p9uvb76OOrTq9WlQRNkBqvEX0lhiawi4uLz9Fl+2FBsNLwZHCM1ZzHOPVZ7uBKpsZiWlwQbXJK41x83gK/OdtJtZ6mdm0mIqMDSzgT+d8rmqcWUAPY0dGxeUopVLr7l/iRL8FfvKl67PT4hgq+SJpmqtoDncGlpCMZShMPgXe1cBZyND0tnAjnIj7QcMX1huJ/w+AN5SOV26cx7pLNm0n7LlPh3jQ8Hf3c7Yiic3iEg3wPEFr/+4r7FgDTtesIzlgI8RWSJlBf/SDF6CTgx7rTi8MWHG/2aGCK7DbHJPNJ7Suk6Ex9GlQOlGBPcfg== 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=dRuz+Kii+1ZMLsqoPukyPq1DdH72TxLz8xTc30H91kk=; b=egpMuSVigjzTurcsxD11PSDJTARFv7jRSO05WCHspSHM6jvv0oNjzD+/jk4YK/S05r2VNqydmVUmArjI4KVZ7hfRJ2MRcqRtt66V1PENxtwh3hBXkGPeG4iS+p8ee5naNwihped+jvCI27PI7XttszfhNa04C+IYGV4HybYCAFJ2+WEa4Rae7iOOH903oDfTloGN2Q9ky85051+897QRlEDDa4mdhXNXi7Zo0MlFEhj5kC2klNFPBU9oAhywaIIuB7f4JWq/FxjRXkszaqs5zDeLVN1AqijYt6D+66KyNXT67TJz1T2cfXzorH+ynKRZnLVC8VHOQQZvDc+wGl34PA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DM5PR11MB1276.namprd11.prod.outlook.com (2603:10b6:3:14::18) by MWHPR11MB2061.namprd11.prod.outlook.com (2603:10b6:300:28::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Tue, 8 Feb 2022 02:21:08 +0000 Received: from DM5PR11MB1276.namprd11.prod.outlook.com ([fe80::d0f2:5b1b:7eb5:55c3]) by DM5PR11MB1276.namprd11.prod.outlook.com ([fe80::d0f2:5b1b:7eb5:55c3%5]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 02:21:07 +0000 From: "Han, YingyaX" To: "Morrissey, Sean" CC: "dev@dpdk.org" , "Morrissey, Sean" , "Ananyev, Konstantin" Subject: RE: [PATCH v5 1/2] examples/l3fwd: add config file support for LPM/FIB Thread-Topic: [PATCH v5 1/2] examples/l3fwd: add config file support for LPM/FIB Thread-Index: AQHYGgHFriTIInPgxE2tLHStbhNMc6yI71fg Date: Tue, 8 Feb 2022 02:21:07 +0000 Message-ID: References: <20220126124459.2469838-1-sean.morrissey@intel.com> <20220204195905.449192-1-sean.morrissey@intel.com> <20220204195905.449192-2-sean.morrissey@intel.com> In-Reply-To: <20220204195905.449192-2-sean.morrissey@intel.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=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c0068adf-1661-4b94-77a1-08d9eaa9aa73 x-ms-traffictypediagnostic: MWHPR11MB2061:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1775; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ba2lVRPilafoaXXw/qyycYgIH4bI2jvhs/YkdBYXON6xL5L3dfnAf0dM8SOHLrMbKEbsG+ZlGDd0O/D9pzZxWp0dT0jPuqPXC1ArYegswzVY88YtqVm+59KM4+NZEhehJAY7sdPOQ5eApBV9qPwSXZlcB7OM7QQt0gF7KdpO4ol/TpoYcpY/g/r7OUc1txhGeX6IIuSE0XD1Zeoabt/Brv4LHWTcXyO8lFJOfwet7gN1eZu02v72isN0KY6eBiZe7HamPewBlD7hDE1XMHRtA6zYl1tfnfOyGOUgQgB3317V/7JWzdQ4dRULgM7UURBo5w3Q159f37j4C3HUEGsX/TWyRdLFOTyfSBKhqA73Js8J9nhI5t3xQ4YgL9JL7h02Yr1S+nx/tjVNRgJ2Dp/Ufyj+s4Qi/49jm8qRgouxE0yHC8oM434eKfUief+/jO6BdY6CLgUuruU5KIOeC3pXNqYnaiQBM84RoleY5kwwYowxKyCV+GAfnwSsoUMqOerL2BSMnUcKXFMOuYnIdEGzJQP+k7ekFlORIirgUnBQCvEp3qKailYTMfPjHI2cZRm9xwiqDy7hrZiyVEX8PiuxlO8xrcgapKa9TdHjcGR1DflzJjbwjlXba2GO0OHHoZKNGJ2jMZa+bzR6zIgSz2UGbhBRskdbtw2uDLsQXmJFjzgmY/Fc+x7EQbW5sJ9IYdoCeEB1Xw6gnt+O4dp+dzB3MQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR11MB1276.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(7696005)(54906003)(6506007)(38100700002)(26005)(9686003)(316002)(107886003)(86362001)(6636002)(66946007)(55016003)(64756008)(186003)(122000001)(66446008)(4326008)(508600001)(6862004)(33656002)(8676002)(8936002)(66476007)(66556008)(52536014)(83380400001)(4744005)(38070700005)(71200400001)(82960400001)(2906002)(76116006)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+ds1Fahh1Asr5jk6+T1tiG0tdeSDnfVOdD6+bcCftcb2rGhLjNYw/p2cV/Hs?= =?us-ascii?Q?voPq/fneGNSDHiU0EBQtxXO0U0DDiYAejIXenIX0SEs7SSVzAXgnIZoWdsEr?= =?us-ascii?Q?2IHhS9gr3TtExlTm7MpY18KBaM3wrHBCFNYlDSiZKCskYxlwo4UehgHJXPSf?= =?us-ascii?Q?FSRP1taAkrIT6em72exRRt9WZ1gUTO3132atb4gIMQdc65cOgVnQGNVi16KP?= =?us-ascii?Q?nVQfdZB+xzTYJB6IEMbguSUjRglvOwYL+PdasXVujHMxWWU6ITXoCqW+tzPa?= =?us-ascii?Q?tZ+pQZpbWloq9Rd8BRlE047njq9ZeNZsyYzs9ftege4cq/QVAvx4D7ber7bv?= =?us-ascii?Q?3XvmkHDHs/zMmSnmL0GJXVPZutZ7I6z5XdBMwW+4ZhIPATpI9jZYylRy+mto?= =?us-ascii?Q?gyrZCvLf3N0jE/gSS0qIqJ/z1TDYebR9GFIs6ayzYfQw8k+imL3IBESbrjCh?= =?us-ascii?Q?LLPIAK4LhZ8StgJNWMYl4NczWtxfgjLsqpgog0Y1ygV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GPZqOBnElXwxaXTMLIzXaCnB5Ap/edg6x5PVWVGuGTKok?= =?us-ascii?Q?HIRkmpwO/WMLaxCobIDqsoPoihMXA12tVUXpnhYFZPcl4kUSXECDBcQsDN+N?= =?us-ascii?Q?XmAvYpHTNYJJw43tvzQaZwnNlgUUfIXWrUYeTEief1jc2vRpoyMM2WBJXEtb?= =?us-ascii?Q?K9CYtg2Be1FfUExOS/x17ouk32WUQRWg1TShccQUEaqM+nQKWfYsVr/HMli6?= =?us-ascii?Q?rw=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: DM5PR11MB1276.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c0068adf-1661-4b94-77a1-08d9eaa9aa73 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2022 02:21:07.8608 (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: ESD+C3FzMA6Eb6K1YUz2nRfJ+7uGdVPbuOF0ozKu+Kq/eGc6HI0b3DyrzkTsA/NZZwb/QlsJd49Szr8OjjqsyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB2061 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 -----Original Message----- From: Sean Morrissey =20 Sent: Saturday, February 5, 2022 3:59 AM Cc: dev@dpdk.org; Morrissey, Sean ; Ananyev, Kons= tantin Subject: [PATCH v5 1/2] examples/l3fwd: add config file support for LPM/FIB Add support to define ipv4 and ipv6 forwarding tables from reading from a c= onfig file for LPM and FIB, with format similar to l3fwd-acl one. Users can now use the default hardcoded route tables or optionally config f= iles. Default config files have been provided for use with LPM and FIB. Signed-off-by: Sean Morrissey Acked-by: Konstantin Ananyev Tested-by: Yingya Han < yingyax.han@intel.com>