net/sfc/base: add MCDI agnostic wrapper for MAC stats clear
authorIvan Malov <ivan.malov@oktetlabs.ru>
Fri, 3 Mar 2017 12:49:24 +0000 (12:49 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commitb5c94823dc4b40a55f3780880bea205fe2f9b8c1
treede115243d4b446096b778ef6a4cde8b3b1d60fa5
parent740e0ec32d961061d1f215569c09d8bef37ebeea
net/sfc/base: add MCDI agnostic wrapper for MAC stats clear

If a libefx-based driver needs some way to clear port statistics,
then an MCDI agnostic method is required.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_impl.h
drivers/net/sfc/base/efx_mac.c