net/octeontx_ep: add Rx queue setup and release
authorNalla Pradeep <pnalla@marvell.com>
Fri, 29 Jan 2021 12:45:05 +0000 (04:45 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:12 +0000 (18:16 +0100)
commit242e18c0568902083bad5a551a420e8e8f703eae
tree8d8fd18428604bb9b27b40fbcbb251c4362187a8
parente73b6899e1a6325618284255ca02ec0fe5ef308d
net/octeontx_ep: add Rx queue setup and release

Receive queue setup involves allocating memory for the queue,
initializing data structure representing the queue and filling queue
with receive buffers of rx descriptor count. Receive queues are referred
as droq. Hardware fills the receive buffers in queue with the packet.

In receive queue release, receive buffers are freed along with the
receive queue.

Signed-off-by: Nalla Pradeep <pnalla@marvell.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/octeontx_ep/meson.build
drivers/net/octeontx_ep/otx_ep_common.h
drivers/net/octeontx_ep/otx_ep_ethdev.c
drivers/net/octeontx_ep/otx_ep_rxtx.c [new file with mode: 0644]
drivers/net/octeontx_ep/otx_ep_vf.h