]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a1fb4f3276aea46f76acce9f4ca74d8bdb5e28c
tree897b187e6f8a81e73cf8bb9e6568910860a88497
parent9b1fc9b480678e77bcb4ca456c6dc5b0ece5da68
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