diff options
author | Edward Cree <ecree@solarflare.com> | 2020-06-30 14:13:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-30 22:09:09 +0200 |
commit | 20e1026cbed4af3fcf15779ec3edecf990ee8d4e (patch) | |
tree | 4acfa9f155087ed4e1a2749c74673f0a26136a10 /drivers/net/ethernet/sfc/nic_common.h | |
parent | sfc: factor out efx_tx_tso_header_length() and understand encapsulation (diff) | |
download | linux-20e1026cbed4af3fcf15779ec3edecf990ee8d4e.tar.xz linux-20e1026cbed4af3fcf15779ec3edecf990ee8d4e.zip |
sfc: move definition of EFX_MC_STATS_GENERATION_INVALID
Saves a whole #include from nic.c.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic_common.h')
-rw-r--r-- | drivers/net/ethernet/sfc/nic_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/nic_common.h b/drivers/net/ethernet/sfc/nic_common.h index 8d0d163afc0d..197ecac5e005 100644 --- a/drivers/net/ethernet/sfc/nic_common.h +++ b/drivers/net/ethernet/sfc/nic_common.h @@ -263,6 +263,8 @@ void efx_nic_free_buffer(struct efx_nic *efx, struct efx_buffer *buffer); size_t efx_nic_get_regs_len(struct efx_nic *efx); void efx_nic_get_regs(struct efx_nic *efx, void *buf); +#define EFX_MC_STATS_GENERATION_INVALID ((__force __le64)(-1)) + size_t efx_nic_describe_stats(const struct efx_hw_stat_desc *desc, size_t count, const unsigned long *mask, u8 *names); int efx_nic_copy_stats(struct efx_nic *efx, __le64 *dest); |