From: James Simmons <jsimmons@infradead.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, devel@driverdev.osuosl.org, Andreas Dilger <andreas.dilger@intel.com>, Oleg Drokin <oleg.drokin@intel.com> Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Lustre Development List <lustre-devel@lists.lustre.org>, Dmitry Eremin <dmitry.eremin@intel.com>, James Simmons <jsimmons@infradead.org> Subject: [PATCH 7/8] staging: lustre: o2iblnd: add IBLND_WID_MR Date: Thu, 5 May 2016 14:53:06 -0400 [thread overview] Message-ID: <1462474387-11406-8-git-send-email-jsimmons@infradead.org> (raw) In-Reply-To: <1462474387-11406-1-git-send-email-jsimmons@infradead.org> From: Dmitry Eremin <dmitry.eremin@intel.com> We need to add a new error field to be passed with wr_id to handle Fast Registration failures. Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5783 Reviewed-on: http://review.whamcloud.com/17606 Reviewed-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h index 90c8aa5..277e633 100644 --- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h +++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h @@ -804,7 +804,8 @@ kiblnd_queue2str(kib_conn_t *conn, struct list_head *q) #define IBLND_WID_TX 1 #define IBLND_WID_RX 2 #define IBLND_WID_RDMA 3 -#define IBLND_WID_MASK 3UL +#define IBLND_WID_MR 4 +#define IBLND_WID_MASK 7UL static inline __u64 kiblnd_ptr2wreqid(void *ptr, int type) -- 1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: James Simmons <jsimmons@infradead.org> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, devel@driverdev.osuosl.org, Andreas Dilger <andreas.dilger@intel.com>, Oleg Drokin <oleg.drokin@intel.com> Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Lustre Development List <lustre-devel@lists.lustre.org>, Dmitry Eremin <dmitry.eremin@intel.com>, James Simmons <jsimmons@infradead.org> Subject: [lustre-devel] [PATCH 7/8] staging: lustre: o2iblnd: add IBLND_WID_MR Date: Thu, 5 May 2016 14:53:06 -0400 [thread overview] Message-ID: <1462474387-11406-8-git-send-email-jsimmons@infradead.org> (raw) In-Reply-To: <1462474387-11406-1-git-send-email-jsimmons@infradead.org> From: Dmitry Eremin <dmitry.eremin@intel.com> We need to add a new error field to be passed with wr_id to handle Fast Registration failures. Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5783 Reviewed-on: http://review.whamcloud.com/17606 Reviewed-by: James Simmons <uja.ornl@yahoo.com> Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: James Simmons <jsimmons@infradead.org> --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h index 90c8aa5..277e633 100644 --- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h +++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h @@ -804,7 +804,8 @@ kiblnd_queue2str(kib_conn_t *conn, struct list_head *q) #define IBLND_WID_TX 1 #define IBLND_WID_RX 2 #define IBLND_WID_RDMA 3 -#define IBLND_WID_MASK 3UL +#define IBLND_WID_MR 4 +#define IBLND_WID_MASK 7UL static inline __u64 kiblnd_ptr2wreqid(void *ptr, int type) -- 1.7.1
next prev parent reply other threads:[~2016-05-05 18:54 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-05-05 18:52 [PATCH 0/8] staging: lustre: o2iblnd: Add Fast Reg memory registration support James Simmons 2016-05-05 18:52 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 1/8] staging: lustre: o2iblnd: rename kib_fmr_pool_t James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 2/8] staging: lustre: o2iblnd: Use list_for_each_entry_safe in kiblnd_destroy_fmr_pool_list James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 3/8] staging: lustre: o2iblnd: create union to contain FMR James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 4/8] staging: lustre: o2iblnd: break up kiblnd_create_fmr_pool James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 5/8] staging: lustre: o2iblnd: cache FMR key in kib_fmr_t James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` [PATCH 6/8] staging: lustre: o2iblnd: handle unmapping of FMR in kiblnd_fmr_pool_unmap James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons 2016-05-05 18:53 ` James Simmons [this message] 2016-05-05 18:53 ` [lustre-devel] [PATCH 7/8] staging: lustre: o2iblnd: add IBLND_WID_MR James Simmons 2016-05-05 18:53 ` [PATCH 8/8] staging: lustre: o2iblnd: Add Fast Reg memory registration support James Simmons 2016-05-05 18:53 ` [lustre-devel] " James Simmons
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1462474387-11406-8-git-send-email-jsimmons@infradead.org \ --to=jsimmons@infradead.org \ --cc=andreas.dilger@intel.com \ --cc=devel@driverdev.osuosl.org \ --cc=dmitry.eremin@intel.com \ --cc=gregkh@linuxfoundation.org \ --cc=linux-kernel@vger.kernel.org \ --cc=lustre-devel@lists.lustre.org \ --cc=oleg.drokin@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.