net/sfc: move MCDI helpers to common driver
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 17 Sep 2020 06:34:43 +0000 (07:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:08 +0000 (19:19 +0200)
commit3caa85daa4f7746c886d3e383d8177f9b8907540
tree331fda768007dd30d63961d44a7bd4499e59636f
parentbbd3f0f109be79fe3774782e3e570ed68bfbc36c
net/sfc: move MCDI helpers to common driver

These helper will be reused by other libefx consumers, e.g. vDPA
driver.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/common/sfc_efx/meson.build
drivers/common/sfc_efx/rte_common_sfc_efx_version.map
drivers/common/sfc_efx/sfc_efx_mcdi.c [new file with mode: 0644]
drivers/common/sfc_efx/sfc_efx_mcdi.h [new file with mode: 0644]
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_mcdi.c
drivers/net/sfc/sfc_mcdi.h [deleted file]