numam-dpdk/drivers/net/hns3
Chengchang Tang d566bfcff0 net/hns3: fix timing in mailbox
Currently, when processing MBX messages, the system timestamp is obtained
to determine whether timeout occurs. However, the gettimeofday function
is not monotonically increasing. Therefore, this may lead to incorrect
judgment or difficulty exiting the loop. And actually, in this scenario,
it is not necessary to obtain the timestamp.

This patch deletes the call to the gettimeofday function during MBX
message processing.

Fixes: 463e748964 ("net/hns3: support mailbox")
Cc: stable@dpdk.org

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
2021-04-14 19:45:27 +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: simplify selecting Rx/Tx function 2021-04-13 11:13:41 +02:00
hns3_ethdev.c net/hns3: fix configure FEC when concurrent with reset 2021-04-13 11:13:41 +02:00
hns3_ethdev.h net/hns3: delete mailbox arq ring 2021-04-14 19:45:27 +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: fix concurrent interrupt handling 2021-04-13 11:13:41 +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: fix timing in mailbox 2021-04-14 19:45:27 +02:00
hns3_mbx.h net/hns3: fix possible mismatched response of mailbox 2021-04-14 19:45:27 +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 queue state when concurrent with reset 2021-04-13 11:13:41 +02:00
hns3_rxtx.h net/hns3: fix some packet types 2021-04-13 11:13:41 +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