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 5CF2DA054F; Tue, 2 Mar 2021 17:20:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C0DDE22A2CB; Tue, 2 Mar 2021 17:20:32 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 53E0540142 for ; Tue, 2 Mar 2021 17:20:29 +0100 (CET) IronPort-SDR: ibaQCCLs42RicyKT7G6EkJMMfyjtfVbLsMP5P4T5E92BaKRcvKuP4K2op2YwNSai1F9l3kd6iI evjyJgBb2M1A== X-IronPort-AV: E=McAfee;i="6000,8403,9911"; a="271880168" X-IronPort-AV: E=Sophos;i="5.81,216,1610438400"; d="scan'208";a="271880168" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Mar 2021 08:20:10 -0800 IronPort-SDR: ky/V7daGsR3ooObFmUzjQcVzjsL18Z4nSbm08heri1fLsQkDrMbH986RP1xHYel+1bfZF8DHPO 9PvvlT8hy7jg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,216,1610438400"; d="scan'208";a="399087745" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 02 Mar 2021 08:20:08 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) 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.2106.2; Tue, 2 Mar 2021 08:20:07 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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.2106.2 via Frontend Transport; Tue, 2 Mar 2021 08:20:07 -0800 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) 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.2106.2; Tue, 2 Mar 2021 08:20:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gDLxoJuYROKbn+pHqhXpQZeIH3uof5IaBno6VwsvgZLV5inBjBLxcSV4FSjy/3C+nq4yEtFTlyYHDQq7pNMe1NJYdWaFgkfnujDfBu25pPY/2+2sJjlrdgaLRg++PTA65VwT/fWjU3tgVaBvZywLKVZa3NsDPYG4/Zp0PzPBRYwDR0UvSPGoPnQ4LjTTL9Z8zjYhUu8bUZ5nWp+Yoq+Kmu2G9Z/qw5zm5AxAyfIdEoQvXxV8z2ZpZV7087DX4gVXxYkTkJ0RMntpjoMGCG4e2IqodJssircvxQLxUd5iH0lqnTUp0cJ0yu2JS0sNktsn8E326j5hqv59oRoM6MtINg== 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-SenderADCheck; bh=UN6kduk3+lc4JrZdPWdK4FOrZcFSUwkClK7ITkzyirw=; b=YIHWf9MdNwlHgCuuiY+XrQtXnx2p7dWJEOlvO8DDWzz9elcr9unnEQeAL8NMxkSULvAaS8KunKK8BjWzNLYz4gR+pWS289bBV2rM8Nr/7g8sny0H7r8FiZATQv5nYbNRoVFvaYdxK4BuEG5ti+eOVnlrHpc9b8LHkCOMSHv5+/4fP1nnZxFqLO4KcZrAEeZ7+4TvnsoqrUW0mDYBtDHqgJrCJ4OB9vqYQAV3BzT4fcf60hysJOfyVhFhTmNYz81q/rSY4smk4EkmLWeckDgwylmr7zZpTeEwAfTYtc7PIoJydMwTWSRM1xRrDzsk97I0BsNH66TfKoz2/Q+J/GTcqA== 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=UN6kduk3+lc4JrZdPWdK4FOrZcFSUwkClK7ITkzyirw=; b=PjMaOIlQpugpqmzskMKd+kqkFtTuokpJ/3mDuxn/JwfsA/ST3tUajWl4ZAcujplOuwdVN7eI0Ir1YGc6e8/0X1hHP2zhRXlTcca6X5ddQFAZBuYzFMOqHbK08RcbBUQ/8bf4B7dMMPOLEPQl5G6HMuuV+siDCGF1OR7EgqcB3G8= Received: from BY5PR11MB4482.namprd11.prod.outlook.com (2603:10b6:a03:1ca::33) by BY5PR11MB4337.namprd11.prod.outlook.com (2603:10b6:a03:1c1::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.24; Tue, 2 Mar 2021 16:20:05 +0000 Received: from BY5PR11MB4482.namprd11.prod.outlook.com ([fe80::5923:b01b:42ee:54f]) by BY5PR11MB4482.namprd11.prod.outlook.com ([fe80::5923:b01b:42ee:54f%5]) with mapi id 15.20.3912.017; Tue, 2 Mar 2021 16:20:05 +0000 From: "Ananyev, Konstantin" To: "Walsh, Conor" , "jerinj@marvell.com" , "stephen@networkplumber.org" , "Iremonger, Bernard" , "Medvedkin, Vladimir" CC: "dev@dpdk.org" Thread-Topic: [PATCH v3 2/5] examples/l3fwd: move l3fwd routes to common header Thread-Index: AQHXBtFwkBQp1n5BAUuwaqRKDtsw86pw8aAQ Date: Tue, 2 Mar 2021 16:20:04 +0000 Message-ID: References: <20210218152056.1893590-1-conor.walsh@intel.com> <20210219150945.2071651-1-conor.walsh@intel.com> <20210219150945.2071651-3-conor.walsh@intel.com> In-Reply-To: <20210219150945.2071651-3-conor.walsh@intel.com> 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.5.1.3 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [46.7.39.127] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39c32fd7-54cf-458c-379e-08d8dd970a03 x-ms-traffictypediagnostic: BY5PR11MB4337: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: haIyMimQg3HBo3w1/jEKIoDNi8HNMhwS77FY4ewa7WdGWJ6dCBBBKZyNwItXqXhLtH/JfjJQbKM/beF6e3D2nWB/n6Tf7edAKIFzSueUuycq6XXYG3zEVev/0uTofBmleqc4NBhWKzrPJKTCQdsso2/vrjHbHumME15UDQkTIZvkxPT4w85QI2tC5YTzXN0QrXE/PbN7q33oRqCFqKBkvGV03HSnpi4NbXVqt4Ae8mNxP1tUmvcZ2222VzC3HAXRFfO4LxweGLe6+R11SmwmAd/Uf2i4vMSdBuCumtiSoiPkr4d20g/n8EZLRaEEAUTyvWflY7vpOzjocGkpdxqPeOBod6R4l25+KyfKRSk5LNYGjrr75A49HzDcsobmyD/GXML+p+E+XUKUnhq2T0lDclnw1+MA7EBe8SrqC7kHA3O/Jn4OiNBCV0GA+JxL7YgrM6NsvF523K7SCrOHZM4nhEcsV+eZf5ggRmULq+k8TdnDUaAD7mBsCZOFoljmfI8sUmzXRv+ZDtv7TqG0VU4TVYhqZ+diAkMX9/oJPn1QRhmDH+9a5tnHQdYINsdPLB+axi5M4vAEsK0k1ONLgrLojVm/d1tlzsKUMt7R8IVDdj0= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4482.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(366004)(376002)(396003)(346002)(39860400002)(86362001)(4326008)(4744005)(55016002)(186003)(83380400001)(110136005)(478600001)(316002)(5660300002)(7696005)(52536014)(6506007)(66476007)(66946007)(8676002)(6636002)(9686003)(64756008)(66446008)(33656002)(26005)(2906002)(8936002)(71200400001)(66556008)(76116006)(42413003)(32563001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?vbWLhaCWaULHtIJEAAUqe1VPhekBQsENe+eM827gutK1EwRWTdPhMfYyYbXM?= =?us-ascii?Q?JGjdGldHU8jy2Z9J/9VXvM9lpsZ+h4E7G/afPSz7Gx+aDyfa+aij4yUdEdBX?= =?us-ascii?Q?3nMnLiE30MqIeA/nuXE1TumDVcK+ZRWHWzv5f+VRgEFOrpRBtpyV72jvH5IR?= =?us-ascii?Q?y5tByUD5UozoyBDim7a75BYH6F42HePLv4ovbLlnm3wQmD7NuwJrhJ4b01/U?= =?us-ascii?Q?kZPm5so0uUjy/2IUnmkj/OGJvX3XbL97Xy5NTDZM+AdXfT2Q4cdyz+wqYT/6?= =?us-ascii?Q?6yXlbZyCHbB4N0l6JfLSCoCHVoTXNBN3CNo//9LbibOTAoKmUMms+e2jU3ks?= =?us-ascii?Q?QoDoeu5LFihpsHGlHfay+VzHTD/7NFCqQcn4lM+GnE6tjPiQijJMZvKzo3xA?= =?us-ascii?Q?G1bYiFPfFidvHa4l9d3pNIDgb+LjNvnCvdfIiKQaXFK+wyFaR3PL5O0cxu93?= =?us-ascii?Q?5aC1JO09Az5ZSsrBWMwrGnWf8pA31VPxNI0fo0CbzrJV7/KAoErfVTQ0YyTF?= =?us-ascii?Q?TS25DRGJlc/IFWjH1ggeJ18XGnKdUfXojq906peHCNTwUItaW6oyYh0d47u+?= =?us-ascii?Q?9PD1ASzvlkcIGOPqyZ9xgdBbtGzeIeg9XTkgrBymW30mSJAn3lG7AaLsGJRI?= =?us-ascii?Q?xZqMWa+tbxpEyX8lp7W2CcIxOuAubwR4cNzOKDn3Gze6873Ma8etVFqO2X0o?= =?us-ascii?Q?LmeiQ+/lBu4vvuP0mN4nTXW+qQ76z1Lwf2NYZ4IMcGSmle9sF1vKrBkQ4jCa?= =?us-ascii?Q?y1A7y0nmnTCAjOMEuA9CWRArcttE9cTCYKpE1JUqGYFXYY7WE0Ir+95XqVI7?= =?us-ascii?Q?Keilkj+b16dXffnNpLIU6HHHROWA48TU+Tt0DNjb7qRlO+nLeja1uISgDuVI?= =?us-ascii?Q?kXnceJP+EmvMZigu3p0duhCzdoFSALatR0qWqNlMjghNHHR1wiwrp5xZnZfh?= =?us-ascii?Q?Dq0pDawv9O74a6tyAsT3YOKIq4v0e71zsBd4aUMz3c+SyBH3+lDTwUZ3X9WX?= =?us-ascii?Q?L0EbKlg/1yC1S6cGC9Ye/L+zp66xaYaLRd+f5r7NbHPBWq5UFACp30NFYS6v?= =?us-ascii?Q?ETWPqPsEehA9zOHgMIGkdjTLHrarmbjCBNVmR/BeA65qj7dqgoMIWqbrJHmg?= =?us-ascii?Q?1Ne3Df1j9FOlnMlvVL5YzV0XPhh4OSJeiY4B/ielC+mdpPisGvoMSAGuq4U5?= =?us-ascii?Q?H3tsAJ4iBIu4cWGWpgoHNSEo8HLRlZZK03f8vtEiSZYu5Mh8Bq22RYQt3t22?= =?us-ascii?Q?H1o8cHrFuBOLxYwP1uRj+TpbON4ZvfhvfTZ2Uu4WfJ8Hqw3H0ovCIMnx0Tl/?= =?us-ascii?Q?pdA=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: BY5PR11MB4482.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 39c32fd7-54cf-458c-379e-08d8dd970a03 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Mar 2021 16:20:04.8669 (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: nj2MjMGOyC6UOOia/CGAuoU3kimGLiH4iCZ1f5XwsiSFXyZvgd7LQAawUOFRnBBi+t7eD8Ynq/z8W8OQ/oKVwIXiAiSk6dOfT0EEalCpvaQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4337 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/5] examples/l3fwd: move l3fwd routes to common header 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" >=20 > To prevent code duplication from the addition of lookup methods > the routes specified in lpm should be moved to a common header. >=20 > Signed-off-by: Conor Walsh > --- > examples/l3fwd/l3fwd_common_route.h | 48 +++++++++++++++++++ > examples/l3fwd/l3fwd_lpm.c | 74 +++++++---------------------- > 2 files changed, 65 insertions(+), 57 deletions(-) > create mode 100644 examples/l3fwd/l3fwd_common_route.h >=20 > -- Acked-by: Konstantin Ananyev > 2.25.1