net/sfc: add MCDI callbacks to allocate/free DMA memory
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 17 Sep 2020 06:34:39 +0000 (07:34 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:08 +0000 (19:19 +0200)
commit710ac30e4d1a7d1b98d49a3c2c4fb33614bac65a
treee7bccdd7e2a6439726e2ed5a201015a99031bb22
parente70c914539ea205b6c1e0d5b496f4fbd18f76889
net/sfc: add MCDI callbacks to allocate/free DMA memory

Net driver should use rte_eth_dma_zone_reserve(), but it is ethdev
specific API which is not available for vDPA.

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@xilinx.com>
drivers/net/sfc/sfc_mcdi.c
drivers/net/sfc/sfc_mcdi.h