Jump to content

10GB support


Recommended Posts

While I know a lot of boards don't have support for PCIe the RockPro64 does. I'm using it to drive a 10gb NIC (even though it's limited by the number of available lanes to around 8Gb/s).  Armbian doesn't provide any native support for 10Gb cards so I've been having to build kernels with support for the Intel and Myricom cards. Is there any possibility of including support (either as modules or built in) in the future? 

Thanks for the consideration,

Chris

Link to comment
Share on other sites

Just to be clear - this support doesn't require out of band drivers. It's just a matter of enabling them in the kernel config process. If you are asking me to provide a diff for the kernel config I can do that (and have included it below) but these are all mainline drivers and have been there for years. I also have no idea what a PR is. Could you provide some insight in how to submit a PR and what one is? 


The following provides 10Gb support for Intel, Myricom, and Chelsio NICs including options for datacenter bridging. This should provide support for the vast majority of 10G cards available. There is some cruft in there for my local version and gcc/ld. I hope that's not a problem. 

diff --git a/boot/config-5.8.16-rockchip64 b/.config

index 15ee3ad93..cd252205e 100644

--- a/boot/config-5.8.16-rockchip64

+++ b/.config

@@ -2,10 +2,10 @@

 # Automatically generated file; DO NOT EDIT.

 # Linux/arm64 5.8.16 Kernel Configuration

 #

-CONFIG_CC_VERSION_TEXT="aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025"

+CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0"

 CONFIG_CC_IS_GCC=y

-CONFIG_GCC_VERSION=90201

-CONFIG_LD_VERSION=233010000

+CONFIG_GCC_VERSION=90300

+CONFIG_LD_VERSION=234000000

 CONFIG_CLANG_VERSION=0

 CONFIG_CC_CAN_LINK=y

 CONFIG_CC_CAN_LINK_STATIC=y

@@ -20,7 +20,7 @@ CONFIG_THREAD_INFO_IN_TASK=y

 #

 CONFIG_INIT_ENV_ARG_LIMIT=32

 # CONFIG_COMPILE_TEST is not set

-CONFIG_LOCALVERSION=""

+CONFIG_LOCALVERSION=".rapier"

 # CONFIG_LOCALVERSION_AUTO is not set

 CONFIG_BUILD_SALT=""

 CONFIG_DEFAULT_INIT=""

@@ -2668,10 +2668,12 @@ CONFIG_CAVIUM_PTP=y

 # CONFIG_LIQUIDIO is not set

 # CONFIG_LIQUIDIO_VF is not set

 CONFIG_NET_VENDOR_CHELSIO=y

-# CONFIG_CHELSIO_T1 is not set

-# CONFIG_CHELSIO_T3 is not set

-# CONFIG_CHELSIO_T4 is not set

-# CONFIG_CHELSIO_T4VF is not set

+CONFIG_CHELSIO_T1=m

+CONFIG_CHELSIO_T1_1G=y

+CONFIG_CHELSIO_T3=m

+CONFIG_CHELSIO_T4=m

+CONFIG_CHELSIO_T4_DCB=y

+CONFIG_CHELSIO_T4VF=m

 CONFIG_NET_VENDOR_CISCO=y

 # CONFIG_ENIC is not set

 CONFIG_NET_VENDOR_CORTINA=y

@@ -2706,10 +2708,14 @@ CONFIG_NET_VENDOR_INTEL=y

 CONFIG_E1000E=y

 CONFIG_IGB=y

 CONFIG_IGB_HWMON=y

-CONFIG_IGBVF=y

-# CONFIG_IXGB is not set

-# CONFIG_IXGBE is not set

-# CONFIG_IXGBEVF is not set

+# CONFIG_IGBVF is not set

+CONFIG_IXGB=m

+CONFIG_IXGBE=m

+CONFIG_IXGBE_HWMON=y

+CONFIG_IXGBE_DCB=y

+CONFIG_IXGBE_IPSEC=y

+CONFIG_IXGBEVF=m

+CONFIG_IXGBEVF_IPSEC=y

 # CONFIG_I40E is not set

 # CONFIG_I40EVF is not set

 # CONFIG_ICE is not set

@@ -2726,7 +2732,11 @@ CONFIG_OCTEONTX2_MBOX=m

 CONFIG_OCTEONTX2_PF=m

 CONFIG_OCTEONTX2_VF=m

 CONFIG_NET_VENDOR_MELLANOX=y

-# CONFIG_MLX4_EN is not set

+CONFIG_MLX4_EN=m

+CONFIG_MLX4_EN_DCB=y

+CONFIG_MLX4_CORE=m

+CONFIG_MLX4_DEBUG=y

+CONFIG_MLX4_CORE_GEN2=y

 # CONFIG_MLX5_CORE is not set

 # CONFIG_MLXSW_CORE is not set

 # CONFIG_MLXFW is not set

@@ -2744,8 +2754,8 @@ CONFIG_NET_VENDOR_MICROSEMI=y

 CONFIG_MSCC_OCELOT_SWITCH=m

 CONFIG_MSCC_OCELOT_SWITCH_OCELOT=m

 CONFIG_NET_VENDOR_MYRI=y

-# CONFIG_MYRI10GE is not set

-# CONFIG_FEALNX is not set

+CONFIG_MYRI10GE=m

+CONFIG_FEALNX=m

 CONFIG_NET_VENDOR_NATSEMI=y

 # CONFIG_NATSEMI is not set

 # CONFIG_NS83820 is not set

@@ -8542,6 +8552,9 @@ CONFIG_CRYPTO_DEV_NITROX=m

 CONFIG_CRYPTO_DEV_NITROX_CNN55XX=m

 CONFIG_CRYPTO_DEV_CAVIUM_ZIP=m

 CONFIG_CRYPTO_DEV_ROCKCHIP=m

+CONFIG_CRYPTO_DEV_CHELSIO=m

+# CONFIG_CHELSIO_IPSEC_INLINE is not set

+CONFIG_CHELSIO_TLS_DEVICE=y

 CONFIG_CRYPTO_DEV_VIRTIO=m

 CONFIG_CRYPTO_DEV_SAFEXCEL=m

 CONFIG_CRYPTO_DEV_CCREE=m

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines