Re: [PATCH net-next 05/15] sfc: refactor EF10 stats handling

2020-06-26 Thread David Miller
From: Edward Cree Date: Fri, 26 Jun 2020 12:29:02 +0100 > diff --git a/drivers/net/ethernet/sfc/nic.c b/drivers/net/ethernet/sfc/nic.c > index b0baa70fbba7..9f5d6932ed71 100644 > --- a/drivers/net/ethernet/sfc/nic.c > +++ b/drivers/net/ethernet/sfc/nic.c ... > +int efx_nic_copy_stats(struct efx_

[PATCH net-next 05/15] sfc: refactor EF10 stats handling

2020-06-26 Thread Edward Cree
Separate the generation-count handling from the format conversion, to make it easier to re-use both for EF100. Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/ef10.c | 68 - drivers/net/ethernet/sfc/nic.c | 46 ++ drivers/net/ethernet