net/sfc/base: report correct partition write chunk size
authorAndy Moreton <amoreton@solarflare.com>
Thu, 16 Nov 2017 08:03:58 +0000 (08:03 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commite74e5d32b200937283ecbbf08b1aa72e2228d3ba
treeb911b4045a57346ffbc9d981be562cdfd7f65971
parentf4332a5f486905cfd9547e90ea27fe410fa8dc33
net/sfc/base: report correct partition write chunk size

If the firmware reports a non-zero write chunk size then nvram writes
may fail if a different granularity is used (e.g. for MUM firmware on
Sorrento).

Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/ef10_nvram.c