net/sfc/base: share macro to increment per-event type stats
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 7 Feb 2019 16:29:43 +0000 (16:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Feb 2019 10:35:41 +0000 (11:35 +0100)
commite5ed1e5f382fc7d75e46988a39b764555dd6d849
treee3c0f390537b4cdd057af90042ff661807e3f17a
parenta6b9ee49f0197829288751448057ccabf6432db9
net/sfc/base: share macro to increment per-event type stats

Move duplicate macro to increment per-event type stats to
internal header. These stats are NIC family independent and
stored in generic event queue structure.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_ev.c
drivers/net/sfc/base/efx_ev.c
drivers/net/sfc/base/efx_impl.h