From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 221428E7F for ; Mon, 2 Nov 2015 11:27:07 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP; 02 Nov 2015 02:27:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,234,1444719600"; d="scan'208";a="840509340" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga002.jf.intel.com with ESMTP; 02 Nov 2015 02:27:06 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.138]) by IRSMSX106.ger.corp.intel.com ([169.254.8.229]) with mapi id 14.03.0248.002; Mon, 2 Nov 2015 10:27:05 +0000 From: "Iremonger, Bernard" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v7 28/28] bonding: remove pci device Thread-Index: AQHRFO1k3mstIZZj8Ei0x5LxjYLuaZ6Ih6jA Date: Mon, 2 Nov 2015 10:27:05 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C219F76F53@IRSMSX108.ger.corp.intel.com> References: <1446217733-9887-29-git-send-email-bernard.iremonger@intel.com> <1958046.uufG92VmLf@xps13> In-Reply-To: <1958046.uufG92VmLf@xps13> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v7 28/28] bonding: remove pci device X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 10:27:08 -0000 Hi Thomas, > Subject: Re: [dpdk-dev] [PATCH v7 28/28] bonding: remove pci device >=20 > 2015-10-30 15:08, Bernard Iremonger: > > + /* return 0 if bonded device */ > > + if (eth_dev->data->dev_flags & RTE_ETH_DEV_BONDED) > > + return 0; > > + else > > + return 1; > > >=20 > Why it is not a private data of the bonding device? > Why the check on the device name is not relevant anymore? I had some issues with the device name while working on the bonding driver. I will restore the check on device name. Regards, Bernard.