Jump to content

10gb Nic Support (Solaflare sfn7122f)


Recommended Posts

Evening all,

 

Ive been having some issues on my current rig (x99 xeon / 2008sas (with hp expander) + gtx1650Super.

I was previously running a Mellenox connectx-2 10gb nic and was maxing out my cache drive upload at around 600MB/s (evo970 Pro) to try and resolve this I took advice from another Unraid user on Facebook who suggested getting a Solaflare sfn7122f which apparently works fine on Unraid.

 

I am running the latest build

 

I have today taken delivery of the card however i am finding that the hardware is lighting up however Unraid is not listing the NIC to be configurable. The card is in a x16 slot and can be seen without issue by my 10gb switch

 

Any thoughts or assistance would be highly appreciated.

nas-diagnostics-20210830-2122.zip

Link to comment

Looks like the drivers are included you may just need to modprobe sfc

 

root@unraid:~# modinfo sfc
filename:       /lib/modules/5.10.28-Unraid/kernel/drivers/net/ethernet/sfc/sfc.ko.xz
license:        GPL
description:    Solarflare network driver
author:         Solarflare Communications and Michael Brown <[email protected]>
alias:          pci:v00001924d00001B03sv*sd*bc*sc*i*
alias:          pci:v00001924d00000B03sv*sd*bc*sc*i*
alias:          pci:v00001924d00001A03sv*sd*bc*sc*i*
alias:          pci:v00001924d00000A03sv*sd*bc*sc*i*
alias:          pci:v00001924d00001923sv*sd*bc*sc*i*
alias:          pci:v00001924d00000923sv*sd*bc*sc*i*
alias:          pci:v00001924d00001903sv*sd*bc*sc*i*
alias:          pci:v00001924d00000903sv*sd*bc*sc*i*
alias:          pci:v00001924d00000813sv*sd*bc*sc*i*
alias:          pci:v00001924d00000803sv*sd*bc*sc*i*
alias:          pci:v000010EEd00001100sv*sd*bc*sc*i*
alias:          pci:v000010EEd00000100sv*sd*bc*sc*i*
depends:        mdio
retpoline:      Y
intree:         Y
name:           sfc
vermagic:       5.10.28-Unraid SMP mod_unload 
parm:           vf_max_tx_channels:Limit the number of TX channels VFs can use (uint)
parm:           max_vfs:Reduce the number of VFs initialized by the driver (int)
parm:           mcdi_logging_default:Enable MCDI logging on newly-probed functions (bool)
parm:           rx_refill_threshold:RX descriptor ring refill threshold (%) (uint)
parm:           irq_adapt_low_thresh:Threshold score for reducing IRQ moderation (uint)
parm:           irq_adapt_high_thresh:Threshold score for increasing IRQ moderation (uint)
parm:           interrupt_mode:Interrupt mode (0=>MSIX 1=>MSI 2=>legacy) (uint)
parm:           rss_cpus:Number of CPUs to use for Receive-Side Scaling (uint)
parm:           efx_separate_tx_channels:Use separate channels for TX and RX (bool)
parm:           phy_flash_cfg:Set PHYs into reflash mode initially (bool)
parm:           debug:Bitmapped debugging message enable value (uint)
root@unraid:~# 
 

Link to comment

Here is my output:

root@NAS:~# modinfo sfc
filename:       /lib/modules/5.10.28-Unraid/kernel/drivers/net/ethernet/sfc/sfc.ko.xz
license:        GPL
description:    Solarflare network driver
author:         Solarflare Communications and Michael Brown <[email protected]>
alias:          pci:v00001924d00001B03sv*sd*bc*sc*i*
alias:          pci:v00001924d00000B03sv*sd*bc*sc*i*
alias:          pci:v00001924d00001A03sv*sd*bc*sc*i*
alias:          pci:v00001924d00000A03sv*sd*bc*sc*i*
alias:          pci:v00001924d00001923sv*sd*bc*sc*i*
alias:          pci:v00001924d00000923sv*sd*bc*sc*i*
alias:          pci:v00001924d00001903sv*sd*bc*sc*i*
alias:          pci:v00001924d00000903sv*sd*bc*sc*i*
alias:          pci:v00001924d00000813sv*sd*bc*sc*i*
alias:          pci:v00001924d00000803sv*sd*bc*sc*i*
alias:          pci:v000010EEd00001100sv*sd*bc*sc*i*
alias:          pci:v000010EEd00000100sv*sd*bc*sc*i*
depends:        mdio
retpoline:      Y
intree:         Y
name:           sfc
vermagic:       5.10.28-Unraid SMP mod_unload 
parm:           vf_max_tx_channels:Limit the number of TX channels VFs can use (uint)
parm:           max_vfs:Reduce the number of VFs initialized by the driver (int)
parm:           mcdi_logging_default:Enable MCDI logging on newly-probed functions (bool)
parm:           rx_refill_threshold:RX descriptor ring refill threshold (%) (uint)
parm:           irq_adapt_low_thresh:Threshold score for reducing IRQ moderation (uint)
parm:           irq_adapt_high_thresh:Threshold score for increasing IRQ moderation (uint)
parm:           interrupt_mode:Interrupt mode (0=>MSIX 1=>MSI 2=>legacy) (uint)
parm:           rss_cpus:Number of CPUs to use for Receive-Side Scaling (uint)
parm:           efx_separate_tx_channels:Use separate channels for TX and RX (bool)
parm:           phy_flash_cfg:Set PHYs into reflash mode initially (bool)
parm:           debug:Bitmapped debugging message enable value (uint)

 

 

 

I am just going to check the Vendor ID's on the card vs what is in the driver support listing. back in 5

Link to comment
2 minutes ago, alexstein said:

How do i load these drivers into unraid? Not a linux person here

 

But as Jorge says lspci cannot see a card. Have you checked to see if you can see in the BIOS.

 

Will look to see if there is a different driver for the card.

3 minutes ago, alexstein said:

How do i load these drivers into unraid? Not a linux person here

This indicates it in the stock kernel.

Link to comment
6 minutes ago, alexstein said:

How do i load these drivers into unraid? Not a linux person here

they are int the sfc-falcon module.

 

You could try 

 

root@unraid:~# modinfo sfc-falcon
filename:       /lib/modules/5.10.28-Unraid/kernel/drivers/net/ethernet/sfc/falcon/sfc-falcon.ko.xz
version:        4.1
license:        GPL
description:    Solarflare Falcon network driver
author:         Solarflare Communications and Michael Brown <[email protected]>
srcversion:     D2939E68A77EC634A0B3FBD
alias:          pci:v00001924d00000710sv*sd*bc*sc*i*
alias:          pci:v00001924d00000703sv*sd*bc*sc*i*
depends:        i2c-core,mdio,i2c-algo-bit
retpoline:      Y
intree:         Y
name:           sfc_falcon
vermagic:       5.10.28-Unraid SMP mod_unload 
parm:           rx_refill_threshold:RX descriptor ring refill threshold (%) (uint)
parm:           ef4_separate_tx_channels:Use separate channels for TX and RX (bool)
parm:           rss_cpus:Number of CPUs to use for Receive-Side Scaling (uint)
parm:           phy_flash_cfg:Set PHYs into reflash mode initially (bool)
parm:           irq_adapt_low_thresh:Threshold score for reducing IRQ moderation (uint)
parm:           irq_adapt_high_thresh:Threshold score for increasing IRQ moderation (uint)
parm:           debug:Bitmapped debugging message enable value (uint)
parm:           interrupt_mode:Interrupt mode (0=>MSIX 1=>MSI 2=>legacy) (uint)
root@unraid:~# 

 

you could try 

 

modprobe sfc-falcon to see if that loads the driver.

Link to comment

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.

×
×
  • Create New...