Date: Sat, 14 Nov 2015 01:23:14 +0000 (UTC) From: "Conrad E. Meyer" <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r290810 - head/sys/dev/ntb/if_ntb Message-ID: <201511140123.tAE1NEZ9004247@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511140123.tAE1NEZ9004247>