diff options
author | Bert Kenward <bkenward@solarflare.com> | 2017-04-25 13:44:54 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-25 11:19:21 -0400 |
commit | a53d26eb888ab1c41779c443daf1af948c641e0b (patch) | |
tree | 2ce5c11a873252a6c5579d7d9848d17745b93fcb /drivers/net/ethernet/sfc/workarounds.h | |
parent | f6478218e6edc2a587b8f132f66373baa7b2497c (diff) | |
download | blackbird-op-linux-a53d26eb888ab1c41779c443daf1af948c641e0b.tar.gz blackbird-op-linux-a53d26eb888ab1c41779c443daf1af948c641e0b.zip |
sfc: tx ring can only have 2048 entries for all EF10 NICs
Fixes: dd248f1bc65b ("sfc: Add PCI ID for Solarflare 8000 series 10/40G NIC")
Reported-by: Patrick Talbert <ptalbert@redhat.com>
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/workarounds.h')
-rw-r--r-- | drivers/net/ethernet/sfc/workarounds.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/workarounds.h b/drivers/net/ethernet/sfc/workarounds.h index 103f827a1623..c67fa18b8121 100644 --- a/drivers/net/ethernet/sfc/workarounds.h +++ b/drivers/net/ethernet/sfc/workarounds.h @@ -16,6 +16,7 @@ */ #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) +#define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) #define EFX_WORKAROUND_10G(efx) 1 /* Bit-bashed I2C reads cause performance drop */ |