From 7b13e0df704b5262a4602c51126a4f12ff00ca35 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Fri, 6 Jul 2018 17:00:00 -0500 Subject: ixgbe link update patch for DPDK 18.05 Add patch for DPDK 18.05 that was previously applied to DPDK 18.02.1. Issue with ixgbe on x550 SFP+ still exists. Bug report submitted to DPDK: https://bugs.dpdk.org/show_bug.cgi?id=69 Change-Id: I9b005709ddf2a72192b1288ba8b4bac85bf12685 Signed-off-by: Matthew Smith --- dpdk/Makefile | 2 +- dpdk/dpdk-18.05_patches/0002-ixgbe-link-wait-longer.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 dpdk/dpdk-18.05_patches/0002-ixgbe-link-wait-longer.patch (limited to 'dpdk') diff --git a/dpdk/Makefile b/dpdk/Makefile index f02a993ec1b..78df15b9466 100644 --- a/dpdk/Makefile +++ b/dpdk/Makefile @@ -28,7 +28,7 @@ DPDK_FAILSAFE_PMD ?= n B := $(DPDK_BUILD_DIR) I := $(DPDK_INSTALL_DIR) DPDK_VERSION ?= 18.05 -PKG_SUFFIX ?= vpp1 +PKG_SUFFIX ?= vpp2 DPDK_BASE_URL ?= http://fast.dpdk.org/rel DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL) diff --git a/dpdk/dpdk-18.05_patches/0002-ixgbe-link-wait-longer.patch b/dpdk/dpdk-18.05_patches/0002-ixgbe-link-wait-longer.patch new file mode 100644 index 00000000000..fb71e94c7ba --- /dev/null +++ b/dpdk/dpdk-18.05_patches/0002-ixgbe-link-wait-longer.patch @@ -0,0 +1,13 @@ +diff --git a/drivers/net/ixgbe/base/ixgbe_common.c b/drivers/net/ixgbe/base/ixgbe_common.c +index e7e9256e5..2fb0a072c 100644 +--- a/drivers/net/ixgbe/base/ixgbe_common.c ++++ b/drivers/net/ixgbe/base/ixgbe_common.c +@@ -5296,7 +5296,7 @@ s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw, + * Section 73.10.2, we may have to wait up to 500ms if KR is + * attempted. 82599 uses the same timing for 10g SFI. + */ +- for (i = 0; i < 5; i++) { ++ for (i = 0; i < 10; i++) { + /* Wait for the link partner to also set speed */ + msec_delay(100); + -- cgit 1.2.3-korg