From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A9F2A0546; Thu, 16 Jul 2020 13:52:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DA4DE1C066; Thu, 16 Jul 2020 13:52:05 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 7FB741C020 for ; Thu, 16 Jul 2020 13:52:02 +0200 (CEST) IronPort-SDR: kT0N37mHZk/j6MYbIg9oxguoL/OFgaSWP02+/yrPfFN/qonp5IdTbGxWwxzt62U1FLAYzFCTyh MBhezDCSDntQ== X-IronPort-AV: E=McAfee;i="6000,8403,9683"; a="214100351" X-IronPort-AV: E=Sophos;i="5.75,359,1589266800"; d="scan'208";a="214100351" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jul 2020 04:52:01 -0700 IronPort-SDR: klWtC+M407L+kQ1Z0pFx6S6iABlzLbOlhEhfHI21gsn1WLh7bjAWT2oETvVRVRlTkU3qagI/ZR rTpolzusmslg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,359,1589266800"; d="scan'208";a="270544929" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga008.fm.intel.com with ESMTP; 16 Jul 2020 04:52:01 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.1713.5; Thu, 16 Jul 2020 04:52:00 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 16 Jul 2020 04:52:00 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.107) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jul 2020 04:51:59 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jL7bKaHSp+fFpHMHnzrhFDtuQ1M6HlZ9YoMxJbbYXjiCqKHgMGN+lyE+m1g6Uj5Aw79oUNZK93Xz7/mrd4BFmr4hqBzq0noXUmq1X1zVFYuoeOvRjNfgv8l6BVuszTTN58MUrbZiovbVuyzw6TiKWi7P62aliO5Lj9x+pVOVF3UKXtGQ5hSltO+0KjdzFqEtG6azyF4xY+Kisk65X97C6Sp/k3m/voE4P6GpFWMHl+yDzsmkmArcfyhx5y0mbYqtxwWdmmM3aJsG9vPnIc0fSSWSJwP4qLx4E+QTceGpHMcNFJnMpOsAT3yhSaP9aTkBWzjCGvuZhrXL5Q+lXkkrZg== 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=8Fo5PUg6jkQvq3GAzG17JxDyp3oTKYun+xTSWZqIMJ8=; b=m40DWquSwEuJvCfnwUtW1mv7Kb+jwAxWFO/KzBMzjyL63C4+yyqfVzxx8v+1LgbJ2TR8ZvtAbItiTtutBzTbUcgTDJl4CfziDC49V4Qya7feE1Hpk6FedUNRoCBfgVwkNs/X/f9maQP2UiwkBRi/uf3r94VB2qLr+aQDaS9cOjV/taUFq1S0oZ9NhxxCFrQ0smm/vaQuYekblOcBhnH64GtkCmIAFk/xOMpGvRvj+O1kxv3+PbrFzgOy1jKKKub2C2MWqTMQ1t9cwD5FWhyYUysxYAJnFMRuxu086+ZKdG44v31+MvyBBwTCO/amJMqlduppdCSStrKA7ALvVMCUkw== 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=8Fo5PUg6jkQvq3GAzG17JxDyp3oTKYun+xTSWZqIMJ8=; b=aBno6IIldGar9HpS6cYNYbwdT12bzZ/h3gv8f8KgCQhr5aTesygj+eizzNUjGdENMrVU1AWr9uhme1hCc14ZNv8+YS0E11Ft4tkuvbXhWNX09LFKFOBSsHg5R/GzOsK4ehA0GUQUNL1RCv56LKSWJNXdLoZdEEL4Dr6dIe7Ih94= Received: from BYAPR11MB3301.namprd11.prod.outlook.com (2603:10b6:a03:7f::26) by BY5PR11MB4260.namprd11.prod.outlook.com (2603:10b6:a03:1ba::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.17; Thu, 16 Jul 2020 11:51:55 +0000 Received: from BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f160:29ab:b8f9:4189]) by BYAPR11MB3301.namprd11.prod.outlook.com ([fe80::f160:29ab:b8f9:4189%6]) with mapi id 15.20.3174.026; Thu, 16 Jul 2020 11:51:55 +0000 From: "Ananyev, Konstantin" To: "Medvedkin, Vladimir" , "dev@dpdk.org" CC: "david.marchand@redhat.com" , "jerinj@marvell.com" , "mdr@ashroe.eu" , "thomas@monjalon.net" , "Richardson, Bruce" Thread-Topic: [PATCH v7 2/8] fib: make lookup function type configurable Thread-Index: AQHWWQyw/+diicB8X0Gf1YhW/6TqRKkKHIXg Date: Thu, 16 Jul 2020 11:51:55 +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: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmYzN2NmOWQtMTc0Mi00NTBlLWIyMTMtYmUxOTA5YjA4Mzg2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidmozUXVkODVseG1tKzZxK2tkMTVXbDVXVWdDN056TTM0N1lwVktrYXFSRHJjOHkrckR6UVhSVWtDaXJcL1hXNXcifQ== dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-ctpclassification: CTP_NT 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.38.224] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a00dd761-fe96-4356-dc75-08d8297ea374 x-ms-traffictypediagnostic: BY5PR11MB4260: 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:669; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: t2AhVzh1gweE6MW0NgO7zD3rlgIbRHVBk+I7cCF2xPrKuC1QHP2AicdwxYx/vUPFVypVTym8f7oq8ONQQCYbM3QMMdBTWeF2FjRGW8YNBfYdo/IY1bS/fd4qr/lOw51b75u2SBuI9jZvJgtexUfxzz0U7fzAktSmc7WL3YPoyMEFpZM6R34k8igD5E5KpRKaWO59vPMGzEXNyVDpLtmmZE/d99hBwZZzjFTtS5eFFn3lELUaYEHA7Y+eN9g++EgkdMwrOuQ0ygj/JR3Gtd6IXP8LSIlyQEeMnlSkf0bV+pGz2xAO+eGMDC7rhZg2PM9b3MXjqjSaLE92Hkr+wdsklw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3301.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(376002)(39860400002)(136003)(346002)(5660300002)(26005)(316002)(8676002)(86362001)(107886003)(71200400001)(66446008)(8936002)(478600001)(33656002)(54906003)(66556008)(66946007)(4744005)(4326008)(66476007)(186003)(76116006)(6506007)(52536014)(55016002)(7696005)(110136005)(2906002)(64756008)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 33eLWeWCDODQmYjFzZM2ywHUuE+9wzlG4/AIsPY+wkdzOCV3LwVt7/+xS6qZDWnf9v7+PCTNQ2DqGq8kG1/eLcb+q0g37Xd1r59+it3QMxHDEyHMvantj5BkqQ33m3ffGNLEjrgh9xA44N6c8kDgAeTKprU0meNWRz8AyrPgUgjQQAdOlHwe1fMKe7fRyr62PJhf9/6r629jiIBb+YDD4IDcqcPoPCPO+YrvakGqTsoW4wDwyMXiJXBz5N4Ww7pyUpgCH/O6TbOK24ObNcRNFV8M/uFLcOmeOhKAP7Oukuio/T5DiU8SNMw/g11tPxvbNPnJwSzd5f0GPebHHNQDj5+hzML+kjlf44pSf+4bxsPutuCMrHoBxtNb+CIO355hRQ2/6SALcR77o6HIZ5ls3rJX/seghkIqjTTOwNthQ4s6OBt2BhCNwGZ4FDf+qjF/KGkYDOu8f4ZSLeY2niQZr/we/8lue4tAkOTHSJy67KY= 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: BYAPR11MB3301.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a00dd761-fe96-4356-dc75-08d8297ea374 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 11:51:55.6728 (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: gMPJZ6P5GJ/KerGaKtKWxX7SHzQ13inCT5PA2GBIBYIYtRTU1G1WDl6VSzxVNdTDlteE/I59oK34HKXSxV6Cxfank9EdYa0eg27j8i2rLlE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4260 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v7 2/8] fib: make lookup function type configurable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 > Add type argument to dir24_8_get_lookup_fn() > Now it supports 3 different lookup implementations: > RTE_FIB_DIR24_8_SCALAR_MACRO > RTE_FIB_DIR24_8_SCALAR_INLINE > RTE_FIB_DIR24_8_SCALAR_UNI >=20 > Add new rte_fib_set_lookup_fn() - user can change lookup > function type runtime. >=20 > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Konstantin Ananyev > 2.17.1