[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200626.131516.1400996071899307828.davem@davemloft.net>
Date: Fri, 26 Jun 2020 13:15:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ecree@...arflare.com
Cc: linux-net-drivers@...arflare.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 05/15] sfc: refactor EF10 stats handling
From: Edward Cree <ecree@...arflare.com>
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_nic *efx, __le64 *dest)
> +{
> + int retry;
> + __le64 generation_start, generation_end;
> + __le64 *dma_stats = efx->stats_buffer.addr;
> + int rc = 0;
Reverse christmas tree please.
Powered by blists - more mailing lists