From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Wang, Liang-min" Subject: Re: [PATCH v9 2/5] ixgbe: add ops to support ethtool ops Date: Sat, 27 Jun 2015 02:37:32 +0000 Message-ID: References: <1432946276-9424-1-git-send-email-liang-min.wang@intel.com> <1435367948-20240-1-git-send-email-liang-min.wang@intel.com> <1435367948-20240-3-git-send-email-liang-min.wang@intel.com> <20150626183248.44a55e34@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" To: Stephen Hemminger Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id EFABECA6E for ; Sat, 27 Jun 2015 04:37:37 +0200 (CEST) In-Reply-To: <20150626183248.44a55e34@urahara> Content-Language: en-US List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Stephen Hemminger [mailto:stephen@networkplumber.org] > Sent: Friday, June 26, 2015 9:33 PM > To: Wang, Liang-min > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool = ops >=20 > On Fri, 26 Jun 2015 21:19:05 -0400 > Liang-Min Larry Wang wrote: >=20 > > +static int > > +ixgbe_get_reg_length(struct rte_eth_dev *dev __rte_unused) > > +{ > > + struct ixgbe_hw *hw =3D IXGBE_DEV_PRIVATE_TO_HW(dev->data- > >dev_private) >=20 > The dev arg is used, and therefore should not be marked __rte_unused. Fixed at v10.