svn commit: r290810 - head/sys/dev/ntb/if_ntb

Conrad E. Meyer cem at FreeBSD.org
Sat Nov 14 01:23:15 UTC 2015


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;


More information about the svn-src-all mailing list