Is there a driver for BCM57504 NetXtreme-E quad-port NICs ? pciconf -lvb has this: none24@pci0:24:0:0: class=0x020000 rev=0x11 hdr=0x00 vendor=0x14e4 device=0x1751 subvendor=0x14e4 subdevice=0x4250 vendor = 'Broadcom Inc. and subsidiaries' device = 'BCM57504 NetXtreme-E 10Gb/25Gb/40Gb/50Gb/100Gb/200Gb Ethernet' class = network subclass = ethernet bar [10] = type Memory, range 64, base rxbb630000, size 65536, enabled bar [18] = type Prefetchable Memory, range 64, base rx201fffd00000, size 1048576, enabled bar [20] = type Prefetchable Memory, range 64, base rx201fffe06000, size 8192, enabled
I found drivers here: https://www.broadcom.com/products/ethernet-connectivity/network-adapters/p425g testbuilding on 13.1 right now.
After I disabled -Werror, it builds, but: link_elf_obj: symbol if_multiaddr_count undefined Building out from the CURRENT tree does not find that function 8-(
Created attachment 234968 [details] patch-if_bnxt.c With this patch the driver from broadcom compiles, if Werror is disabled. The interfaces are then detected as bnxt0 to bnxt3. TODO: needs testing
(In reply to Kurt Jaeger from comment #3) insta-crash after ifconfig bnxt0 192.168.12.12/24 At least, adding a 25g optic detects a 25g link 8-) But: The driver does not provide transceiver data with -v ? This is was an 'ifconfig -v ix0' reports for the transceiver: plugged: SFP/SFP+/SFP28 10G Base-SR (LC) vendor: SOLID-OPTICS PN: EX-SFP-10G-SR-SO SN: SOP850SXK306 DATE: 2017-09-07 module temperature: 42.00 C voltage: 3.25 Volts lane 1: RX power: 0.61 mW (-2.12 dBm) TX bias: 6.31 mA
(In reply to Kurt Jaeger from comment #4) Case#CS00012251577 from Broadcom says: The driver only supports 12.2. Newer drivers expected end of 2022 or beginning of 2023.
wow this is a super bummer - i assume all this testing was done with the 222.0.74.0 driver? i may have to explore going with 12.2 instead of 13.1 for now...
Support for this hardware should be included with the patch series recently posted. Specifically this patch: https://reviews.freebsd.org/D36438
(In reply to Andy Gospodarek from comment #7) excellent! thanks for posting this update. will follow the progress on this patch.
(In reply to Andy Gospodarek from comment #7) Does this patch apply to a current src tree or to the 13.1 src tree ? Or does it apply to the downloadable driver ?
I just pushed all the changes through that were in review (in addition to the one listed here). They all build and are fine. The commit is 75217c2b4700a1954971b1ec3722c39dd934e287 but I can't test it for lack of hardware. Can someone boot -current to see if that works... Or do a git cherry-pick 0e3b0045a895..75217c2b4700 on stable/13 (it should work, but the 64-bit only patch may conflict, but the fixup is obvious if so)
Created attachment 242765 [details] dmesg output from 14-CURRENT 2023-06-08 I tried this on a BCM57504 with the June 8th snapshot: FreeBSD-14.0-CURRENT-amd64-20230608-653738e895ba-263444-disc1.iso Note the attached dmesg output for the errors reported.
^Triage: assign to committer. To commenters: is there anything further to be done on this PR?