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 32884A00C3; Mon, 8 Jun 2020 03:24:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9706B1BEDD; Mon, 8 Jun 2020 03:24:41 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 46724100C for ; Mon, 8 Jun 2020 03:24:38 +0200 (CEST) IronPort-SDR: 49oCLWWptDqnJqHn85I/5QAjM4BlPSS/4MQqqLWd6KtYHryE766D7OMbS8pcn0rjq3YTMPoijC HqlTTNU9ImhQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2020 18:24:37 -0700 IronPort-SDR: EUUSkB/qs1x4UXU1F/1mHBKphyjoYjFSB5C/BDZMvfaiaBw+fngBFK+THjgmuB8g7sqB0y4kmm XfWo79DnTe6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,486,1583222400"; d="scan'208";a="472531473" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga005.fm.intel.com with ESMTP; 07 Jun 2020 18:24:36 -0700 Received: from orsmsx122.amr.corp.intel.com (10.22.225.227) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 18:24:36 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX122.amr.corp.intel.com (10.22.225.227) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 18:24:36 -0700 Received: from NAM02-CY1-obe.outbound.protection.outlook.com (104.47.37.50) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 7 Jun 2020 18:24:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FxwVBUq/N5C6a5bpKZNz7aKqWOkFPAIl3cxM3CXa/F89GZ1pidoOEZjvWXNEyTNJAPriSAk+ja3MiuErsm+hIK+VauchmCbZKaZeWzKvpftgfEVYAgjs702b47/CBM9jXGpuCAuKh2AR/Bx+aN2ZHxMvBhshZRyF5aRfLRBS9J7vGOwDQ038+VkFRKejaRgJ9slU20ACDt/wu7Enuaywh1uojU0IoTdnA/k3GjWJ1aMy6V7MhR0BHAsuUooaX6icH6q30tW18u1QcEqdDzxAgqrgN6cPdDATynbtiKK6RW3dG5sxIsWUo2AodYI++ivN31T4Hy2hRLhAKWzYgBMuog== 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=+JVFYHVTHR4O6VJJJIWdFdmLiqQHyD0pwAL5HmCuWnk=; b=OgKwX54vncNCHCuMvc+nK3EsS71f1sV2ISWviXQEA4emncHSLEUE2gh1AWETUk2KvZx50Dlw9sdKyswbEPBOawETncac/k3YzY6ATZk+K1W+SggaGnn5wtDa5uWj1oXNSFUD9UF4W66j6tdnJcUh4gWkTALmp/IQ9WyHagX9qaCwYJW/0duvL7VzEhO4eBsDI6pkP8lmtj1rHglf38WY+mR5KwyMvuz5wAPTmAALzPjtfm6/mHmAXRkrJgDM1Dqqgy8kOVlPZPfuW1+Gs3xL9CD4RZiBj44aEsjB71TRXzQ89WVUjnZNh2ygKqo78YLgL9rCeOE3TX697vbUv5XgSA== 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=+JVFYHVTHR4O6VJJJIWdFdmLiqQHyD0pwAL5HmCuWnk=; b=Wq8i7WpjFLJUHh7ZTzIRS9LgxbSrhhZQVZWwEltNy5101v6ro7GCtxoWFfAV3dVDW0h/Y4TgqYE1XPia5PPsYz7VhnZySBnXoPMPbKQQstvuODab8FyTz9crbUU0axi7ODYOgeSZJWDBq49D1g8Eht3HJYaTvXBLHRHNUuAWY94= Received: from BYAPR11MB3655.namprd11.prod.outlook.com (2603:10b6:a03:f6::11) by BYAPR11MB3317.namprd11.prod.outlook.com (2603:10b6:a03:7b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Mon, 8 Jun 2020 01:24:34 +0000 Received: from BYAPR11MB3655.namprd11.prod.outlook.com ([fe80::19e6:cfc0:35a1:1e03]) by BYAPR11MB3655.namprd11.prod.outlook.com ([fe80::19e6:cfc0:35a1:1e03%2]) with mapi id 15.20.3066.023; Mon, 8 Jun 2020 01:24:33 +0000 From: "Wang, Yinan" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Hunt, David" , "Ma, Liang J" , "Pattan, Reshma" Thread-Topic: [dpdk-dev] [PATCH 0/3] Add interrupt-only mode to l3fwd-power Thread-Index: AQHWNNBiGNc0mt2mTky5+ZVzsrYQFajN/UzA Date: Mon, 8 Jun 2020 01:24:33 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows 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: [192.55.46.36] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 27cf7a95-fb9b-4966-ede8-08d80b4ab36a x-ms-traffictypediagnostic: BYAPR11MB3317: 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:10000; x-forefront-prvs: 042857DBB5 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pSDAvx516oReHlbrIZyM6yFoi6ibwkoTN5clw4LZJgBuHVu00t5xi3cqNH+g4afhu2UUAAVpyCbdZZ0wxYm61PSHHGAf01YzjYTdm9cElow62FsoD55f01h82vlPEs7O95rxswgUjFbWpWIbb7MNoKjA66B7XOLYIN+9q3GsvZdgoTn2jC/E2szYFdAQH/dA8N4JLvHYsDtk1/tPeQdoN6ITcMK1Mt+hHW1AwPeLvsljzJItke6NLdcfJzPoZZcUe81Y8ScOO15aCrRRy6iEC3fsz2UDGuV5zPkI91EdTtTIo7iqrKA2oDlYEBuumnR2Cet+RVIHAR5blTEfKhXNgP4FgbNTsyPvm1AeTgW1OH8pLE620qYMw5B5MZf0IICS x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3655.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(366004)(39860400002)(346002)(376002)(396003)(107886003)(26005)(4326008)(86362001)(8936002)(7696005)(6506007)(71200400001)(8676002)(53546011)(316002)(2906002)(66946007)(66556008)(66476007)(83380400001)(54906003)(52536014)(110136005)(76116006)(5660300002)(186003)(478600001)(9686003)(33656002)(55016002)(64756008)(66446008)(32563001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9fcaKZmscYRh/LLI0Xiwe8Le6sK+EjNYqOSXERaG99rFUC7ZBLOBPu3p8BzKSyV3w/LB47EZFTHAqopgnD9PUpDqHdCAFxbrWqf6xXnMM4rOPdxJKpg8AL/svgkYr4yLEGdGh1EpdV4mw+Wgg9087OWGIka2I9ezMrgL1HBF1GCz4l3FEC4s82zVkKi7aEgif7PpWqK6G9gKxhd9RlQ5khYMyD+HTG9exijdilSzaeJ6Nn8x6a9KBDPXnDffuvAFPS2N4r8j3zvReDAl+mquMhCxVxO+OoItw6ikBsVWuci2jwJ3UM/8CpnwuLnq1tLCnLudMiwQnWB7zmQX3kUcMcDhnrYau4Ys2ymRntcCkxkCZQiIP10DozyKxNK4euroDlaodANx0idXD8t6lEsfZ+qZHzkMds2sh+rYwcwBVzUgx60bwFlTy6FBS8jiOLPBwv4C/E7FM/1e1pdGF7ow+AdZzL6yT6DSCe6J0vRxMOQ= Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 27cf7a95-fb9b-4966-ede8-08d80b4ab36a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2020 01:24:33.6821 (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: 9YiomY8ujVdUDepQ+60OuYELEU0KfXJXkB7U4P8htLzoFECAg91Pr7lUWenpeUaoZDQtKfkUQk3nAyqQLOst5A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3317 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 0/3] Add interrupt-only mode to l3fwd-power 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" Tested-by: Wang, Yinan > -----Original Message----- > From: dev On Behalf Of Anatoly Burakov > Sent: 2020=1B$BG/=1B(B5=1B$B7n=1B(B28=1B$BF|=1B(B 17:14 > To: dev@dpdk.org > Cc: Hunt, David ; Ma, Liang J ; > Pattan, Reshma > Subject: [dpdk-dev] [PATCH 0/3] Add interrupt-only mode to l3fwd-power >=20 > Since 20.05, l3fwd-power has become much more stringent about whether it > allows initialization without initializing the librte_power library with = it. This > means that while previously the app could have been used to test RX inter= rupts > functionality even if the app itself was in a half-working state, it is n= ow no > longer possible to do so. >=20 > To address this use case, we're adding an interrupt-only mode that does n= ot rely > on librte_power or telemetry. This enables using l3fwd-power in environme= nts > where librte_power is not expected to work (such as inside a VM or on non= -IA > architectures). The RX/TX path is basically copy paste from legacy RX/TX = path > but with librte_power bits taken out. >=20 > There seem to be two opposing schools of thought on whether we should hav= e > more or less examples. This patchset goes in the "less" direction where w= e add a > new mode to an existing app, rather than creating a new one like it could= be > argued it deserves. >=20 > Anatoly Burakov (3): > l3fwd-power: disable interrupts by default > l3fwd-power: only allow supported power library envs > l3fwd-power: add interrupt-only mode >=20 > examples/l3fwd-power/main.c | 234 +++++++++++++++++++++++++++++++++-- > - > 1 file changed, 217 insertions(+), 17 deletions(-) >=20 > -- > 2.17.1