a74629cfa3
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@cisco.com> Reviewed-by: John Daley <johndale@cisco.com> Reviewed-by: Aaron Conole <aconole@redhat.com> |
||
---|---|---|
.. | ||
cq_desc.h | ||
cq_enet_desc.h | ||
rq_enet_desc.h | ||
vnic_cq.c | ||
vnic_cq.h | ||
vnic_dev.c | ||
vnic_dev.h | ||
vnic_devcmd.h | ||
vnic_enet.h | ||
vnic_intr.c | ||
vnic_intr.h | ||
vnic_nic.h | ||
vnic_resource.h | ||
vnic_rq.c | ||
vnic_rq.h | ||
vnic_rss.c | ||
vnic_rss.h | ||
vnic_stats.h | ||
vnic_wq.c | ||
vnic_wq.h | ||
wq_enet_desc.h |