diff options
author | Edward Cree <ecree@solarflare.com> | 2017-01-13 21:20:29 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-10-08 10:26:06 +0200 |
commit | eaf9616e406c05c30bb7366be4aae631a715c7ae (patch) | |
tree | cbf5f037c3cd3e8ddda80163866e65b49134e29d /block | |
parent | c6d263e6b30af4040a61bcceef2fdae33711ad0d (diff) |
sfc: get PIO buffer size from the NIC
[ Upstream commit c634700f7eec3c0da46e299cd0a0ae8b594f9b55 ]
The 8000 series SFC NICs have 4K PIO buffers, rather than the 2K of
the 7000 series. Rather than having a hard-coded PIO buffer size
(ER_DZ_TX_PIOBUF_SIZE), read it from the GET_CAPABILITIES_V2 MCDI
response.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions