From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7287FA04DB;
	Wed, 14 Oct 2020 19:04:39 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 4F5611DA78;
	Wed, 14 Oct 2020 19:04:38 +0200 (CEST)
Received: from mga12.intel.com (mga12.intel.com [192.55.52.136])
 by dpdk.org (Postfix) with ESMTP id 913ED1BCF5
 for <dev@dpdk.org>; Wed, 14 Oct 2020 19:04:35 +0200 (CEST)
IronPort-SDR: 28679wVXovoPId8z6hmvFYnOby0DViEbvWTaMlKftmGmzvB3eQXFxcvbEAxjDs3SLakMh214xU
 iLkVGWGkgU/Q==
X-IronPort-AV: E=McAfee;i="6000,8403,9774"; a="145457006"
X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="145457006"
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga007.fm.intel.com ([10.253.24.52])
 by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 14 Oct 2020 10:04:21 -0700
IronPort-SDR: Av1byQOFk4wxVkQoKokIQcVpVdsnVyzEMR9OtqeADXaTD1KrZSSm10cNUkm7fVqt6VwaAohQeX
 hG15S1UcCfXg==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.77,375,1596524400"; d="scan'208";a="300012901"
Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84])
 by fmsmga007.fm.intel.com with ESMTP; 14 Oct 2020 10:04:21 -0700
Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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; Wed, 14 Oct 2020 10:04:18 -0700
Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by
 fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.1713.5; Wed, 14 Oct 2020 10:04:18 -0700
Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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; Wed, 14 Oct 2020 10:04:18 -0700
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.169)
 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.1713.5; Wed, 14 Oct 2020 10:04:10 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=Fu8+rRudV5GcnBJ+UxwRl/3f+Mn8p/G9qzVWGt0PttdysDjCvIjzyW/5sPskiMjQ6fImG1ZdPRt0s4+CTTPXy2faqLVs46vYp8KvniP6ip2pmm59QFNikakgOUp8s9bGEGmSW+Vc3htIwQLM5G7O8fhzitDZoqyoW0Kk77DJLUddxyBvW9Lj3rHk12S4VcZD4dSIgCIXiAdHSyWKOZdFDougmnQgdBGc8NoF/tsF/pP6ALwWtWGW4VqieS5doUt7ATCllisfi2tmF0j711xj8hyE5/s05mBT7bNBP/QxNiffD6thmj4ZwSs7YYcrZ0GPOROY4jbUTqZtYpcIQ9rbWg==
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=0IXmBAz6p6FALawpixDG3/tM6rhpbxzLxjczXpvE4aQ=;
 b=GFIM71mwa9NcpagptH9BFDAQLT0lNEEELGLOquuKsA/Ug3XaMXdvJa2luC4pEY7G0a9rxHdEgGEiTf6mM9uXDUoVVmKhFw4uRKQXelpB+9uFT3x/AFOZntava1DIxBgWZkRbFZ31qS27aJeffKO4wODeb61ftDqHd1UAwqqBhp8mVJFeIz6vCTXtIQEmqCyBY2mcvRLBobVzo09sRINfH2rVjMr4kEF92+8KLrJvqoNlD6zyodECIOpKxXBfbGqR88ynsAvTshKIhAQyf0VQCd+PGiF+Ni3eahTGgGHHhOrZKmM+lN7Kde0BuvwRwjMf1iIBIOWwlACSPc0W0H37+Q==
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=0IXmBAz6p6FALawpixDG3/tM6rhpbxzLxjczXpvE4aQ=;
 b=LcOndJ2Zux24cTDFVtm6gOSImDDFlKPPvnUxLnbjwR9KNslxAJzlCvSWjzAo5o8B7r5pTiebApymz0WeXf8tbV4c2ymYXCdVY/vSQ+FI/0U6OIOtpTio6937dB7BjTFXAfLwYygV9Ad5CwL3yTWyTk3vRgfETOYSi4iYm/gbk5s=
Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31)
 by BN8PR11MB3553.namprd11.prod.outlook.com (2603:10b6:408:81::33)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.23; Wed, 14 Oct
 2020 17:04:01 +0000
Received: from BN8PR11MB3795.namprd11.prod.outlook.com
 ([fe80::e4a8:91ab:e032:b8ae]) by BN8PR11MB3795.namprd11.prod.outlook.com
 ([fe80::e4a8:91ab:e032:b8ae%5]) with mapi id 15.20.3477.021; Wed, 14 Oct 2020
 17:04:01 +0000
From: "Wang, Haiyue" <haiyue.wang@intel.com>
To: "Burakov, Anatoly" <anatoly.burakov@intel.com>, "dev@dpdk.org"
 <dev@dpdk.org>
CC: "Ma, Liang J" <liang.j.ma@intel.com>, "Guo, Jia" <jia.guo@intel.com>,
 "Hunt, David" <david.hunt@intel.com>, "Ananyev, Konstantin"
 <konstantin.ananyev@intel.com>, "jerinjacobk@gmail.com"
 <jerinjacobk@gmail.com>, "Richardson, Bruce" <bruce.richardson@intel.com>,
 "thomas@monjalon.net" <thomas@monjalon.net>, "McDaniel, Timothy"
 <timothy.mcdaniel@intel.com>, "Eads, Gage" <gage.eads@intel.com>, "Macnamara, 
 Chris" <chris.macnamara@intel.com>
Thread-Topic: [PATCH v6 06/10] net/ixgbe: implement power management API
Thread-Index: AQHWoi5Er6AJjsDejUSESohRsT2d3amXU3yA
Date: Wed, 14 Oct 2020 17:04:01 +0000
Message-ID: <BN8PR11MB3795F19A6C64372723E226CAF7050@BN8PR11MB3795.namprd11.prod.outlook.com>
References: <532f45c5d79b4c30a919553d322bb66e91534466.1602258833.git.anatoly.burakov@intel.com>
 <5119252a5a5685241f65eb71294b711c53d5db04.1602682206.git.anatoly.burakov@intel.com>
In-Reply-To: <5119252a5a5685241f65eb71294b711c53d5db04.1602682206.git.anatoly.burakov@intel.com>
Accept-Language: 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: [192.198.147.216]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 389f562e-4432-4c50-4c20-08d87063260d
x-ms-traffictypediagnostic: BN8PR11MB3553:
x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BN8PR11MB3553F8A88812759805706F86F7050@BN8PR11MB3553.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:2887;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 5m2MUsBkftUpf0jNNZkL9oVlMS0wz2/sBmliYZKW6BO2S8X1PLRZAfhNi/eD5PXCvss7Zjs8fSOqrHWYvzXKWaBFWK9uCOh5BWX/1BibngSLgOJHEHnigNq2/8XZG0v50KqwurcQk78ahJf1r42tAaUueu8VD24yguLsRssbuvPTOtE8xHtRFuacLXzak1UATps8KwcVU3D5doqlKQdGTACdmmjtT3qo6pm5970rQG+Hh+IwvWpFyaINsBWiJabMdWzbbAWiJ0QvQqlVa9AOXwU6Eu03YZp2t/x83EnRDo2mhQTFaGfyj/dzJzqNGoEPx216rpR5NSPgLNBUCc7wuw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(4636009)(396003)(366004)(39860400002)(346002)(376002)(136003)(5660300002)(64756008)(26005)(8676002)(33656002)(4744005)(86362001)(8936002)(2906002)(4326008)(71200400001)(54906003)(66556008)(76116006)(7696005)(66476007)(66446008)(9686003)(186003)(55016002)(6506007)(53546011)(66946007)(107886003)(83380400001)(110136005)(478600001)(316002)(52536014);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata: 21QWXzyN1N3nrinwkmFWzNtOxb1MH2xSowbVZyWPT/TjoMvPgbVQ8X99RUHtSoHByTnQSp17FQBFXLnSciLm7PHMl9AYqTBYZunrDB9xO8KzUQBss0jrrpiicgKpYr3iWwArfCKYEnEY/zS8186Vn87P9gThuiySu+5L4Jy39ABP0MpSU/mulzt2LA/3XNhr/i6s3HVK6hM7mYUuM5g2e4xlCaGXG6xL9EuRgu/CRrVUM5XpAOFc+44F8A6HrByuVWvRzSAmnZuQ1SIRjfLQuNyizjogKzTeh5/GhtJ3W+eNA9XPhcfoFKlpLg/iqq2+8dxVoZWyrg9+DET+syi6QSHKM1MPs7i3pQmf4ARz8NFH41aPIFofDbte4FaV1ACSpPnZridlqkQciadckT1ENyd8sYYEBue3d1ZmQ1pylukcI+q7I1v2urX/UZgKjv7n0SmM4haP9E5mWkj8pzUGLyA6v2Gc5CVri5DlAH5RmjQ+ufhP8GnmCqJ/xa1/UzagMIfxrwBhmEaglhn7m/AjMEthCzRwRXvKdwb4u6RuODLZ3Gp9kXIHfSf/tKqQGiUTfvDku8OfLJvPwY8n1ssP9Kdxv9xskjwoNuynPqqEDrqjK5/wVdnFmpWEti7w4X4F20NC5YQDCpGp3GU80DjllA==
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: BN8PR11MB3795.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 389f562e-4432-4c50-4c20-08d87063260d
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2020 17:04:01.1836 (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: 3VwG4U7PFNWMON/VvEzGpJ6K/U3rscF2+PRasc43NBJ+WmrLWU4vNvVYbdJpOM3QE+1foN68qte/643ScG7+Ig==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3553
X-OriginatorOrg: intel.com
Subject: Re: [dpdk-dev] [PATCH v6 06/10] net/ixgbe: implement power
	management API
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

> -----Original Message-----
> From: Burakov, Anatoly <anatoly.burakov@intel.com>
> Sent: Wednesday, October 14, 2020 21:30
> To: dev@dpdk.org
> Cc: Ma, Liang J <liang.j.ma@intel.com>; Guo, Jia <jia.guo@intel.com>; Wan=
g, Haiyue
> <haiyue.wang@intel.com>; Hunt, David <david.hunt@intel.com>; Ananyev, Kon=
stantin
> <konstantin.ananyev@intel.com>; jerinjacobk@gmail.com; Richardson, Bruce =
<bruce.richardson@intel.com>;
> thomas@monjalon.net; McDaniel, Timothy <timothy.mcdaniel@intel.com>; Eads=
, Gage <gage.eads@intel.com>;
> Macnamara, Chris <chris.macnamara@intel.com>
> Subject: [PATCH v6 06/10] net/ixgbe: implement power management API
>=20
> From: Liang Ma <liang.j.ma@intel.com>
>=20
> Implement support for the power management API by implementing a
> `get_wake_addr` function that will return an address of an RX ring's
> status bit.
>=20
> Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
> Signed-off-by: Liang Ma <liang.j.ma@intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> ---
>  drivers/net/ixgbe/ixgbe_ethdev.c |  1 +
>  drivers/net/ixgbe/ixgbe_rxtx.c   | 25 +++++++++++++++++++++++++
>  drivers/net/ixgbe/ixgbe_rxtx.h   |  2 ++
>  3 files changed, 28 insertions(+)

Reviewed-by: Haiyue Wang <haiyue.wang@intel.com>

> --
> 2.17.1