numam-dpdk/drivers/net
Hyong Youb Kim 2a7e3d5465 net/enic: do not overwrite admin Tx queue limit
Currently, enic_alloc_wq (via rte_eth_tx_queue_setup) may overwrite
the admin limit with a lower value. This is wrong as seen in the
following sequence.

1. UCS admin-set Tx queue limit (config.wq_desc_count) = 4096
2. Set up tx queue with 512 descriptors
   The admin limit (config.wq_desc_count) becomes 512.
3. Stop ports and now set up Tx queue with 1024 descriptors.
   This fails because 1024 is greater than the admin limit (512).

Do not modify the admin limit, and when queried, report the current
number of descriptors instead of the admin limit. The rx queue setup
(enic_alloc_rq) does not this problem.

Fixes: fefed3d1e6 ("enic: new driver")
Cc: stable@dpdk.org

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
2018-07-03 01:53:44 +02:00
..
af_packet ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ark net/ark: add to meson build 2018-06-14 19:27:50 +02:00
avf net/avf: fix traffic blocked on reset 2018-05-17 19:06:29 +02:00
avp ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
axgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
bnx2x net/bnx2x: add to meson build 2018-06-14 19:27:50 +02:00
bnxt net/bnxt: use correct flags during VLAN configuration 2018-07-03 01:35:58 +02:00
bonding net/bonding: support add/remove MAC addrs 2018-07-03 01:35:58 +02:00
cxgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
dpaa ethdev: add probing finish function 2018-05-14 22:31:53 +01:00
dpaa2 net/dpaa2: change VLAN strip value to offload flag 2018-05-14 22:32:23 +01:00
e1000 net/e1000: support descriptor status API 2018-07-03 01:35:58 +02:00
ena net/ena: fix SIGFPE with 0 Rx queue 2018-07-03 01:35:58 +02:00
enic net/enic: do not overwrite admin Tx queue limit 2018-07-03 01:53:44 +02:00
failsafe net/failsafe: add to meson build 2018-06-14 19:27:50 +02:00
fm10k net/fm10k: support descriptor status API 2018-07-03 01:35:58 +02:00
i40e net/i40e: remove VF interrupt handler 2018-07-03 01:35:58 +02:00
ifc net/ifc: enable the host notifier support 2018-06-15 12:27:20 +02:00
ixgbe ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
kni ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
liquidio net/liquidio: add to meson build 2018-06-14 19:27:50 +02:00
mlx4 net/mlx4: refine Rx packet type report 2018-07-03 01:35:58 +02:00
mlx5 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
mvpp2 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
nfp ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
null ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
octeontx ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
pcap ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
qede ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
ring ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
sfc ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
softnic ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
szedata2 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
tap net/tap: support TSO (TCP Segment Offload) 2018-07-03 01:35:58 +02:00
thunderx ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
vdev_netvsc net/vdev_netvsc: fix automatic probing 2018-05-23 00:35:01 +02:00
vhost ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
virtio net/virtio: advertise support in-order feature 2018-07-03 01:35:58 +02:00
vmxnet3 ethdev: add new offload flag to keep CRC 2018-07-03 01:35:58 +02:00
Makefile net/ifc: make driver name consistent 2018-06-14 19:27:50 +02:00
meson.build net/vhost: add to meson build 2018-06-14 19:27:50 +02:00