qed: Add statistics support
authorManish Chopra <Manish.Chopra@qlogic.com>
Mon, 26 Oct 2015 09:02:33 +0000 (11:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Oct 2015 02:34:54 +0000 (19:34 -0700)
commit9df2ed0415b13218f84262c2372323ef028310fc
tree897b187e6f8a81e73cf8bb9e6568910860a88497
parenta2ec6172d29cf3aed92e9db40e83e36329db1dd5
qed: Add statistics support

Device statistics can be gathered on-demand. This adds the qed support for
reading the statistics [both function and port] from the device, and adds
to the public API a method for requesting the current statistics.

Signed-off-by: Manish Chopra <Manish.Chopra@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_dev.c
drivers/net/ethernet/qlogic/qed/qed_dev_api.h
drivers/net/ethernet/qlogic/qed/qed_hsi.h
drivers/net/ethernet/qlogic/qed/qed_l2.c
include/linux/qed/qed_eth_if.h