From a44647f0982f2a6b7a78af80f82e1c650ab0b11e Mon Sep 17 00:00:00 2001 From: Ernesto Castellotti Date: Sat, 23 Mar 2024 13:30:35 +0100 Subject: 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. --- packages/linux-kernel/build-intel-ixgbe.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/linux-kernel/build-intel-ixgbe.sh') diff --git a/packages/linux-kernel/build-intel-ixgbe.sh b/packages/linux-kernel/build-intel-ixgbe.sh index 36e403a..035a062 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 -- cgit v1.2.3