Thread (76 messages) 76 messages, 4 authors, 2021-02-11

Re: [dpdk-dev] [PATCH v7 07/12] net/octeontx_ep: added rxq setup and release

From: Ferruh Yigit <hidden>
Date: 2021-01-29 14:04:23

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 <redacted>
<...>
+
+	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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help