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 496D5A04BB; Tue, 6 Oct 2020 18:04:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C4B1B1B868; Tue, 6 Oct 2020 18:04:55 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id B19771B677 for ; Tue, 6 Oct 2020 18:04:53 +0200 (CEST) IronPort-SDR: vUkLfak5ZulIhS+d+W3upKwBhy4O26AxYZHxnT756Qhu8CiHji+BtW9mpziav6gzGqmGZ5dNQs IJoazNC8+/dA== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="161160417" X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="161160417" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Oct 2020 08:58:42 -0700 IronPort-SDR: Qv0BJa/I6t+pkhR8NQ+v5VZ2RR80tD/tMTPrI3M9dLTt86/K67zrtqIPiSOx7ytkegpu4Bonxi G1poZDwxPylA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,343,1596524400"; d="scan'208";a="518334511" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga005.fm.intel.com with ESMTP; 06 Oct 2020 08:58:41 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) 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.1713.5; Tue, 6 Oct 2020 08:58:41 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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 via Frontend Transport; Tue, 6 Oct 2020 08:58:41 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Tue, 6 Oct 2020 08:58:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RrUj0Lojz/i4ypFyG7TpZozzhhd/+a1XlQ43HGxg/62cSjPB8GohErTJpESurooqZZUJmgGhnYTRLj8QSXh0Yp6OtuGZQ3NTzNOhHnxd5sATrKK0eeqCX8zLPjuqumTnm2IVr2OPWbv5wy015AJ58m5FJkPK004KU85RiEfFyISeay6ICEJLcHHdb9ohqT0iZ0qe0vly7mza76GiJGrPo/7u7w0tOK4gVSODckZIc5xir1XBXqLCWXD9eHaMa374hYhduUrmrx6DSXRoJTqBKAA/bbfxLyGfORZlr48PW13WzolGNzrO7L3VNLCqmTS/AJGW0JzPt6LrZL54RDg0cg== 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=MtbUOjC226X3iwUYoCZXO7LLUnn+lw1WQoQDhiNBKY0=; b=WMa7y6DXAYf7cn9OwQiw3qfWPfpo+8kU/HGo5goorfcDnel4zBrr3uk3gPipS5/BNdrIwnhA3Zs57elx97bQpFU+WvBd40pdEovHX7wFYUysh9r4AHAzZMrPtJx5pAvhofgGikHNWV+6/jAVK8hHItTJiz2c5RNvkv9vHsWfACfahyyOt/OtW2ycFZtglwMoQN28kBznvPycRp9YTHjWJVa8HwpslH6xIOT6Ga0LyPldUMJq3QbgL4+7kNPfkns6HjRhP4aqnfXYnLZvY2GYrOa1PFp04x2GUZyiFMeopJ8aushCyeHbNgDOWzpL7hyvxz+OYxmTp1NlvvCUNc6psg== 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=MtbUOjC226X3iwUYoCZXO7LLUnn+lw1WQoQDhiNBKY0=; b=pyP1ExaJt2XM/b9dTjTkkvCMNe7WvgNLqj6Cwz6EBLi6wHrgUKFRRpKSalGEFpeuQPM/buB53sP6vZNbTNoTK/+7LXINOlV0dFZHwAtQShJTUA/bsEclPWD+xcS3eT5uNBSkfXEAtspw88g9g3cIkju3lzTy5jfdCgLyLVK8Ybc= Received: from DM6PR11MB2572.namprd11.prod.outlook.com (2603:10b6:5:c8::31) by DM6PR11MB2649.namprd11.prod.outlook.com (2603:10b6:5:ce::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Tue, 6 Oct 2020 15:58:35 +0000 Received: from DM6PR11MB2572.namprd11.prod.outlook.com ([fe80::f9f3:3166:9bba:50d8]) by DM6PR11MB2572.namprd11.prod.outlook.com ([fe80::f9f3:3166:9bba:50d8%6]) with mapi id 15.20.3433.045; Tue, 6 Oct 2020 15:58:35 +0000 From: "Eads, Gage" To: "McDaniel, Timothy" , "Richardson, Bruce" , Ray Kinsella , Neil Horman CC: "dev@dpdk.org" , "Carrillo, Erik G" , "Van Haaren, Harry" , "jerinj@marvell.com" Thread-Topic: [PATCH 01/22] event/dlb2: add meson build infrastructure Thread-Index: AQHWiHpU07efZ/dOGEmiQJs5dRQ0R6mK4GGw Date: Tue, 6 Oct 2020 15:58:35 +0000 Message-ID: References: <1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com> <1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1599855987-25976-2-git-send-email-timothy.mcdaniel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action 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: [68.203.30.51] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 23f26ada-1c8c-42bc-33a0-08d86a10aed5 x-ms-traffictypediagnostic: DM6PR11MB2649: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: X+hb1L8N1+dpOaD3sb+7q875LzCXD8oLg4cecNEMJowaOPIZBCJX/cQ5jPr0HT3AqchWSaPLQUBmX3pHGdDJ8o3txWACosmvbsaIfdxNzN3Ovwg2Mnl5DOUc1L3eUY960JDmHSHEvVHE11XFEr9NRkBNYOJZRRlcLg6WWYohjhL0bC7pek1owbapgpqNP/lm6ICOCtk3zKExZnNLgF40LqXquwvICf91K0Ppp/kdSuiaYB+NNPJos1ZIXvZuTDYKfG0KoM2fGPBWpYBPDOC9KzJZYNXkvuWzGEnK8Q32LQqWKw4KKi2o937kD0NtOXuA x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2572.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(346002)(366004)(396003)(376002)(33656002)(83380400001)(7696005)(9686003)(8936002)(26005)(6506007)(8676002)(478600001)(53546011)(55016002)(186003)(54906003)(64756008)(110136005)(71200400001)(86362001)(66946007)(66556008)(66446008)(66476007)(52536014)(4326008)(316002)(5660300002)(2906002)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: TMAz7srVRtTNyezeo3P3pz7BWCilIUiPFgeCG1b/IBLfqxzTKuEEaSurMdUOXHhFLNXl0ubJXwUi4t+ATF+kURFvJZ1bUemgww4Czms9JgA5GWxD7CBh4l526njghruE8Vjhwud1ho/685JB7mxIEdWMO57NmakmOSszS2GnTSm660kw8N2uQI7bcxWB4T48188vrgohHrd9yDA88ux2Hj7fGVDa+LiRO41g70IGorEhuvLaedsNFg01WDAr8N6bc5bDAKGFjIcAEm7xkta9evesq51YbAyiF+u7uvjhcvxTZakElyWWjAIykOtBkZNyvPO8GPdRE/tf7Dc3UXeWceNKW0vC4nVKuirBVOxBt6QrR04nWYn55ZEyEJRpTUN4bcNzVDiRVw09OoYJeN1hwMsoo0x/jDFfsGzgsijAZPp+lYIkoHzjoIQC5GxmP/KFshX7UpaOm3amRn6nCyROnZWuNyMVcfNOSCIHd6J2xGq8sVFknWQzG/maHa6dmq+VmTeKlHcd+EsAV3S9h3Id+Ht+0nRzm8Dv6JHlN4hbEcw5M7RQftotc+GOO3bJc/YO49obIrCK1WHOhPZdbi/VFpFU5UlMz+N4ijIrqcsTqi1r1lpox/80RY/zyjcRnYrJvdVVqXOJiTG3SwTVm4Wc5w== 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: DM6PR11MB2572.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23f26ada-1c8c-42bc-33a0-08d86a10aed5 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2020 15:58:35.7444 (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: 5Hs2OQa3BBV+5FWEIz59YKSmNB+4EPHL8MJqjguWrj8OtWATWeNt3E9xQy7uG7wxrr3tCW0Tf8YzDHPx5D+2tA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2649 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 01/22] event/dlb2: add meson build infrastructure 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" > -----Original Message----- > From: McDaniel, Timothy > Sent: Friday, September 11, 2020 3:26 PM > To: Richardson, Bruce ; Ray Kinsella > ; Neil Horman > Cc: dev@dpdk.org; Carrillo, Erik G ; Eads, Gag= e > ; Van Haaren, Harry ; > jerinj@marvell.com > Subject: [PATCH 01/22] event/dlb2: add meson build infrastructure >=20 > Adds the meson build infrastructure, which includes > compile-time constants in rte_config.h. DLB2 is > only supported on Linux X86 platforms at this time. >=20 > Signed-off-by: Timothy McDaniel > --- > config/rte_config.h | 7 +++++++ > drivers/event/dlb2/meson.build | 7 +++++++ > drivers/event/dlb2/rte_pmd_dlb2_event_version.map | 3 +++ > drivers/event/meson.build | 4 ++++ > 4 files changed, 21 insertions(+) > create mode 100644 drivers/event/dlb2/meson.build > create mode 100644 drivers/event/dlb2/rte_pmd_dlb2_event_version.map >=20 > diff --git a/config/rte_config.h b/config/rte_config.h > index 0bae630..fd1b3c3 100644 > --- a/config/rte_config.h > +++ b/config/rte_config.h > @@ -131,4 +131,11 @@ > /* QEDE PMD defines */ > #define RTE_LIBRTE_QEDE_FW "" >=20 > +/* DLB2 defines */ > +#define RTE_LIBRTE_PMD_DLB2_POLL_INTERVAL 1000 > +#define RTE_LIBRTE_PMD_DLB2_UMWAIT_CTL_STATE 0 > +#undef RTE_LIBRTE_PMD_DLB2_QUELL_STATS > +#define RTE_LIBRTE_PMD_DLB2_SW_CREDIT_QUANTA 32 > +#define RTE_PMD_DLB2_DEFAULT_DEPTH_THRESH 256 > + > #endif /* _RTE_CONFIG_H_ */ > diff --git a/drivers/event/dlb2/meson.build b/drivers/event/dlb2/meson.bu= ild > new file mode 100644 > index 0000000..d4fd39f > --- /dev/null > +++ b/drivers/event/dlb2/meson.build > @@ -0,0 +1,7 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright(c) 2019-2020 Intel Corporation > + > +sources =3D files( > +) > + > +deps +=3D ['mbuf', 'mempool', 'ring', 'bus_vdev', 'pci', 'bus_pci'] I don't believe the code in this series depends on bus_vdev, is that right? With that resolved (if need be): Reviewed-by: Gage Eads Thanks, Gage