From owner-svn-src-head@freebsd.org Sat Nov 14 01:23:15 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E4DFA2F524; Sat, 14 Nov 2015 01:23:15 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 052D81341; Sat, 14 Nov 2015 01:23:14 +0000 (UTC) (envelope-from cem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tAE1NEu1004248; Sat, 14 Nov 2015 01:23:14 GMT (envelope-from cem@FreeBSD.org) Received: (from cem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tAE1NEZ9004247; Sat, 14 Nov 2015 01:23:14 GMT (envelope-from cem@FreeBSD.org) Message-Id: <201511140123.tAE1NEZ9004247@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cem set sender to cem@FreeBSD.org using -f From: "Conrad E. Meyer" Date: Sat, 14 Nov 2015 01:23:14 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 01:23:15 -0000 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;