numam-dpdk/drivers/net/i40e
Fan Zhang eef2daf2e1 net/i40e: fix link update no wait
In i40e_dev_link_update() the driver obtains the link status
info via admin queue command despite of "no_wait" flag. This
requires relatively long time and may be a problem to some
application such as ovs-dpdk.
(https://bugzilla.redhat.com/show_bug.cgi?id=1551761).

This patch aims to fix the problem by using a different
approach of obtaining link status for i40e NIC without waiting.
Instead of getting the link status via admin queue command,
this patch reads the link status registers to accelerate the
procedure.

Fixes: 263333bbb7 ("i40e: fix link status timeout")
Cc: stable@dpdk.org

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Signed-off-by: Andrey Chilikin <andrey.chilikin@intel.com>
Reviewed-by: Eelco Chaudron <echaudro@redhat.com>
Tested-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
2018-03-30 14:08:43 +02:00
..
base net/i40e: revert enhancing loopback AQ command 2018-02-08 13:14:25 +01:00
i40e_ethdev_vf.c net/i40e: fix interrupt conflict with multi-driver 2018-02-05 13:40:11 +01:00
i40e_ethdev.c net/i40e: fix link update no wait 2018-03-30 14:08:43 +02:00
i40e_ethdev.h net/i40e: fix interrupt conflict with multi-driver 2018-02-05 13:40:11 +01:00
i40e_fdir.c net/i40e: fix multiple driver support 2018-02-05 13:40:11 +01:00
i40e_flow.c net/i40e: fix multiple driver support 2018-02-05 13:40:11 +01:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_common.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_neon.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.h net/i40e: add AVX2 Rx function 2018-01-16 18:47:49 +01:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile net/i40e: add AVX2 Tx function 2018-01-16 18:47:49 +01:00
meson.build net/i40e: fix library version in meson build 2018-03-28 00:07:35 +02:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: fix multiple DDP packages conflict 2018-02-06 19:08:13 +01:00
rte_pmd_i40e.h ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00