Created attachment 158093 [details]
patch to support 0x0001 product_id
I have 3 NICs marked as Supermicro AOC-STGN-i2S, these are actually 82599es-based cards with two SFP+ onboard. Driver `xgbe` doesn't recognise them, although it should. I've made a small patch to the driver and those card are working now. Please review the change and if it makes sence please add the corresponding product_id to the driver.
ix0@pci0:2:0:0: class=0x020000 card=0x10fb1b52 chip=0x00018086 rev=0x01 hdr=0x00
vendor = 'Intel Corporation'
class = network
subclass = ethernet
The tests with iperf were successful, but in dmesg there is a strange message:
lock order reversal:
1st 0xfffff80004a16320 ix0:rx(3) (ix0:rx(3)) @ /usr/src/sys/dev/ixgbe/ix_txrx.c:1759
2nd 0xfffff8002345ef08 vlan (vlan) @ /usr/src/sys/net/if_vlan.c:1155
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe03e4b2c5d0
kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe03e4b2c680
witness_checkorder() at witness_checkorder+0xea5/frame 0xfffffe03e4b2c710
_rm_rlock_debug() at _rm_rlock_debug+0x114/frame 0xfffffe03e4b2c750
vlan_input() at vlan_input+0xc8/frame 0xfffffe03e4b2c7d0
ether_demux() at ether_demux+0xb3/frame 0xfffffe03e4b2c800
ether_nh_input() at ether_nh_input+0x340/frame 0xfffffe03e4b2c830
netisr_dispatch_src() at netisr_dispatch_src+0x86/frame 0xfffffe03e4b2c8a0
ether_input() at ether_input+0x4f/frame 0xfffffe03e4b2c8d0
tcp_lro_flush() at tcp_lro_flush+0x198/frame 0xfffffe03e4b2c8f0
ixgbe_rxeof() at ixgbe_rxeof+0x732/frame 0xfffffe03e4b2c9a0
ixgbe_msix_que() at ixgbe_msix_que+0xb6/frame 0xfffffe03e4b2c9f0
intr_event_execute_handlers() at intr_event_execute_handlers+0x93/frame 0xfffffe03e4b2ca30
ithread_loop() at ithread_loop+0xa6/frame 0xfffffe03e4b2ca70
fork_exit() at fork_exit+0x84/frame 0xfffffe03e4b2cab0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe03e4b2cab0
--- trap 0, rip = 0, rsp = 0xfffffe03e4b2cb70, rbp = 0 ---
I'm closing this because this isn't a driver problem. No Intel 10G device has a device ID of "0x0001", so this is a problem with your cards. You need to go back to whoever you purchased the cards from and either return it or work with them to get a correct EEPROM for your cards.
However, if you get that resolved and the lock order reversal still occurs, that would be a valid bug to put in a new ticket.