]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/qlcnic/qlcnic.h
qlcnic: add eswitch statistics support
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Tue, 17 Aug 2010 00:34:22 +0000 (00:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 10:59:47 +0000 (03:59 -0700)
commitb6021212291d1eb1e7d1245bbd8c53bcbe2355d7
treebc10d1a36a46aaa8e1646a644e77ecafa88a0f14
parentecd7d31038e2e0e95b4596eec021e02ba67a0a37
qlcnic: add eswitch statistics support

Adding eswitch statistics support. User can get
whole eswitch stats or stats of func belong to that eswitch.

Added:
o command to get statistics of eswitch and function.
o sysfs support to export eswitch and func statatistics.

Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic.h
drivers/net/qlcnic/qlcnic_ctx.c
drivers/net/qlcnic/qlcnic_main.c