[dpdk-dev] [PATCH 1/6] net/enic: enable RQ first and then post Rx buffers

Ferruh Yigit ferruh.yigit at intel.com
Wed May 9 20:50:39 CEST 2018


On 5/3/2018 8:37 PM, John Daley wrote:
> From: Hyong Youb Kim <hyonkim at cisco.com>
> 
> Future VIC adapters may require that the driver enable RQ before
> posting new buffers to the NIC. So split enic_alloc_rx_queue_mbufs()
> into two functions, one that allocates buffers and fills RQ and the
> other that posts them (i.e. PIO write to a doorbell). And, call the
> post function only after enabling RQ.
> 
> Currently released models are not affected by this change, as they
> work fine whether the driver posts buffers before or after enabling RQ.
> 
> Signed-off-by: Hyong Youb Kim <hyonkim at cisco.com>
> Reviewed-by: John Daley <johndale at cisco.com>
> Reviewed-by: Aaron Conole <aconole at redhat.com>

Series applied to dpdk-next-net/master, thanks.


More information about the dev mailing list