[dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops

Wang, Liang-min liang-min.wang at intel.com
Sat Jun 27 04:37:32 CEST 2015



> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday, June 26, 2015 9:33 PM
> To: Wang, Liang-min
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v9 2/5] ixgbe: add ops to support ethtool ops
> 
> On Fri, 26 Jun 2015 21:19:05 -0400
> Liang-Min Larry Wang <liang-min.wang at intel.com> wrote:
> 
> > +static int
> > +ixgbe_get_reg_length(struct rte_eth_dev *dev __rte_unused)
> > +{
> > +	struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data-
> >dev_private)
> 
> The dev arg is used, and therefore should not be marked __rte_unused.

Fixed at v10.


More information about the dev mailing list