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 8D34EA0548; Thu, 4 Nov 2021 11:28:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 54AD5410D5; Thu, 4 Nov 2021 11:28:32 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 57A2F40DFD for ; Thu, 4 Nov 2021 11:28:30 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10157"; a="218873284" X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="218873284" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2021 03:28:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,208,1631602800"; d="scan'208";a="501475390" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga008.jf.intel.com with ESMTP; 04 Nov 2021 03:28:29 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 4 Nov 2021 03:28:28 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) 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.2242.12; Thu, 4 Nov 2021 03:28:28 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 4 Nov 2021 03:28:28 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.43) 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.2242.12; Thu, 4 Nov 2021 03:28:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B6O63ryxW52mxR8637c7qB/CYGUORN9inE9mpd7Str8rygSXs5dHshrxnehCq+4/z8PAc45P1CZMcM+WAo7tqIVVAC2WunGWX6TM+Mk2JTYMVcYtmszpoeMnqiZ+GCrCsl1bVRu9rzD1OKQ6kYS1mA2j3jrFo0KGoPsJZcB11z85mN5O367V7VQezBybs0v5PrGU91e4OUtWucP7B+YKzVNMIUKpZn3J/eAo1+dyAbQ44+rjJs8+RcEWhKNeKcXMAokEu8mRryJnW9bSY4gysEYFqO1Sfk6ldOtwyeR6pLwN1iLMaX3N1CtLdJ5W+VkCDjTZWhEWtKAUdfmv17jvKg== 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=ezDkkbwSq0I1ZseMFfdsjEGCB9r2qIwYqWwgz6HXDcM=; b=W/Ae1E0Eab0YKZWwSZhd7BQo6AyaqFLgC1Qf7q3rqYQ1bhUrHHcdor6Vow0JzvqAPL7Z+EgkRbHULuCuJwFYmAQeozijIBrPUSX3y46BnswxaJ/iVJqyNnQiclJ2agt6wG1GjbktcToMdDzMFbMsiIRRwkIJvstITJ0ZfGpvKVKcaBkzHywbLB1pw5I9PdSQA4wYbetj6zbhRIsIJIz3UwJ4IZLo80dn7eYTcMKAdHiVBsgGo026+qVjfgX65y/9SfcjBhK2cc4Upd4VIfKmLuWKFBz0k1jqrJzFS1OjjwhBEDAMV/Tv1LFjYjvsL6xxRFZt9k8gdDbGUIcPs5eoRA== 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=ezDkkbwSq0I1ZseMFfdsjEGCB9r2qIwYqWwgz6HXDcM=; b=QnmJdsZj9YpVjN2cR2ll9RZMCq/KS4wTQTXcWsU4KwRgKTYHmndyuL0aSVlHcNHI77kwtPK1D5lVhh15DH95Tc2MN6k26zPeFtVNz9IcKoxv/y3YwPRzwaC+YA3t/nl0deF8w+6ZYExOgLi5ajsBiMx08cIk2tRyMcnvMl5xlDQ= Received: from PH0PR11MB5207.namprd11.prod.outlook.com (2603:10b6:510:32::15) by PH0PR11MB5045.namprd11.prod.outlook.com (2603:10b6:510:3f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.11; Thu, 4 Nov 2021 10:28:26 +0000 Received: from PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::f076:f51c:9101:b0ff]) by PH0PR11MB5207.namprd11.prod.outlook.com ([fe80::f076:f51c:9101:b0ff%8]) with mapi id 15.20.4669.013; Thu, 4 Nov 2021 10:28:26 +0000 From: "Walsh, Conor" To: "pbhagavatula@marvell.com" , "david.marchand@redhat.com" , "jerinj@marvell.com" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 1/3] examples/l3fwd: increase number of routes Thread-Index: AQHXuJT5PYo3McICgEWqBl0TPgXauKvzV4Lw Date: Thu, 4 Nov 2021 10:28:26 +0000 Message-ID: References: <20211003201110.10448-1-pbhagavatula@marvell.com> <20211003202448.10908-1-pbhagavatula@marvell.com> In-Reply-To: <20211003202448.10908-1-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.200.16 dlp-product: dlpe-windows authentication-results: marvell.com; dkim=none (message not signed) header.d=none;marvell.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62671536-5825-44a3-2353-08d99f7dd67c x-ms-traffictypediagnostic: PH0PR11MB5045: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vdtOcWgxDkaNxgj4WysKnuW9kq4cVU5KOSFDSCeU3PhgFjzdN50uChRcOQgcigBYN3tMWx4p77WaDif+wDbzCtKVdrvA9J6kidohPLD1KWBk3rtgG0/c1HLy/srTWFsXvoAS4Q38igYAqamFFIijC1PTrFcJzC/2vKjCzm4wAJ1Ex4o67GWugRMpGpd66HyDrHJnAdrgg7m39aWqZEbSnDnUGoHr6Md6rzVyB3JqgM2jBs58dBxPIGSLZHvtvWb+vC4AVjE/iS7W0Kj+iTrf2DgtwwrHgsw2nuau/ZqFA9zGKfxceJ6gSqArUK+bvCmrdIpwl0XAge8ANnHaJwKYAOBuT5Xih1M2Co+Cv/vO40SVgJS473jWrPjMRxHbfHXMNc37eGGkYzM7th/CGj8SWP7PgcaHuKImYED7T1yYJjNuvzLOW97HNkM/7pw9iOOLvDuFXEtqe/T2awvQnFKw4bjco+QdCsSo4yXiv0r319CYPzrE4FfkIk0Az5sqa/Z5vQIXG85aJ3wqlj3GNpOSnu30oQixRv1IAp4MNgapiNbdWOgTj9vq5ja23sJr1Twhpmg6hKSQ11jzgfWoSVpNSyta4Cxxge0gALPbd+sKVc4rkDN15pLFrpIlq6V+LA5C2TTG+LlrtwXz9jnBmxLvjLegqf6ti2Gs9BrVAkq7GVjjYA+JyD9/LRhLgZwBNp1MeioqlWqIo9mb/gUWmsThdA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5207.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(9686003)(55016002)(316002)(71200400001)(82960400001)(76116006)(66946007)(8936002)(122000001)(186003)(38100700002)(66446008)(64756008)(38070700005)(66556008)(66476007)(4326008)(7696005)(6506007)(2906002)(86362001)(53546011)(8676002)(5660300002)(33656002)(26005)(52536014)(110136005)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?r/WZrrTjRQZyZvNzsUlVBugU0ksUO2T8bTCPLzUcTMfKw5SYZ1CUoZIII8Ju?= =?us-ascii?Q?v70oAfXVx5S51EzYtbgYarGMXPon2x3LEO7QnddycQ5T7i9VJUPOpPfxKUmD?= =?us-ascii?Q?9EMzQFhEEanMq1xtaZAF2llRIlqnW0cKULUxcvUcCWAb67dsdu4Gi5xwc+T5?= =?us-ascii?Q?S1w0HNBJTluVgX1b9qKx8IB0T+1D26lHP6Qd1tdu/MTySFord3cJhxHA9uRN?= =?us-ascii?Q?uIfnI1SN8XVf/uy4lVzz4KhGEXYqtL2AWr4Q40IbJxfTYX+SJzClugyoY60R?= =?us-ascii?Q?bc9EfKWE4nk3Rhngjo3kV5What6D85EQ0hWXz1ICNGW3vh7BoYucrGmcqvnS?= =?us-ascii?Q?0z63WdeH7cfJ9iyX0i3Jza+RjwjeLcPt/N1wpjOJD2XoOvr01mzDjYppRTo/?= =?us-ascii?Q?qQZIuErwpwDPIEk37FO+HAvvEJlBlcPXQhvp3p/+Obw1P87DZCvwugD2b4xy?= =?us-ascii?Q?5ZLmc5t7KcRUwMYZ/BHd2VUQbWSIDa2hSPdfct1gwYrICJ9btNcG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HmDvaJpNQLFAEMCQC5YPlK4?= =?us-ascii?Q?e4hVhBi5un4EnOx/knZ8bGYLx53USy9hYbh1qV+U8qDq3YV3QPElvY6gHfvm?= =?us-ascii?Q?5JwQAG7WNZ4U146lqfW9B+ZRoa8yhUIf+CrxVpd+8zYdmsqAK3pL08xBHN11?= =?us-ascii?Q?X+y7g7lAXQFgGpX98ETr+XPrS8J9i4BtPDl4vhgiAn9gMgcW8g0W46kGK4FW?= =?us-ascii?Q?Jc6fdXa/oGo2Zdt2VfUplQI=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: PH0PR11MB5207.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62671536-5825-44a3-2353-08d99f7dd67c X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2021 10:28:26.6927 (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: hhq6wrVrtpVVRhDVKHu+b4FP6fm9aUeC1agA4L6KWFwLTOmBsKdStubVBWj0EBqICl8DDDDxJtYjhaH+d7OKhg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5045 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4 1/3] examples/l3fwd: increase number of routes 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: dev On Behalf Of > pbhagavatula@marvell.com > Sent: Sunday 3 October 2021 21:25 > To: david.marchand@redhat.com; jerinj@marvell.com > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v4 1/3] examples/l3fwd: increase number of > routes >=20 > From: Pavan Nikhilesh >=20 > Increase the number of routes from 8 to 16 that are statically added for > lpm and em mode as most of the SoCs support more than 8 interfaces. > The number of routes added is equal to the number of ethernet devices > ports enabled through port mask. >=20 > Signed-off-by: Pavan Nikhilesh > --- > /* > * 2001:200::/48 is IANA reserved range for IPv6 benchmarking (RFC5180). > - * 2001:200:0:{0-7}::/64 =3D Port {0-7} > + * 2001:200:0:{0-15}::/64 =3D Port {0-15} Hi Pavan, IPv6 addresses are given in hex so the above comment should be: 2001:200:0:{0-f}::/64 =3D Port {0-15} The ipv6_l3fwd_route_array below is correct however. Thanks, Conor. > */ > const struct ipv6_l3fwd_route ipv6_l3fwd_route_array[] =3D { > {{32, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 0}, > @@ -205,6 +213,14 @@ const struct ipv6_l3fwd_route > ipv6_l3fwd_route_array[] =3D { > {{32, 1, 2, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 5}, > {{32, 1, 2, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 6}, > {{32, 1, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 7}, > + {{32, 1, 2, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 8}, > + {{32, 1, 2, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 9}, > + {{32, 1, 2, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 10}, > + {{32, 1, 2, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 11}, > + {{32, 1, 2, 0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 12}, > + {{32, 1, 2, 0, 0, 0, 0, 13, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 13}, > + {{32, 1, 2, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 14}, > + {{32, 1, 2, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0}, 64, 15}, > };