net/sfc/base: use MCDIv2 for requests with too long response
authorMark Spender <mspender@solarflare.com>
Thu, 16 Nov 2017 08:04:15 +0000 (08:04 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit0f55ea2b7a52b7666cd30c4be9aeb6c28dda4085
tree555839fe98d736c77647b41a359ef6c1a85dd12b
parent7fb0fbc8e1bd43274667f1c50c7bcc226c1137b8
net/sfc/base: use MCDIv2 for requests with too long response

Use MCDIv2 for requests with a response size too long for MCDIv1.

Required for MC_CMD_MAC_STATS to reports the stats without using DMA.

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_mcdi.c