summaryrefslogtreecommitdiff
path: root/packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2024-10-02 08:02:51 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-10-02 18:46:04 +0000
commiteb70dca3cc4bbc6275a79c664f0a146ba4b59bc9 (patch)
tree0e8f6e11a09eb6267aa68c4708d128d2a15b4a4e /packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch
parentb672c89acbc593876d47bf5490d9dcf071cb3816 (diff)
downloadvyos-build-mergify/bp/circinus/pr-781.tar.gz
vyos-build-mergify/bp/circinus/pr-781.zip
T6754: Delete Jenkins build packagesmergify/bp/circinus/pr-781
(cherry picked from commit 2fed892f2746561207aa21a2660f4d8f3f79d24e) # Conflicts: # packages/linux-kernel/.gitignore # packages/linux-kernel/Jenkinsfile # packages/linux-kernel/build-accel-ppp.sh # packages/linux-kernel/build-intel-ixgbe.sh # packages/linux-kernel/build-intel-ixgbevf.sh # packages/linux-kernel/build-intel-qat.sh # packages/linux-kernel/build-jool.py # packages/linux-kernel/build-kernel.sh # packages/linux-kernel/build-nat-rtsp.sh # packages/linux-kernel/build-openvpn-dco.sh # packages/net-snmp/Jenkinsfile
Diffstat (limited to 'packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch')
-rw-r--r--packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch b/packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch
deleted file mode 100644
index 647fe4d5..00000000
--- a/packages/linux-kernel/patches/ixgbe/allow_unsupported_sfp.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From 4f6c1dc3c48a1b2fa7c06206e6366bcfaa33f3f7 Mon Sep 17 00:00:00 2001
-From: Christian Breunig <christian@breunig.cc>
-Date: Fri, 22 Mar 2024 11:33:27 +0000
-Subject: [PATCH] ixgbe: always enable support for unsupported SFP+ modules
-
----
- ixgbe_param.c | 10 +++++++---
- 1 file changed, 7 insertions(+), 3 deletions(-)
-
-diff --git a/ixgbe_param.c b/ixgbe_param.c
-index 71197b7..dac33ca 100644
---- a/ixgbe_param.c
-+++ b/ixgbe_param.c
-@@ -307,7 +307,7 @@ IXGBE_PARAM(LRO, "Large Receive Offload (0,1), default 0 = off");
- * Default Value: 0
- */
- IXGBE_PARAM(allow_unsupported_sfp, "Allow unsupported and untested "
-- "SFP+ modules on 82599 based adapters, default 0 = Disable");
-+ "SFP+ modules on 82599 based adapters, default 1 = Enable");
-
- /* Enable/disable support for DMA coalescing
- *
-@@ -1133,8 +1133,8 @@ void ixgbe_check_options(struct ixgbe_adapter *adapter)
- struct ixgbe_option opt = {
- .type = enable_option,
- .name = "allow_unsupported_sfp",
-- .err = "defaulting to Disabled",
-- .def = OPTION_DISABLED
-+ .err = "defaulting to Enabled",
-+ .def = OPTION_ENABLED
- };
- #ifdef module_param_array
- if (num_allow_unsupported_sfp > bd) {
-@@ -1150,7 +1150,11 @@ void ixgbe_check_options(struct ixgbe_adapter *adapter)
- }
- #ifdef module_param_array
- } else {
-+ if (opt.def == OPTION_ENABLED) {
-+ adapter->hw.allow_unsupported_sfp = true;
-+ } else {
- adapter->hw.allow_unsupported_sfp = false;
-+ }
- }
- #endif
- }
---
-2.39.2
-