From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <declan.doherty@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 55D608E92
 for <dev@dpdk.org>; Fri,  4 Dec 2015 17:46:23 +0100 (CET)
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by orsmga103.jf.intel.com with ESMTP; 04 Dec 2015 08:46:22 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.20,380,1444719600"; d="scan'208";a="866723473"
Received: from dwdohert-dpdk.ir.intel.com ([163.33.213.167])
 by fmsmga002.fm.intel.com with ESMTP; 04 Dec 2015 08:46:21 -0800
To: Bernard Iremonger <bernard.iremonger@intel.com>, dev@dpdk.org
References: <PATCH>
 <1449237938-10370-1-git-send-email-bernard.iremonger@intel.com>
From: Declan Doherty <declan.doherty@intel.com>
Message-ID: <5661C313.30402@intel.com>
Date: Fri, 4 Dec 2015 16:45:07 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <1449237938-10370-1-git-send-email-bernard.iremonger@intel.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH] bonding: use eth_dev link state interrupt
	flag
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Dec 2015 16:46:23 -0000

On 04/12/15 14:05, Bernard Iremonger wrote:
> replace RTE_PCI_DRV_INTR_LSC with RTE_ETH_DEV_INTR_LSC
>
> Fixes: 71ba84b1ccb2("bonding: remove fake pci interface")
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>   drivers/net/bonding/rte_eth_bond_pmd.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c
> index aa985f5..8f84ec1 100644
> --- a/drivers/net/bonding/rte_eth_bond_pmd.c
> +++ b/drivers/net/bonding/rte_eth_bond_pmd.c
> @@ -1445,7 +1445,7 @@ slave_add(struct bond_dev_private *internals,
>
>   	/* If slave device doesn't support interrupts then we need to enabled
>   	 * polling to monitor link status */
> -	if (!(slave_eth_dev->data->dev_flags & RTE_PCI_DRV_INTR_LSC)) {
> +	if (!(slave_eth_dev->data->dev_flags & RTE_ETH_DEV_INTR_LSC)) {
>   		slave_details->link_status_poll_enabled = 1;
>
>   		if (!internals->link_status_polling_enabled) {
>

Acked-by: Declan Doherty <declan.doherty@intel.com>