numam-dpdk/drivers/net/enic/base
Hyong Youb Kim a74629cfa3 net/enic: enable RQ first and then post Rx buffers
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>
2018-05-14 22:31:50 +01:00
..
cq_desc.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
cq_enet_desc.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
rq_enet_desc.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_cq.c net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_cq.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_dev.c net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
vnic_dev.h net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
vnic_devcmd.h net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
vnic_enet.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_intr.c net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_intr.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_nic.h net/enic: support UDP RSS on 1400 series adapters 2018-04-14 00:41:44 +02:00
vnic_resource.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_rq.c net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_rq.h net/enic: enable RQ first and then post Rx buffers 2018-05-14 22:31:50 +01:00
vnic_rss.c net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_rss.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_stats.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_wq.c net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00
vnic_wq.h net/enic: enable overlay offload for VXLAN and GENEVE 2018-04-27 15:54:55 +01:00
wq_enet_desc.h net/enic: use BSD-3-Clause 2018-01-16 18:47:49 +01:00