[dpdk-dev] [PATCH v7 07/12] net/octeontx_ep: added rxq setup and release
Ferruh Yigit
ferruh.yigit at intel.com
Fri Jan 29 15:04:00 CET 2021
On 1/29/2021 12:45 PM, Nalla Pradeep wrote:
> 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 at marvell.com>
<...>
> +
> + otx_ep_dbg("OQ[%d]: desc_ring: virt: 0x%p, dma: %lx\n",
> + q_no, droq->desc_ring, (unsigned long)droq->desc_ring_dma);
'desc_ring_dma' type is 'size_t', and the format specifier for it is '%zx',
using correct specifier removes the need to cast.
More information about the dev
mailing list