On 1/29/2021 12:16 AM, Nalla Pradeep wrote:
Function to deliver packets from DROQ to application is added. It also
fills DROQ with receive buffers timely such that device can fill them
with incoming packets.
Signed-off-by: Nalla Pradeep <pna...@marvell.com>
<...>
@@ -240,7 +246,6 @@ otx_ep_droq_setup_ring_buffers(struct otx_ep_droq *droq)
if (buf == NULL) {
otx_ep_err("OQ buffer alloc failed\n");
droq->stats.rx_alloc_failure++;
- /* otx_ep_droq_destroy_ring_buffers(droq);*/
return -ENOMEM;
}
Can you please fix this where it is introduced at first place?