K 10 svn:author V 8 freqlabs K 8 svn:date V 27 2021-03-30T15:05:49.660066Z K 7 svn:log V 795 Fix array out of bound panic introduced in r306219. As I see, different NICs in different configurations may have different numbers of TX and RX queues. The code was assuming 1:1 mapping between event queues (interrupts) and TX/RX queues. Since number of interrupts is set to maximum of TX and RX queues, when those two are different, the system is doomed. I have no documentation or deep knowledge about this hardware, so this change is based on general observations and code reading. If some of my guesses are wrong, please do better. I just confirmed HP NC550SFP NICs are working now. MFC after: 2 weeks Sponsored by: iXsystems, Inc. (cherry picked from commit 3582828053556ca0e05ed9aab3e78008a0595e09) Git Hash: a42a0b77f0de636a91f79fa2fde8a507d88b79b7 Git Author: mav@FreeBSD.org END