Chelsio cxgb driver not working?
-
You're right, it does appear to support it:
cxgb0: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 9000
options=5bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,lro>ether 00:07:43:05:06:06
media: Ethernet 10Gbase-CX4 <full-duplex>(autoselect)
status: no carrierAnd here's what a normal Broadcom or Intel interface looks like:
bce3: flags=8802 <broadcast,simplex,multicast>metric 0 mtu 1500
options=1bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4>ether 00:24:e8:78:ef:30
media: Ethernet autoselect (none)
status: no carrierHow does one go about telling pfsense it's OK to do VLANs? This would be huge if we could do this….</rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4></broadcast,simplex,multicast></full-duplex></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,lro></broadcast,simplex,multicast>
-
Found it. http://forum.pfsense.org/index.php/topic,738.msg4853.html#msg4853
I will give it a try now and post my results back here.
-
How does one go about telling pfsense it's OK to do VLANs? This would be huge if we could do this….
Edit /etc/inc/globals.inc, look for the line beginning "vlan_long_frame" => and add "cxgb" to the list of interface name strings and save the file. You MIGHT need to reboot.
If you are planning to have quality of service on the cxgb interfaces you may need to add cxgb to the list of ALTQ capable interfaces in /etc/inc/interfaces.inc.
I noticed igb is NOT in either of those lists. I suspect it should be in both lists but I haven't I checked against the igb man page and I don't know for certain that igb is built into the pfSense kernel.
-
Thanks. Tried that and it worked to assign VLANs, but there's another more serious issue.
Even without trying VLANs, which I didn't do because the 10Gb nic was useless to me without that, loading the cxgb driver and bringing up the interface throws a bunch of errors about firmware missing, draining tx and a bunch of other items.
It assigns IP addresses to the interface and brings it up, but it never actually works correctly. I never get link/carrier no matter what switch I plug it into. Looks like there are missing firmware packages or something similar on the disk that the cxgb drivers require.
I'm going to see if I can get it up on the 'net so I can get the errors off of the console and do a couple of searches, but this makes me feel less happy about using these interfaces in a production environment. Especially if whatever I hack gets toasted when I upgrade.
-
Here are the errors. It looks based on my Google searches that all I would need would be the firmware, which can't be included in FreeBSD due to licensing. However, I have no idea where I would put the firmware package on the file system. Continuing to research…
firmware_get: failed to load firmware image cxgb_t3fw
cxgbc0: Could not find firmware image cxgb_t3fw
draining slow intr
draining ext intr
draining tick task -
It appears that either the driver was compiled weird, or that the necessary files were left out of the distribution. I can find next to no people who use this card on FreeBSD 7.x so that makes me a bit scared to try it in production for a pretty big implementation. We use these cards in CentOS systems everywhere with phenomenal performance over any other 10Gb NIC we've ever tested, but it appears the stars aren't aligned for us to use it here.
I'm going to go back to the 1Gb Intel NICs we had prior to this and continue my build out.
-
This problem most likely due to pfsense having not included various cxgb components. please contact support@chelsio.com and they can help get past this.
-
I have contacted them. Still waiting to hear back…
-
I think "options firmware" is missing in the kernel config.
-
Sorry - not a FreeBSD guru - how would one go about adding that to pfsense? I assume that it's something that the developers would have to change at compile time?