numam-dpdk/drivers/net
Chengwen Feng a1f381ad53 net/hns3: fix triggering reset procedure in slave process
Currently, reset related operations can only be performed in the primary
process and are not allowed in the slave process in hns3 PMD driver.

In the internal function interface named hns3_cmd_send used for
communication between driver and firmware, if the wrong head value is
detected in the static subfunction hns3_cmd_csq_clean, driver will
trigger a function level reset to make the hardware work normally again.

This patch adds check condition to prevent triggering reset procedure in
the slave process to avoid failure.

Fixes: 2790c64647 ("net/hns3: support device reset")
Cc: stable@dpdk.org

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-01-17 19:46:26 +01:00
..
af_packet build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
af_xdp net/af_xdp: use single producer/consumer ring 2020-01-17 19:46:02 +01:00
ark build: align symbols with global ABI version 2019-11-20 23:05:39 +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: add xstats 2020-01-17 19:46:01 +01:00
bnx2x net/bnx2x: remove local bool type 2020-01-17 19:46:02 +01:00
bnxt net/bnxt: fix overwriting error message 2020-01-17 19:46:01 +01:00
bonding build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
cxgbe net/cxgbe: remove local bool type 2020-01-17 19:46:02 +01:00
dpaa drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
dpaa2 drivers: update copyright for NXP files 2019-11-28 16:03:54 +01:00
e1000 net/e1000: remove local bool type 2020-01-17 19:46:02 +01:00
ena net/ena: support Rx offset 2020-01-17 19:46:01 +01:00
enetc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
enic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
failsafe build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
fm10k net/fm10k: remove local bool type 2020-01-17 19:46:02 +01:00
hinic build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
hns3 net/hns3: fix triggering reset procedure in slave process 2020-01-17 19:46:26 +01:00
i40e net/i40e: support flow director for L2TPv3 over IP 2020-01-17 19:46:26 +01:00
iavf net/iavf/base: move to drivers common directory 2020-01-17 19:46:02 +01:00
ice net/ice: use ethernet copy API to do MAC assignment 2020-01-17 19:46:02 +01:00
ipn3ke net/ipn3ke: fix line side statistics register read 2020-01-17 19:46:01 +01:00
ixgbe net/ixgbe: avoid multiple definitions of bool 2020-01-17 19:46:02 +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 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
mlx4 net/mlx: fix build with clang 9 2019-12-12 23:23:25 +01:00
mlx5 net/mlx5: fix Tx burst routines set 2020-01-17 19:46:02 +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: disable before changing RSS parameters 2020-01-17 19:45:23 +01:00
nfb build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
nfp net/nfp: replace license text with SPDX tag 2019-11-28 02:12:41 +01:00
null build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
octeontx net/octeontx: set queue offload capabilities 2019-11-26 07:49:30 +01:00
octeontx2 net/octeontx2: fix getting supported packet types 2020-01-17 19:46:02 +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: remove local bool type 2020-01-17 19:46:02 +01:00
ring build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
sfc build: align symbols with global ABI version 2019-11-20 23:05:39 +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 build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
thunderx net/thunderx: use new API to save cycles on aarch64 2020-01-17 12:02:21 +01:00
vdev_netvsc build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
vhost net/vhost: check creation failure 2020-01-17 19:46:02 +01:00
virtio net/virtio-user: check file descriptor before closing 2020-01-17 19:46:02 +01:00
vmxnet3 net/vmxnet3: remove local bool type 2020-01-17 19:46:02 +01:00
Makefile drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00
meson.build drivers: move ifc to vDPA directory 2020-01-14 00:09:33 +01:00