All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: wangchen@cn.fujitsu.com
Cc: jeffrey.t.kirsher@intel.com, netdev@vger.kernel.org,
	jeff@garzik.org, alexander.h.duyck@intel.com,
	peter.p.waskiewicz.jr@intel.com
Subject: Re: [NET-NEXT v4 PATCH 1/5] ixgbe: this patch adds support for DCB to the kernel and ixgbe driver
Date: Fri, 21 Nov 2008 01:21:15 -0800 (PST)	[thread overview]
Message-ID: <20081121.012115.193683243.davem@davemloft.net> (raw)
In-Reply-To: <49267BE8.6020205@cn.fujitsu.com>

From: Wang Chen <wangchen@cn.fujitsu.com>
Date: Fri, 21 Nov 2008 17:14:16 +0800

> Jeff Kirsher said the following on 2008-11-21 10:00:
> > diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c
> > index a610016..aaa4404 100644
> > --- a/drivers/net/ixgbe/ixgbe_ethtool.c
> > +++ b/drivers/net/ixgbe/ixgbe_ethtool.c
> > @@ -97,9 +97,18 @@ static struct ixgbe_stats ixgbe_gstrings_stats[] = {
> >  	((((struct ixgbe_adapter *)netdev_priv(netdev))->num_tx_queues + \
> >  	((struct ixgbe_adapter *)netdev_priv(netdev))->num_rx_queues) * \
> >  	(sizeof(struct ixgbe_queue_stats) / sizeof(u64)))
> > -#define IXGBE_STATS_LEN (IXGBE_GLOBAL_STATS_LEN + IXGBE_QUEUE_STATS_LEN)
> >  #define IXGBE_GLOBAL_STATS_LEN ARRAY_SIZE(ixgbe_gstrings_stats)
> > -#define IXGBE_STATS_LEN (IXGBE_GLOBAL_STATS_LEN + IXGBE_QUEUE_STATS_LEN)
> > +#define IXGBE_PB_STATS_LEN ( \
> > +                 (((struct ixgbe_adapter *)netdev->priv)->flags & \
> 
> Dave, please don't hate me. :)
> I know you've applied it.
> But I don't want this directly reference of netdev->priv.

Send me a patch!

  reply	other threads:[~2008-11-21  9:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-21  2:00 [NET-NEXT v4 PATCH 1/5] ixgbe: this patch adds support for DCB to the kernel and ixgbe driver Jeff Kirsher
2008-11-21  2:01 ` [NET-NEXT v4 PATCH 2/5] DCB: Add interface to query for the DCB capabilities of an device Jeff Kirsher
2008-11-21  5:07   ` David Miller
2008-11-21  2:01 ` [NET-NEXT v4 PATCH 3/5] DCB: Add interface to query # of TCs supported by device Jeff Kirsher
2008-11-21  5:08   ` David Miller
2008-11-21  2:01 ` [NET-NEXT v4 PATCH 4/5] DCB: Add interface to query the state of PFC feature Jeff Kirsher
2008-11-21  5:09   ` David Miller
2008-11-21  2:02 ` [NET-NEXT v4 PATCH 5/5] DCB: Add support for DCB BCN Jeff Kirsher
2008-11-21  5:10   ` David Miller
2008-11-21  5:02 ` [NET-NEXT v4 PATCH 1/5] ixgbe: this patch adds support for DCB to the kernel and ixgbe driver David Miller
2008-11-21  9:14 ` Wang Chen
2008-11-21  9:21   ` David Miller [this message]
2008-11-21  9:32     ` [NET-NEXT PATCH] ixgbe: convert directly reference of netdev->priv Wang Chen
2008-11-21  9:57       ` David Miller
2008-11-21 13:06 ` [NET-NEXT v4 PATCH 1/5] ixgbe: this patch adds support for DCB to the kernel and ixgbe driver Patrick McHardy
2008-11-21 17:58   ` Roland Dreier
2008-11-21 22:20     ` Jeff Kirsher
2008-11-22  0:48     ` David Miller
2008-11-22  0:57       ` Jeff Kirsher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081121.012115.193683243.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=alexander.h.duyck@intel.com \
    --cc=jeff@garzik.org \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=netdev@vger.kernel.org \
    --cc=peter.p.waskiewicz.jr@intel.com \
    --cc=wangchen@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.