diff options
author | Ernesto Castellotti <ernesto@castellotti.net> | 2024-03-23 13:30:35 +0100 |
---|---|---|
committer | Ernesto Castellotti <ernesto@castellotti.net> | 2024-03-23 13:30:35 +0100 |
commit | a44647f0982f2a6b7a78af80f82e1c650ab0b11e (patch) | |
tree | 95cf4d07919d4f9a4ed610637f2633e11646e763 /packages/linux-kernel/build-intel-ixgbe.sh | |
parent | 70ac747b2889757e35ac2a90fd77cda9d4b97ebd (diff) | |
download | vyos-build-a44647f0982f2a6b7a78af80f82e1c650ab0b11e.tar.gz vyos-build-a44647f0982f2a6b7a78af80f82e1c650ab0b11e.zip |
ixgbe: T6162: Add 1000BASE-BX support
The ixgbe driver did not support the 1000BASE-BX standard so for example FS.com
SFP-GE-BX 1310/1490nm 10km transceiver received an unsupported module error even
with allow_unsupported_sfp enabled.
To solve this problem I created a patch that was accepted by Linux upstream
(https://github.com/torvalds/linux/commit/1b43e0d20f2d007ec4c124b0deaa848ff8d61f4a)
so starting from kernel 6.9 the ixgbe driver will have 1000BASE-BX support,
however VyOS uses the out of tree driver so it is necessary to backport the patch.
Diffstat (limited to 'packages/linux-kernel/build-intel-ixgbe.sh')
-rwxr-xr-x | packages/linux-kernel/build-intel-ixgbe.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/linux-kernel/build-intel-ixgbe.sh b/packages/linux-kernel/build-intel-ixgbe.sh index 36e403ad..035a062a 100755 --- a/packages/linux-kernel/build-intel-ixgbe.sh +++ b/packages/linux-kernel/build-intel-ixgbe.sh @@ -61,6 +61,10 @@ sed -i '/.*pci_enable_pcie_error_reporting(pdev);/d' ixgbe_main.c echo "I: always enable allow_unsupported_sfp for all NICs by default" patch -l -p1 < ../../patches/ixgbe/allow_unsupported_sfp.patch +# See https://vyos.dev/T6162 +echo "I: add 1000BASE-BX support" +patch -l -p1 < ../../patches/ixgbe/add_1000base-bx_support.patch + echo "I: Compile Kernel module for Intel ${DRIVER_NAME} driver" make KSRC=${KERNEL_DIR} INSTALL_MOD_PATH=${DEBIAN_DIR} INSTALL_FW_PATH=${DEBIAN_DIR} -j $(getconf _NPROCESSORS_ONLN) install |