summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-25 10:19:25 +0200
committerDamjan Marion <dmarion@me.com>2018-09-25 10:01:55 +0000
commiteacde3f123727fef65d87f2395e2de245d6efe67 (patch)
treea79216afbc40f8ed3eca3c91a0383de950708d22 /build
parent4cabcff2a447b92fc5b8db8effbb364ff544a637 (diff)
dpdk: add patch to fix 25G AOC cable detection
Change-Id: I6b54d4c7767a20b875b5bc05f23a7ac15cb9fbcc Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build')
-rw-r--r--build/external/patches/dpdk_18.08/0004-net-i40e-fix-25G-AOC-and-ACC-cable-detection-on-XXV7.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/build/external/patches/dpdk_18.08/0004-net-i40e-fix-25G-AOC-and-ACC-cable-detection-on-XXV7.patch b/build/external/patches/dpdk_18.08/0004-net-i40e-fix-25G-AOC-and-ACC-cable-detection-on-XXV7.patch
new file mode 100644
index 00000000000..14942307d30
--- /dev/null
+++ b/build/external/patches/dpdk_18.08/0004-net-i40e-fix-25G-AOC-and-ACC-cable-detection-on-XXV7.patch
@@ -0,0 +1,30 @@
+From b47596e5d3db40b967b4d67207bb2d87db214f2e Mon Sep 17 00:00:00 2001
+From: Damjan Marion <damarion@cisco.com>
+Date: Tue, 25 Sep 2018 10:02:58 +0200
+Subject: [PATCH] net/i40e: fix 25G AOC and ACC cable detection on XXV710
+
+Fixes: 75d133dd3296 ("net/i40e: enable 25G device")
+Cc: stable@dpdk.org
+
+Signed-off-by: Damjan Marion <damarion@cisco.com>
+---
+ drivers/net/i40e/i40e_ethdev.h | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e/i40e_ethdev.h
+index 3fffe5a55..b876933e5 100644
+--- a/drivers/net/i40e/i40e_ethdev.h
++++ b/drivers/net/i40e/i40e_ethdev.h
+@@ -1393,6 +1393,8 @@ i40e_calc_itr_interval(bool is_pf, bool is_multi_drv)
+ (((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_KR) || \
+ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_CR) || \
+ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_SR) || \
+- ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR))
++ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_LR) || \
++ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_AOC) || \
++ ((phy_type) & I40E_CAP_PHY_TYPE_25GBASE_ACC))
+
+ #endif /* _I40E_ETHDEV_H_ */
+--
+2.17.1
+