]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: lustre: o2iblnd: properly set ibr_why
authorAmir Shehata <amir.shehata@intel.com>
Sat, 7 May 2016 01:30:30 +0000 (21:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 May 2016 12:05:23 +0000 (14:05 +0200)
commit2c6a1845e62a02386ab61352c382f4ef9ce82e44
tree0f94e43f5be75befd5c3b8ce506771038e8707b1
parent69b48fffc087cd212f3d109de298d0d23981e9ad
staging: lustre: o2iblnd: properly set ibr_why

For the case of when the connections supported fragment count
is smaller than what is supported locally only set ibr_why to
IBLND_REJECT_RDMA_FRAGS if the ko2iblnd protocol verison is
IBLND_MSG_VERSION.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7101
Reviewed-on: http://review.whamcloud.com/16367
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Olaf Weber <olaf@sgi.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>
drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c