From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 377DE5A56 for ; Sun, 1 Nov 2015 22:36:36 +0100 (CET) Received: by wmec75 with SMTP id c75so46287848wme.1 for ; Sun, 01 Nov 2015 13:36:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=G+I39XA1r+uAJjtv4PGllQLpe+SVTWpDVg68IfixjWg=; b=eIXjPriY/FbjGyDZ8JmuNb6opVnvjNTloyh5v8GqHPN3jUM7nIJZ5FCCeM2GjDiiRN Hf0fFJlLU5csdk15C+2mh65x8WY6VH+f5VQsLznR75Mum9tQu8yts0wIo/AC/Ds1ZlNu SVXaOdp8j0KFSJlhB/qlicVhxKT9jd/2Kwb6W26ZjkS3ao5rkZgx1tJaPLgzPlPeARVi kN+B4KbPlYDTJUTwMgLs3o8klFIdWlGixHxfqNdT9mse8J03gmU72txFn35C5/kwwjka 6VKbu3dIOjO4yxcyfAjwm2p1E5pSJMqDIjwI9WGuD0twmjDT9UArYLOxEoHyaXupIQwI lrdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=G+I39XA1r+uAJjtv4PGllQLpe+SVTWpDVg68IfixjWg=; b=RbdvVgZT7UPa5/7+cC9iVE2VPNeo3XFUSh0J0q7Fze/nn8gRG3ttjd4N216xqdppde LS2L6vxw6RdUx9ALgb3+akLowoPCguNGPkTr1cKbjpakM4Y9fQyZc65Mgr7lcNjnQME8 AqJmGk4joTY2lBVHP3vBwuESzselvhaP8OMFRvcrkCoNwE9s8gg2ZumB4RCLUW7G9Nqu uvQiXFIkhcqgPmAPs0zFKV7l5oYZ8LX1leHq3YA930Tq7aQ0ujJicFFsMtHo/p3+Lxhx xyHhe+WBGNEjHYQMpe1TtaqTnVVqxVrzmgemEqmkZngnW6f+EFH7B/HCeh+DRV0GjG8i ZpUg== X-Gm-Message-State: ALoCoQk6FglhtbQt3p4F+NrKXFbKN8HVOFtjPhq6qgIDH9O+PNnKNQs8erqq9M/JC9UE+kxHcOyx X-Received: by 10.28.6.12 with SMTP id 12mr9069607wmg.99.1446413796053; Sun, 01 Nov 2015 13:36:36 -0800 (PST) Received: from xps13.localnet (122.26.90.92.rev.sfr.net. [92.90.26.122]) by smtp.gmail.com with ESMTPSA id b1sm18831580wjx.12.2015.11.01.13.36.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Nov 2015 13:36:35 -0800 (PST) From: Thomas Monjalon To: Bernard Iremonger Date: Sun, 01 Nov 2015 22:35:24 +0100 Message-ID: <1958046.uufG92VmLf@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1446217733-9887-29-git-send-email-bernard.iremonger@intel.com> References: <1446217733-9887-29-git-send-email-bernard.iremonger@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Sun, 01 Nov 2015 21:36:36 -0000 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; > Why it is not a private data of the bonding device? Why the check on the device name is not relevant anymore?