[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49267BE8.6020205@cn.fujitsu.com>
Date: Fri, 21 Nov 2008 17:14:16 +0800
From: Wang Chen <wangchen@...fujitsu.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
CC: davem@...emloft.net, netdev@...r.kernel.org, jeff@...zik.org,
Alexander Duyck <alexander.h.duyck@...el.com>,
Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@...el.com>
Subject: Re: [NET-NEXT v4 PATCH 1/5] ixgbe: this patch adds support for DCB
to the kernel and ixgbe driver
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists