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 6DA5FA0C60; Fri, 5 Nov 2021 08:27:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 58EFD40DDA; Fri, 5 Nov 2021 08:27:58 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 9944D40151 for ; Fri, 5 Nov 2021 08:27:56 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 1A50SKpG024794; Fri, 5 Nov 2021 00:27:56 -0700 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2109.outbound.protection.outlook.com [104.47.55.109]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3c4t3gsdpg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 05 Nov 2021 00:27:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=McwaFQc69NfW6PJwcvCB8AJS79ZqCxi8I0GAZ6Wm+luUv5O9KXDyUE5a/cB+j8Ij7X0Vi4PvVzPBoTibsBRWgkNQknumHHDOBnQZWNQ5zPLDevDO0tl9IyoTGNHA7esdGophjG0WfK9vmTty6F7OBfgrkV96XqTbuv/fDtprtSl2oETe9a+YzYBQwrLvlWCvjPulmUuRrQucxd2Sl/+6wAZbo5z0E3XB0XKD/MoDMViPabH0RufNKFu5luebWx3WHej2axTAQRfExCViyG5tBiDmV48XK346/eZEmNGOVkDfg7vrh/+Q51QH8QnuyCLlEzw4IiVILkrCwbOLegOhgQ== 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=fWf3QGrbFmMP6K6GzD136JKD9s+w+BYeER7LV9f5lzs=; b=gyRLUhIE9UOY5/EVoTHDwRkKX1UpB4CgwJmb//acuv5MAZ8pIH4U8wBnSGhTXGB30ijAwAJUBTTAyL/Pp4LJZLMLexIVgQMVRmF2uwEXo+HQqylW2/AhWewxZnOIufX4FbXQ6UAAtCB1PKx+l6Dv8QiaXFLeXqsXx2g/9JoDdGfg4dufe2wLZYLqcGATCNwWoh41ZIzwqs928yIPEkTKK5I3t2VF7Oifv3ipOiGaH/9uevJQQQml5CFcnP+ra5Pz1Qw6HUwf3TFWug3zWTjdbczD4nnjWrAEV9EzRC7dNrNS3p6VpE5jaz+8U0EaB3ILVJzvhBMOrbFJGK5uphrR7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fWf3QGrbFmMP6K6GzD136JKD9s+w+BYeER7LV9f5lzs=; b=dAa7Ke0bYyKZ93QnJsGBWbRCx2jEYghAnYXpz+Ur5VdqDL4gGSTSZQj9H8wyYPP7yATGo7RXZmt7lC+CeR4UaSktDfKOv9ThoOahARa5VPt53BNUW2uYgCwyEqe0uNEUD65Z+O+BCeCYWnAXoTGn5Ub1YQpBAQucRRY7R0vpQng= Received: from PH0PR18MB4086.namprd18.prod.outlook.com (2603:10b6:510:3::9) by PH0PR18MB3942.namprd18.prod.outlook.com (2603:10b6:510:28::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Fri, 5 Nov 2021 07:27:54 +0000 Received: from PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::6012:f5c4:8b1b:5289]) by PH0PR18MB4086.namprd18.prod.outlook.com ([fe80::6012:f5c4:8b1b:5289%8]) with mapi id 15.20.4669.013; Fri, 5 Nov 2021 07:27:54 +0000 From: Pavan Nikhilesh Bhagavatula To: "Walsh, Conor" , "david.marchand@redhat.com" , Jerin Jacob Kollanukkaran CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 1/3] examples/l3fwd: increase number of routes Thread-Index: AQHXuJS6Fb+Vtk3v3EiF/qT22oTY+avzXD0AgAFfuRA= Date: Fri, 5 Nov 2021 07:27:54 +0000 Message-ID: References: <20211003201110.10448-1-pbhagavatula@marvell.com> <20211003202448.10908-1-pbhagavatula@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 42d1ebb6-1117-46bd-0c00-08d9a02dc868 x-ms-traffictypediagnostic: PH0PR18MB3942: 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: u7P3mlpM7Tyt2/cydjj2wg7FpFKnbiqsew0JTqpsHEEaSXLbx8ME8t4+PpNDIazEUv4MSGT1Sf0Pj6M3YbsH3uxMawov2as2b1D2/qooxqJPNnm1XzzVp2R0OWvwfOcOA2j/nMTDPB/K0u6TX8AkmuFZno0cEU41X0U91QY14Zunl/awfpXDTgNhizs7TcMhyOfEmBaptuGNcGTroE10uNDffFdMWBwMWDHyxxd9FcunU+cjnDI6hupUnLirvTAGhOA0VQ6gcZC4VmS1pB8+R8GeX27VCXquoYipR5FddcQtfl2rW4/E5lh47x+vWZ/bP33P/SOYacm7EpPZ4QAJVDLWhAz5p+y6s6L7zsJiJvFm3aJwZ+dRk3gx/NTFW0JpSwbbWqmi49sFnmsVJHe7WoTHA/g1fCpLndyUPdOjvRi2iOKE+i7zt13BEMRdlZT/oIgf3zKeg7XrN+DdtzgsOPWoYp55Uq6ojzyYi6tC+zlj+v3Hbq5f104DCVqw41wR8ua92U7EjVu0GUCEU7EYv5hZ0tRe1/GK3lcbwLpmZaz8U3XnNMeU/G5181U6ydmjGSdbJPgUmLXlRSP2EwRoXFISAZ80MGDxtMZG/LzeZyazqghp31vRDDTse9n4h8D/sSUg0N60q254x8vaUvKRrCzKf97nNKtys0MlnWtEwXIqpaG82JHd3Kco6eLE5maUlVi0fno6roXA7RmOXa7e7Q== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR18MB4086.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(66476007)(66556008)(9686003)(55016002)(76116006)(122000001)(5660300002)(66946007)(66446008)(64756008)(38100700002)(52536014)(86362001)(38070700005)(33656002)(110136005)(7696005)(71200400001)(8936002)(2906002)(316002)(4326008)(8676002)(6636002)(53546011)(26005)(508600001)(6506007)(186003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7Pw1EtDgR4BG2rFsxQiJsuHSrd9UbIMKe/InyvleBG9HP0yF80HlVHQpjA7u?= =?us-ascii?Q?S2G+4yEUxQhC3/uE5uwckb7IQM13J5p5a56X78+fC2poWtSoKfF7AHdngZo9?= =?us-ascii?Q?Kc1pfVhxPFYQ+0dQLc6vrev1jeQf/Ui4TBbZITl0TvNb7onBcZvxx5GgSXQT?= =?us-ascii?Q?T2Tr20jOJ4v307U+KwfyaXLuM5ZT86dehN9bPQxzDr7r+hVwE7Taw93Ar7wP?= =?us-ascii?Q?7Etdn5wsr+krP/6i+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=?us-ascii?Q?xznB5ZRZQYRBPhNhE/892w2fjvIckfzBPcn3C23dr/vtH0M9NSJJ03OlXiw1?= =?us-ascii?Q?ropKZotKdgGqFFvbVblfvbKQqYufqwXhQmZTFZ330+7sQ5ktM4cJg1pT2kbm?= =?us-ascii?Q?F4+KO6n5a1ejhG6u2fgmM+bYDc1t8GbWppxTcDsH+/WNQIETBed01Ycw45lT?= =?us-ascii?Q?vQfOrjrDpUffVyOdBuAsOVGGcW4RLH8bTWdsNvLUZ2GttLFvFZ94cB/8/YI7?= =?us-ascii?Q?XVNbMw6xbKrLeaIiPhMukQFEWVMzT+rYazcSXFjb56KQGWwcqrToW5val4Ni?= =?us-ascii?Q?jdrkzQUu/ORnPiZhuK0GA6TUk8APikvkUTXoEtYRu4Ug/U/5dJya1R2ymeWn?= =?us-ascii?Q?o4T2Si4fX404enh6Wpcvez5lzNx+/Q0CsuWnbpSHbp38X421v+y45XGQy+ri?= =?us-ascii?Q?epQn7gg+Eb9utwENC4wHjhQQQ4bQCnM+BwyQcH+OQL7W3+ao93LZxkyusPqJ?= =?us-ascii?Q?cwoQXCHlroWyAtNJag/XzBF90rFZr9FIIgxVdMbqW2ETUWeLT+4KTVIZR7Jm?= =?us-ascii?Q?8F/Ojw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR18MB4086.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42d1ebb6-1117-46bd-0c00-08d9a02dc868 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Nov 2021 07:27:54.4556 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 9IBM5hp6ezQmsXDoxjBCoK7YDwBGQH/NeZkfOwVxLlW+0OmVa12PSQHVQMpghUwuZZhQ+bPd1ZB9f91B0pN7jwlweCXM2t38xiZLRvj9z+M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3942 X-Proofpoint-ORIG-GUID: TMwBSrjW46QSl2os0iju84f1ZUMVQiRP X-Proofpoint-GUID: TMwBSrjW46QSl2os0iju84f1ZUMVQiRP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-05_01,2021-11-03_01,2020-04-07_01 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 >> >> From: Pavan Nikhilesh >> >> 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. >> >> 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} > Ack, I will fix the comment in the next version. Thanks, Pavan. >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}, >> }; >