numam-dpdk/drivers/net
Wei Hu (Xavier) ef2e785c36 net/hns3: fix Tx interrupt when enabling Rx interrupt
Currently, when receiving and transmitting packets based on hns3 network
engine there are probably unexpected and redundant Tx interrupts if Rx
interrupt is enabled.

The root cause as below:
Tx and Rx queues with the same number share the interrupt vector in hns3
network engine, and in this case there are the residual hardware mapping
relationship configuration between queue and interrupt vector configured
in hns3 kernel ethdev driver.

We should clear the all hardware mapping relationship configurations in
the initialization. Because of the hardware constraints, we have to
implement clearing the relationship by binding all queues to the last
interrupt vector and reserving the last interrupt vector, this method
results in a decrease of the maximum queues when upper applications call
the rte_eth_dev_configure API function to enable Rx interrupt.

Fixes: 02a7b55657 ("net/hns3: support Rx interrupt")
Cc: stable@dpdk.org

Signed-off-by: Hao Chen <chenhao164@huawei.com>
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-03-18 10:21:42 +01:00
..
af_packet net/af_packet: remove queue number limitation 2020-03-18 10:21:41 +01:00
af_xdp net/af_xdp: fix maximum MTU 2020-02-14 12:42:12 +01:00
ark drivers/net: use structure marker from EAL 2020-01-20 21:17:35 +01:00
atlantic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
avp build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
axgbe net/axgbe: support unicast hash table for MAC address 2020-03-18 10:21:41 +01:00
bnx2x net/bnx2x: fix VLAN stripped flag 2020-02-05 09:51:20 +01:00
bnxt net/bnxt: fix MAC address setting when port is stopped 2020-03-18 10:21:41 +01:00
bonding build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
cxgbe net/cxgbe: announce Tx multi-segments offload 2020-01-17 19:46:26 +01:00
dpaa net/dpaa: fix Rx offload flags on jumbo MTU set 2020-01-17 19:59:19 +01:00
dpaa2 drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
e1000 net/e1000: use macro for PCI log format 2020-02-05 09:51:21 +01:00
ena net/ena: support Rx offset 2020-01-17 19:46:01 +01:00
enetc net/enetc: init SI transactions attribute register 2020-03-18 10:21:41 +01:00
enic net/enic: use common min and max macros 2020-02-05 09:51:19 +01:00
failsafe build: remove redundant config include 2020-02-11 16:50:59 +01:00
fm10k net/fm10k: fix non-x86 build 2020-02-19 18:19:12 +01:00
hinic net/hinic: fix repeating cable log and length check 2020-03-18 10:21:42 +01:00
hns3 net/hns3: fix Tx interrupt when enabling Rx interrupt 2020-03-18 10:21:42 +01:00
i40e net/i40e: fix DCB initialization 2020-03-18 10:21:41 +01:00
iavf net/iavf: unify bool type value 2020-01-17 19:59:18 +01:00
ice net/ice: remove redundant functions 2020-03-18 10:21:42 +01:00
ionic net/ionic: fix ABI version 2020-02-19 13:51:06 +01:00
ipn3ke drivers: cleanup meson build variable 2020-02-14 12:42:12 +01:00
ixgbe net/ixgbe: fix flow control mode setting 2020-02-19 13:51:06 +01:00
kni net/kni: fix crash caused by double stop 2019-11-26 18:22:27 +01:00
liquidio build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
memif net/memif: fix init when already connected 2020-03-18 10:21:41 +01:00
mlx4 common/mlx5: fix build without dlopen option 2020-03-18 10:21:41 +01:00
mlx5 net/mlx5: support match on IPv4 TTL and IPv6 HLIM 2020-03-18 10:21:41 +01:00
mvneta build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mvpp2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
netvsc net/netvsc: initialize link state 2020-02-14 12:42:12 +01:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp net/nfp: use macro for PCI log format 2020-01-17 19:59:19 +01:00
null build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx net/octeontx: fix user supplied MAC address index 2020-02-05 09:51:21 +01:00
octeontx2 net/octeontx2: fix link information for loopback port 2020-03-18 10:21:41 +01:00
pcap net/pcap: truncate packet if it is too large 2020-01-17 19:45:23 +01:00
pfe drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
qede net/qede: do not stop vport if not started 2020-02-19 13:51:06 +01:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc net/sfc: fix Rx queue start failure path 2020-03-18 10:21:41 +01:00
softnic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
szedata2 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
tap net/tap: fix memory leak when unregister intr handler 2020-02-05 09:51:19 +01:00
thunderx net/thunderx: support link up and down 2020-03-18 10:21:41 +01:00
vdev_netvsc build: remove redundant config include 2020-02-11 16:50:59 +01:00
vhost net/vhost: prevent multiple setups on reconfiguration 2020-02-19 13:51:06 +01:00
virtio net/virtio-user: do not reset virtqueues for split ring 2020-02-05 11:47:18 +01:00
vmxnet3 net/vmxnet3: fix RSS setting on v4 2020-03-18 10:21:41 +01:00
Makefile net/ionic: add skeleton 2020-01-20 18:02:17 +01:00
meson.build drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00