Commit 18ddb13c authored by James Simmons's avatar James Simmons Committed by Greg Kroah-Hartman

staging: lustre: reverse LNet and infinband header order

LNet is an abstraction built on top of network APIs such
as infiniband or TCP/IP layer. Since LNet is dependent
on these other layers we should ensure LNet headers
should always come after the infiniband header since the
infiniband headers can influence the LNet header
definitions.
Signed-off-by: default avatarJames Simmons <uja.ornl@gmail.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5140
Reviewed-on: http://review.whamcloud.com/10571Reviewed-by: default avatarBob Glossman <bob.glossman@intel.com>
Reviewed-by: default avatarLiang Zhen <liang.zhen@intel.com>
Reviewed-by: default avatarShuichi Ihara <sihara@ddn.com>
Reviewed-by: default avatarPatrick Farrell <paf@cray.com>
Reviewed-by: default avatarOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent add69d22
...@@ -60,17 +60,17 @@ ...@@ -60,17 +60,17 @@
#include <net/sock.h> #include <net/sock.h>
#include <linux/in.h> #include <linux/in.h>
#include <rdma/rdma_cm.h>
#include <rdma/ib_cm.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_fmr_pool.h>
#define DEBUG_SUBSYSTEM S_LND #define DEBUG_SUBSYSTEM S_LND
#include "../../../include/linux/libcfs/libcfs.h" #include "../../../include/linux/libcfs/libcfs.h"
#include "../../../include/linux/lnet/lnet.h" #include "../../../include/linux/lnet/lnet.h"
#include "../../../include/linux/lnet/lib-lnet.h" #include "../../../include/linux/lnet/lib-lnet.h"
#include <rdma/rdma_cm.h>
#include <rdma/ib_cm.h>
#include <rdma/ib_verbs.h>
#include <rdma/ib_fmr_pool.h>
#define IBLND_PEER_HASH_SIZE 101 /* # peer lists */ #define IBLND_PEER_HASH_SIZE 101 /* # peer lists */
/* # scheduler loops before reschedule */ /* # scheduler loops before reschedule */
#define IBLND_RESCHED 100 #define IBLND_RESCHED 100
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment