Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1173854

[PATCH 6/9] NTB: Schedule to receive on QP link up

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Allen Hubbe <Allen.Hubbe@emc.com>
Newsgroups linux.kernel
Subject [PATCH 6/9] NTB: Schedule to receive on QP link up
Date Mon, 29 Jun 2015 17:00:02 +0200
Message-ID <pGIHo-683-15@gated-at.bofh.it> (permalink)
References <pGIHn-683-5@gated-at.bofh.it>
X-Original-To linux-ntb@googlegroups.com
X-Dkim OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com t5TEobM7030028
Dkim-Signature v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1435589439; bh=4o19t4Q08nevyNFlWnvX9xwkdUk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: In-Reply-To:References; b=LrSn2yNiia0xl5teBGAxy/bxkPf/gEcyOIekbtQ2yMd+za9lcVXdnwJGN65FrVRsa FtMhCbh/+Nnr/n7U7QBMSluqUhvqerZcVhZGzVsnOK7/zrHRRfooW1lrCH3sIYKHFb 6BXoRtf292k9B6UZI/O1LTFj1+kRkZ01JIhbyxnk=
X-Dkim OpenDKIM Filter v2.4.3 mailuogwprd02.lss.emc.com t5TEobM7030028
X-Mailer git-send-email 2.4.0.rc0.44.g244209c.dirty
X-Rsa-Classifications public
X-Sentrion-Hostname mailuogwprd02.lss.emc.com
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Jon Mason <jdmason@kudzu.us>, Dave Jiang <dave.jiang@intel.com>, Allen Hubbe <Allen.Hubbe@emc.com>
X-Original-Date Mon, 29 Jun 2015 10:50:02 -0400
X-Original-Message-ID <9d5704c1ad72160b8fda8d761cd7b923f10916bf.1435587291.git.Allen.Hubbe@emc.com>
X-Original-References <cover.1435587291.git.Allen.Hubbe@emc.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1173854

Show key headers only | View raw


Schedule to receive on QP link up, to make sure that the doorbell is
properly cleared for interrupts.

Signed-off-by: Allen Hubbe <Allen.Hubbe@emc.com>
---
 drivers/ntb/ntb_transport.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/ntb/ntb_transport.c b/drivers/ntb/ntb_transport.c
index 1764bb2fd265..a040a4ee6f33 100644
--- a/drivers/ntb/ntb_transport.c
+++ b/drivers/ntb/ntb_transport.c
@@ -901,6 +901,8 @@ static void ntb_qp_link_work(struct work_struct *work)
 
 		if (qp->event_handler)
 			qp->event_handler(qp->cb_data, qp->link_is_up);
+
+		tasklet_schedule(&qp->rxc_db_work);
 	} else if (nt->link_is_up)
 		schedule_delayed_work(&qp->link_work,
 				      msecs_to_jiffies(NTB_LINK_DOWN_TIMEOUT));
-- 
2.4.0.rc0.43.gcf8a8c6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/9] NTB: Fix and cleanup ntb drivers Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  [PATCH 5/9] NTB: Fix oops in debugfs when transport is half-up Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  [PATCH 6/9] NTB: Schedule to receive on QP link up Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  [PATCH 8/9] NTB: Make the transport list in order of discovery Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  [PATCH 3/9] NTB: Fix transport stats for multiple devices Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  [PATCH 1/9] NTB: Fix ntb_transport out-of-order RX update Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:00 +0200
  RE: [PATCH 4/9] NTB: ntb_netdev not covering all receive errors "Hubbe, Allen" <Allen.Hubbe@emc.com> - 2015-06-29 17:10 +0200
  RE: [PATCH 0/9] NTB: Fix and cleanup ntb drivers "Hubbe, Allen" <Allen.Hubbe@emc.com> - 2015-06-29 17:20 +0200
  [PATCH 2/9] NTB: Add flow control to the ntb_netdev Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:30 +0200
    [PATCH 4/9] NTB: ntb_netdev not covering all receive errors Allen Hubbe <Allen.Hubbe@emc.com> - 2015-06-29 17:40 +0200

csiph-web