numam-dpdk/drivers/net/hns3
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
..
hns3_cmd.c net/hns3: fix triggering reset procedure in slave process 2020-01-17 19:46:26 +01:00
hns3_cmd.h net/hns3: support Rx interrupt 2020-01-17 19:46:01 +01:00
hns3_dcb.c net/hns3: support different numbers of Rx and Tx queues 2020-01-17 19:46:26 +01:00
hns3_dcb.h net/hns3: support different numbers of Rx and Tx queues 2020-01-17 19:46:26 +01:00
hns3_ethdev_vf.c net/hns3: fix crash when closing port 2020-01-17 19:46:26 +01:00
hns3_ethdev.c net/hns3: fix link status on failed query 2020-01-17 19:46:26 +01:00
hns3_ethdev.h net/hns3: fix Rx queue search with broadcast packet 2020-01-17 19:46:26 +01:00
hns3_fdir.c net/hns3: support flow director 2019-10-07 15:00:56 +02:00
hns3_fdir.h net/hns3: support RSS 2019-10-07 15:00:56 +02:00
hns3_flow.c net/hns3: support different numbers of Rx and Tx queues 2020-01-17 19:46:26 +01:00
hns3_intr.c net/hns3: fix FLR reset 2019-10-25 19:23:23 +02:00
hns3_intr.h net/hns3: support device reset 2019-10-07 15:00:57 +02:00
hns3_logs.h net/hns3: register and add log interface 2019-10-07 15:00:56 +02:00
hns3_mbx.c net/hns3: fix ring vector related mailbox command format 2020-01-17 19:46:26 +01:00
hns3_mbx.h net/hns3: fix ring vector related mailbox command format 2020-01-17 19:46:26 +01:00
hns3_mp.c net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
hns3_mp.h net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
hns3_regs.c net/hns3: fix dumping VF register information 2020-01-17 19:46:26 +01:00
hns3_regs.h net/hns3: support Rx interrupt 2020-01-17 19:46:01 +01:00
hns3_rss.c net/hns3: optimize default RSS algorithm 2020-01-17 19:46:01 +01:00
hns3_rss.h net/hns3: remove unused constants 2020-01-17 19:46:01 +01:00
hns3_rxtx.c net/hns3: add free threshold in Rx 2020-01-17 19:46:26 +01:00
hns3_rxtx.h net/hns3: add free threshold in Rx 2020-01-17 19:46:26 +01:00
hns3_stats.c net/hns3: remove one IO barrier in Rx 2020-01-17 19:46:26 +01:00
hns3_stats.h net/hns3: support device stats 2019-10-07 15:00:57 +02:00
Makefile build: remove individual library versions 2019-11-20 23:05:39 +01:00
meson.build net/hns3: support multiple process 2019-10-07 15:00:57 +02:00
rte_pmd_hns3_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00