]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix NTBT_QP_LINKS negotiation.
authorAlexander Motin <mav@FreeBSD.org>
Fri, 29 Jul 2016 21:03:30 +0000 (21:03 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Fri, 29 Jul 2016 21:03:30 +0000 (21:03 +0000)
commit718e8abba90d94294e3e5a5cdc37caa7180b9474
treee90f29e17672fc5476a0cf44187b31791936a380
parentadaf3c49064c49a5955d8c46eee31d86ca14de6c
Fix NTBT_QP_LINKS negotiation.

I believe it never worked correctly for more the one queue even in Linux.
This fixes case when one of consumer drivers is not loaded on one side,
but its queues still announced as ready if something else brought link up.

While there, remove some pointless NULL checks.
sys/dev/ntb/ntb_transport.c