[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1297933764.2670.20.camel@edumazet-laptop>
Date: Thu, 17 Feb 2011 10:09:24 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Tom Herbert <therbert@...gle.com>
Cc: davem@...emloft.net, eilong@...adcom.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2] bnx2x: Support for managing RX indirection table
Le mercredi 16 février 2011 à 12:27 -0800, Tom Herbert a écrit :
> Support fetching and retrieving RX indirection table via ethtool.
>
> Signed-off-by: Tom Herbert <therbert@...gle.com>
> ---
> drivers/net/bnx2x/bnx2x.h | 2 +
> drivers/net/bnx2x/bnx2x_ethtool.c | 56 +++++++++++++++++++++++++++++++++++++
> drivers/net/bnx2x/bnx2x_main.c | 22 +++++++++++---
> 3 files changed, 75 insertions(+), 5 deletions(-)
Acked-by: Eric Dumazet <eric.dumazet@...il.com>
As this is a bit unusual stuff (ethtool -X), I guess some hints can be
useful to testers and admins :
I tested this patch on my dev machine
Broadcom Corporation NetXtreme II BCM57711E 10Gigabit PCIe
(Hewlett-Packard Company NC532i Dual Port 10GbE Multifunction BL-C
Adapter)
# ethtool -X eth1 weight 0 1 0 2 0 4 0 8 0 16 0 32
# ethtool -x eth1
RX flow hash indirection table for eth1 with 16 RX ring(s):
0: 1 1 3 3 3 3 5 5
8: 5 5 5 5 5 5 7 7
16: 7 7 7 7 7 7 7 7
24: 7 7 7 7 7 7 9 9
32: 9 9 9 9 9 9 9 9
40: 9 9 9 9 9 9 9 9
48: 9 9 9 9 9 9 9 9
56: 9 9 9 9 9 9 11 11
64: 11 11 11 11 11 11 11 11
72: 11 11 11 11 11 11 11 11
80: 11 11 11 11 11 11 11 11
88: 11 11 11 11 11 11 11 11
96: 11 11 11 11 11 11 11 11
104: 11 11 11 11 11 11 11 11
112: 11 11 11 11 11 11 11 11
120: 11 11 11 11 11 11 11 11
After some (distributed) trafic on eth1 I get :
[root@...voipvnx021 ~]# ethtool -S eth1|grep rx_ucast_packets
[0]: rx_ucast_packets: 62
[1]: rx_ucast_packets: 15870
[2]: rx_ucast_packets: 9
[3]: rx_ucast_packets: 31507
[4]: rx_ucast_packets: 0
[5]: rx_ucast_packets: 63106
[6]: rx_ucast_packets: 0
[7]: rx_ucast_packets: 122051
[8]: rx_ucast_packets: 1
[9]: rx_ucast_packets: 248071
[10]: rx_ucast_packets: 0
[11]: rx_ucast_packets: 519864
[12]: rx_ucast_packets: 0
[13]: rx_ucast_packets: 0
[14]: rx_ucast_packets: 0
[15]: rx_ucast_packets: 0
rx_ucast_packets: 1000541
--
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