numam-dpdk/drivers
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
..
baseband drivers: rename bbdev directory to baseband 2018-03-21 22:43:05 +01:00
bus bus/vdev: fix finding device by name 2018-03-28 00:35:37 +02:00
crypto build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
event build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
mempool build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
net net/i40e: fix link update no wait 2018-03-30 14:08:43 +02:00
raw raw/skeleton: fix device start test 2018-02-06 17:32:34 +01:00
Makefile drivers: rename bbdev directory to baseband 2018-03-21 22:43:05 +01:00
meson.build drivers: improve pmdinfo generation with meson 2018-01-30 21:59:00 +01:00