Author: cem
Date: Sat Nov 14 01:23:13 2015
New Revision: 290810
URL: https://svnweb.freebsd.org/changeset/base/290810

Log:
  if_ntb: Clear the right QP in the free bitmap
  
  Now it can ping back and forth.
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/sys/dev/ntb/if_ntb/if_ntb.c

Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c    Sat Nov 14 01:06:45 2015        
(r290809)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c    Sat Nov 14 01:23:13 2015        
(r290810)
@@ -783,7 +783,7 @@ ntb_transport_create_queue(void *data, s
        free_queue--;
 
        qp = &nt->qp_vec[free_queue];
-       clear_bit(1ull << qp->qp_num, &nt->qp_bitmap_free);
+       clear_bit(qp->qp_num, &nt->qp_bitmap_free);
        qp->cb_data = data;
        qp->rx_handler = handlers->rx_handler;
        qp->tx_handler = handlers->tx_handler;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to