ixgbe patch for link status updates 90/13090/3
authorMatthew Smith <mgsmith@netgate.com>
Fri, 15 Jun 2018 21:42:57 +0000 (16:42 -0500)
committerDamjan Marion <dmarion@me.com>
Sun, 17 Jun 2018 12:32:54 +0000 (12:32 +0000)
commit76440d9033822da4123d1c5bca1d4df12aef6280
treef39dcd6ddc1ba13eeb08d29de8530dde8999ce2a
parenta0dfa8b158e327303fccc1f93bf05e948c93e93c
ixgbe patch for link status updates

An x550 with SFP+ interfaces attached to some switches can
have problems bringing the port up.

After configuring the link, there is a wait for 500 ms for
the link to come up. Some switches don't bring their ports up
that quickly. So the link is never observed to come up and is
reconfigured again the next time dpdk_update_link_state() is
called. Subsequent attempts time out also indefinitely.

Instead of waiting through 5 iterations of a 100 ms delay, wait
through 10 iterations. The i40e PMD does this when updating
link status.

This issue & patch will be reported to Intel so this or
some better solution can be applied upstream in the future.

Change-Id: I16d706a2790e51d695edc43c0ca17f1eff1dcf5e
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
dpdk/Makefile
dpdk/dpdk-18.02.1_patches/0001-ixgbe-link-wait-longer.patch [new file with mode: 0644]