<html><body><div style="font-family: Arial; font-size: 12pt; color: #000000"><div data-marker="__QUOTED_TEXT__"><div style="" data-mce-style="font-family: 'arial'; font-size: 12pt; color: #000000;"><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;">Hello.</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;">We just upgraded from 21.08 to 21.11 and it's rather astounding the number of incompatible changes in three months. Not a big deal, just kind of a surprise, that's all.</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;"><br data-mce-bogus="1"></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;">Anyway, the problem is that<span style="color: #000000; font-family: arial; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;" data-mce-style="color: #000000; font-family: arial; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"> the vmxnet3 driver is no longer functional on FreeBSD. </span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;"><br data-mce-bogus="1"></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;">In drivers/net/vmxnet3/vmxnet3_ethdev.c, vmxnet3_dev_start() gets an error calling rte_intr_enable(). So it logs "interrupt enable failed" and returns an error.</div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 12pt;"><br data-mce-bogus="1"></div><div style=""><font face="arial">In lib/eal/freebsd/eal_interrupts.c, rte_intr_enable() is returning an error because rte_intr_dev_fd_get(intr_handle) is returning -1.</font><br data-mce-bogus="1"></div><div style=""><font face="arial"><br data-mce-bogus="1"></font></div><div style=""><font face="arial">I don't see how that could ever return anything other than -1 since it appears that there is no code that ever calls rte_intr_dev_fd_set() with a value other than -1 on FreeBSD. Also weird to me is that even if it didn't get an error, the switch statement that follows looks like it will return an error in every case.</font></div><div style=""><font face="arial"><br data-mce-bogus="1"></font></div><div style=""><font face="arial">Nonetheless, it worked in 21.08, and I can't quite see why the difference, so I must be missing something.</font></div><div style=""><font face="arial"><br data-mce-bogus="1"></font></div><div style=""><font face="arial">For the moment, I just commented the "return -EIO" in vmxnet3_ethdev.c, and it's now working again, but that's obviously not the correct solution.</font></div><div style=""><font face="arial"><br data-mce-bogus="1"></font></div><div style=""><font face="arial">Can someone who's knowledgable about this mechanism perhaps explain a little bit about what's going on? I'll be happy to help troubleshoot. It seems like it must be something simple, but I just don't see it yet.</font></div><div style=""><font face="arial"><br data-mce-bogus="1"></font></div><div style=""><font face="arial">Thanks,</font></div><div style=""><font face="arial">lew</font></div></div></div></div></body></html>