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 86A40A04BA; Wed, 7 Oct 2020 23:33:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A36761B733; Wed, 7 Oct 2020 23:33:07 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 64E561B70F for ; Wed, 7 Oct 2020 23:33:06 +0200 (CEST) IronPort-SDR: XIAmEYvT5RTAdzad90RXTai5d6zfxplZLOfou0v9XZb8F85D6pfN8vN+3LcDrVsfA1r6sLjkA9 DXeA1r0v00ww== X-IronPort-AV: E=McAfee;i="6000,8403,9767"; a="165267957" X-IronPort-AV: E=Sophos;i="5.77,348,1596524400"; d="scan'208";a="165267957" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Oct 2020 14:33:04 -0700 IronPort-SDR: M1SM/rwKdnyK/KlMfzqsbvJv5d+Z5mYDD3fa+NvDeXnYlAm3wm+35CDLSv/o15SqFwlIeV35kb jASGL9N0AAyw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,348,1596524400"; d="scan'208";a="328264732" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga002.jf.intel.com with ESMTP; 07 Oct 2020 14:33:04 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 7 Oct 2020 14:33:03 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 7 Oct 2020 14:33:03 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 7 Oct 2020 14:33:03 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 7 Oct 2020 14:33:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IerNeIoWZTwmwE/Zqr+Pq0iAsHU6beWwB/Jx8K/ljMZjllIafKEgA/b8hpgbn4FZ77ZxY8HEB6vT7A7JT1TRn9Imt0t2B1cD65mxxR2ZCZ5bm75MpiACMCvwdh6vctKcr5FqqeHvntsp5JlIXDOJM3pl/HTWlwSixzXSk/hcoCydu3qo0/OriN+S9my5Tdkk5fl21NS3IU4VhZH0Rd9DwPKhb+pN5VLLvMOi2ZvBILRJVGk+mCDU5O+GwXGonnjt7la8pAsEuuNLSFlImqM6okPpxY7Uiu2XKuBHCDXTcbCgMlomYBtnbftInYakl0TFP6kmNRMf0fXiEUbp7jsezA== 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=AB4PHy+PwAoE7LGSvE+GDcrAmlAzHk0ZsDmY8lPx6rs=; b=P6caC37aL8rKJuzJHP/bWtWEYETOPdISP37FqJwJ4zrUQbrKzSY+bJW5K/eWL+fuBVrvdIkUgcdwxyXs+BcwWdoMRrOKTIIZtg3vrBNDRAOH1QUfT5aGsecfxOYYdo8UHhrwCZm1tVCtUbALffR6BJFmSU+D5s10vFWNwS1rLHMi3TMQMr6eUEJR56gfxvQ9tCXW/2mThdwUScL5vxkQaz1ZdhVI7s4ktGr32LvdEZyU2JayFPuSOmRAAt3Ewn0vd7IiGDAoMSuqMONQo/PgPXt/T2l5eLyvT8cfL7zbwdYLEyKZ5bk0ER3/mnTMMpVhkT7UCLgjwRXKKnqNS5UmAw== 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=AB4PHy+PwAoE7LGSvE+GDcrAmlAzHk0ZsDmY8lPx6rs=; b=wdAh56iP8Rly4RRtj+NfTVYr8ESCERYWQwIGd30Gd0/KrmEZzaxcMg7FrfzvwKR3LmEwOWmsk3BBZPYOKl/pqr93d4aGU47rriRLdlykX85pwnZbxOKTtjWiwtKaD7QYx0C/oL+e9PkmbBhO3UgGyvR1ltLEL2HtarE18neCFUA= Received: from SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) by SA2PR11MB4794.namprd11.prod.outlook.com (2603:10b6:806:f9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34; Wed, 7 Oct 2020 21:33:01 +0000 Received: from SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a]) by SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::902d:8f85:ea05:a7a%4]) with mapi id 15.20.3455.021; Wed, 7 Oct 2020 21:33:01 +0000 From: "Eads, Gage" To: "McDaniel, Timothy" , Jerin Jacob CC: "dev@dpdk.org" , "Carrillo, Erik G" , "Van Haaren, Harry" Thread-Topic: [PATCH 19/22] event/dlb2: add PMD self-tests Thread-Index: AQHWiHpl5R9QOsu/jEGPoMPMUxCfv6mMz6+g Date: Wed, 7 Oct 2020 21:33:01 +0000 Message-ID: References: <1599855987-25976-1-git-send-email-timothy.mcdaniel@intel.com> <1599855987-25976-20-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1599855987-25976-20-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: 2b9e46b6-9005-469b-e7f1-08d86b08918e x-ms-traffictypediagnostic: SA2PR11MB4794: 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: 20p5MJkvK60i4KSZAMW1K2BxVKmRxHyEKCJyJUWSOuBoSEL8bCUx5lHpPcH9kRZkiGJ3mYpx1Fl3Rm5uTdE4bo6e6I0RQR2H0PKxUzIN53No3F8jvdYW7Xb3xGsoNwK87cnDg56UJLMweEOUtc6ZhzjTiEzqgK5JU6IJu7GNDySdjQef4fhwrZ/rps9QKy+C/bhvKFdy5Xz4G6X7X/inbl9r68E0+ownvqKRZPWadqo9Lgr8dn7O+e81dUqVh6pFaktnRM+gTn5i7tBmMPs6VzNyEqxGX5CNHd0D58DdFKpj+c2vWZUsUmE7/xnLycA/GHsC1ucOItVVksWgzkUcqw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2574.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(136003)(376002)(396003)(39860400002)(346002)(52536014)(66476007)(316002)(7696005)(86362001)(110136005)(6506007)(53546011)(66946007)(64756008)(66446008)(66556008)(54906003)(76116006)(107886003)(4326008)(71200400001)(5660300002)(186003)(478600001)(55016002)(8936002)(9686003)(2906002)(33656002)(26005)(8676002)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: Ds5rj8UCM+cG0NXSaruaMl0H1oAn5VXsdAC85Hd8d1iOJQvWYJI6JTdPXV1+iXswnIaHBAut1SoUyH/MCV3NshUHgdBD4pKsiP11MoLtYxfzoZpgtm/L5UZ5NPekCFM54j1LdB68P3IZzEZzqmuUlE7nlNaFiD/YFuAhwsGTn2aVP6JWKbncAINYM6MGMUfYynYmtYVjIhS//Pr2RKSgP+R07EZfPxuVHirPbt92JCWyLhZQxMUOtBAjaW0tRR780MpEQo2SviKlXiEUUE4w8bK9ZffSWA+ckJPw84W7Ss/74kwu4S47WzL7LCJ81Q3neCXzYBb8uKU64ge2AL77qy29Uqbfg07bfWCTREdkB59SectTGS/gU42/XZgBLge2UCEAiuKnJo5KfghLjA38tJi/H1RXQBf+DVAYMgtinZ3bm+QBJClqzyA4gWWXHTwnTo2E730dtu6fq12AGMGfVsLfyx/BtYO10nyvu66BSOfIP+LalwWn6mAn5Z91FrIl2xRWZs3QqiFFNp21J9eGtcnDbSyLD98sd8jOuHDlCGkyUD3+MNUDlecRNXRY1nSzlHHUlmV5hD8CfWmdhHIWkwzWx5ScTftEqlbKii4+sQNEjqq1QfuV4SmsmmDOJOQ8rsTuEhoyAZporxKYLifR/A== 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: SN6PR11MB2574.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b9e46b6-9005-469b-e7f1-08d86b08918e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Oct 2020 21:33:01.7468 (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: yrH2RVdzX2pPDhC7rUG40NWvnhxYr91E6v+2lq0Jh4KcR0BgRMm/h/jz4UjXyMx2HWQQ0A+oSDSMI42BMOpBgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR11MB4794 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 19/22] event/dlb2: add PMD self-tests 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: Jerin Jacob > Cc: dev@dpdk.org; Carrillo, Erik G ; Eads, Gag= e > ; Van Haaren, Harry > Subject: [PATCH 19/22] event/dlb2: add PMD self-tests >=20 > Add a variety of self-tests for both ldb and directed > ports/queues, as well as configure, start, stop, link, etc... >=20 > Signed-off-by: Timothy McDaniel > --- > app/test/test_eventdev.c | 9 + > drivers/event/dlb2/dlb2.c | 1 + > drivers/event/dlb2/dlb2_selftest.c | 1570 > ++++++++++++++++++++++++++++++++++++ > drivers/event/dlb2/meson.build | 3 +- > 4 files changed, 1582 insertions(+), 1 deletion(-) > create mode 100644 drivers/event/dlb2/dlb2_selftest.c >=20 > diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c > index 43ccb1c..b8d8df8 100644 > --- a/app/test/test_eventdev.c > +++ b/app/test/test_eventdev.c > @@ -1030,6 +1030,13 @@ test_eventdev_selftest_dpaa2(void) > return test_eventdev_selftest_impl("event_dpaa2", ""); > } >=20 > +static int > +test_eventdev_selftest_dlb2(void) > +{ > + return test_eventdev_selftest_impl("dlb2_event", ""); > +} > + > + Nit: extra newline > REGISTER_TEST_COMMAND(eventdev_common_autotest, > test_eventdev_common); > REGISTER_TEST_COMMAND(eventdev_selftest_sw, > test_eventdev_selftest_sw); > REGISTER_TEST_COMMAND(eventdev_selftest_octeontx, > @@ -1037,3 +1044,5 @@ > REGISTER_TEST_COMMAND(eventdev_selftest_octeontx, > REGISTER_TEST_COMMAND(eventdev_selftest_octeontx2, > test_eventdev_selftest_octeontx2); > REGISTER_TEST_COMMAND(eventdev_selftest_dpaa2, > test_eventdev_selftest_dpaa2); > +REGISTER_TEST_COMMAND(eventdev_selftest_dlb2, > test_eventdev_selftest_dlb2); > + Nit: newline at the end of the file > diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c > index 43b85d7..620a0a5 100644 > --- a/drivers/event/dlb2/dlb2.c > +++ b/drivers/event/dlb2/dlb2.c [...] > +/* destruction */ > +static inline void > +cleanup(struct test *t __rte_unused) Since 't' is unused, just drop the parameter. With that and the whitespace issues fixed: Reviewed-by: Gage Eads Thanks, Gage