summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorDmitry Eremin <dmitry.eremin@intel.com>2016-05-05 14:53:06 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-09 14:03:33 +0200
commit4d65730bd674b44cb4c7c9bc45b98692215d0881 (patch)
tree56ef67c683951264954ffbb7d1d6f35f064c24c9 /drivers/staging/lustre
parent1f199a0c46fbdec52e25afaeb0b4736d40850409 (diff)
downloadop-kernel-dev-4d65730bd674b44cb4c7c9bc45b98692215d0881.zip
op-kernel-dev-4d65730bd674b44cb4c7c9bc45b98692215d0881.tar.gz
staging: lustre: o2iblnd: add IBLND_WID_MR
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h3
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)
OpenPOWER on IntegriCloud