numam-dpdk/drivers/net
Chengchang Tang aa3497d445 net/hns3: fix queue flow action validation
The used_rx_queues only takes effect after device is started, and
its value is incorrect before the device is started. Therefore, it
is not suitable for flow action to use it to verify the queue index
before the device is started.

E.g. Enable dedicated queue in bonding device will configure a queue
flow action before start its slave devices. The above problem will
make this reasonable flow action configuration fail.

This patch use the nb_rx_queues from the configuration phase to
achieve verification.

Fixes: a951c1ed3a ("net/hns3: support different numbers of Rx and Tx queues")
Fixes: f8e7fcbfd0 ("net/hns3: support flow action of queue region")
Cc: stable@dpdk.org

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2021-09-09 19:35:40 +02:00
..
af_packet version: 21.11-rc0 2021-08-17 08:37:52 +02:00
af_xdp net/af_xdp: fix zero-copy Tx queue drain 2021-09-07 17:55:23 +02:00
ark version: 21.11-rc0 2021-08-17 08:37:52 +02:00
atlantic version: 21.11-rc0 2021-08-17 08:37:52 +02:00
avp version: 21.11-rc0 2021-08-17 08:37:52 +02:00
axgbe net/axgbe: fix unreleased lock in I2C transfer 2021-09-08 15:27:02 +02:00
bnx2x net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
bnxt net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
bonding net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
cnxk net/cnxk: add flag to show CPT can enqueue events 2021-09-06 21:46:34 +02:00
cxgbe version: 21.11-rc0 2021-08-17 08:37:52 +02:00
dpaa net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
dpaa2 net/dpaa2: add some parameter validations 2021-07-23 20:31:01 +02:00
e1000 net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
ena version: 21.11-rc0 2021-08-17 08:37:52 +02:00
enetc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
enic net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
failsafe net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
fm10k drivers/net: fix vector Rx comments 2021-08-10 05:01:57 +02:00
hinic net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
hns3 net/hns3: fix queue flow action validation 2021-09-09 19:35:40 +02:00
i40e net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
iavf net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
ice net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
igc drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
ionic version: 21.11-rc0 2021-08-17 08:37:52 +02:00
ipn3ke net/ipn3ke: change experimental symbol to internal 2021-08-31 16:00:04 +02:00
ixgbe net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
kni version: 21.11-rc0 2021-08-17 08:37:52 +02:00
liquidio version: 21.11-rc0 2021-08-17 08:37:52 +02:00
memif version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mlx4 net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
mlx5 net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
mvneta version: 21.11-rc0 2021-08-17 08:37:52 +02:00
mvpp2 net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
netvsc net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
nfb version: 21.11-rc0 2021-08-17 08:37:52 +02:00
nfp net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
ngbe drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
null version: 21.11-rc0 2021-08-17 08:37:52 +02:00
octeontx drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
octeontx2 version: 21.11-rc0 2021-08-17 08:37:52 +02:00
octeontx_ep version: 21.11-rc0 2021-08-17 08:37:52 +02:00
pcap net/pcap: improve Rx statistics 2021-09-09 15:30:32 +02:00
pfe version: 21.11-rc0 2021-08-17 08:37:52 +02:00
qede net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
ring version: 21.11-rc0 2021-08-17 08:37:52 +02:00
sfc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
softnic cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
szedata2 version: 21.11-rc0 2021-08-17 08:37:52 +02:00
tap version: 21.11-rc0 2021-08-17 08:37:52 +02:00
thunderx net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
txgbe net: add macro to extract MAC address bytes 2021-09-07 19:08:05 +02:00
vdev_netvsc version: 21.11-rc0 2021-08-17 08:37:52 +02:00
vhost version: 21.11-rc0 2021-08-17 08:37:52 +02:00
virtio net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
vmxnet3 net: add macro for MAC address print 2021-09-07 19:07:46 +02:00
meson.build net/ngbe: add build and doc infrastructure 2021-07-12 17:55:19 +02:00