net/sfc/base: refactor EF10 get datapath capabilities
authorAndy Moreton <amoreton@solarflare.com>
Tue, 20 Feb 2018 07:33:54 +0000 (07:33 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:42 +0000 (14:08 +0200)
commit4aab7f07a6457b05594995c263cddc237c0d3b38
treefc6741b0777ae20fb5a2339befa76e84cef61cad
parent1eb735b2c8fc3bfe3aa6bd9a626dd04776e51df3
net/sfc/base: refactor EF10 get datapath capabilities

Inline efx_mcdi_get_capabilities() to prepare for reading
newer capabilities response versions.

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