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 <pna...@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.