提交 18ddb13c 编写于 作者: J James Simmons 提交者: 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: NJames Simmons <uja.ornl@gmail.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-5140
Reviewed-on: http://review.whamcloud.com/10571Reviewed-by: NBob Glossman <bob.glossman@intel.com>
Reviewed-by: NLiang Zhen <liang.zhen@intel.com>
Reviewed-by: NShuichi Ihara <sihara@ddn.com>
Reviewed-by: NPatrick Farrell <paf@cray.com>
Reviewed-by: NOleg Drokin <oleg.drokin@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册