numam-dpdk/drivers/net/hns3
Chengwen Feng 3b37cbe617 net/hns3: refactor PF LSC event report
Currently, PF driver will report lsc when it detects the link status
change, it's not a generic implementation.

We refactor PF lsc event report by following scheme:
1. PF driver marks RTE_PCI_DRV_INTR_LSC in rte_pci_driver by default.
2. In the init stage, PF driver will detect whether firmware supports
   lsc interrupt or not, driver will clear RTE_ETH_DEV_INTR_LSC flag if
   firmware doesn't support lsc interrupt.
3. PF driver will report lsc event only when dev_conf.intr_conf.lsc is
   set.

Note: If the firmware supports lsc interrupt, we also keep periodic
polling to deal with the interrupt loss.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2021-04-13 02:44:20 +02:00
..
hns3_cmd.c net/hns3: fix FLR miss detection 2021-04-08 18:57:09 +02:00
hns3_cmd.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_dcb.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_dcb.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_ethdev_vf.c net/hns3: refactor VF LSC event report 2021-04-13 02:44:20 +02:00
hns3_ethdev.c net/hns3: refactor PF LSC event report 2021-04-13 02:44:20 +02:00
hns3_ethdev.h net/hns3: refactor PF LSC event report 2021-04-13 02:44:20 +02:00
hns3_fdir.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_fdir.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_flow.c net/hns3: fix flow counter value 2021-04-08 18:57:09 +02:00
hns3_intr.c net/hns3: refactor VF LSC event report 2021-04-13 02:44:20 +02:00
hns3_intr.h net/hns3: refactor VF LSC event report 2021-04-13 02:44:20 +02:00
hns3_logs.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_mbx.c net/hns3: refactor PF LSC event report 2021-04-13 02:44:20 +02:00
hns3_mbx.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_mp.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_mp.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_ptp.c net/hns3: support IEEE 1588 PTP 2021-04-01 18:39:55 +02:00
hns3_regs.c net/hns3: support get device version when dump register 2021-04-08 18:57:09 +02:00
hns3_regs.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rss.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rss.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rxtx_vec_neon.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rxtx_vec_sve.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rxtx_vec.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rxtx_vec.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_rxtx.c net/hns3: fix code style 2021-04-08 18:57:09 +02:00
hns3_rxtx.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_stats.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_stats.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_tm.c net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
hns3_tm.h net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
meson.build net/hns3: fix copyright date 2021-04-08 17:55:35 +02:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00