*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
- * Copyright (c) 2013, Intel Corporation, All rights reserved.
+ * Copyright (c) 2014, Intel Corporation.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
#define LNET_DLC_H
#include <libcfs/libcfs_ioctl.h>
-#include <lnet/lib-types.h>
+#include <lnet/types.h>
#define MAX_NUM_SHOW_ENTRIES 32
#define LNET_MAX_STR_LEN 128
__u32 ni_cpts[LNET_MAX_SHOW_NUM_CPT];
};
+#define LNET_TINY_BUF_IDX 0
+#define LNET_SMALL_BUF_IDX 1
+#define LNET_LARGE_BUF_IDX 2
+
+/* # different router buffer pools */
+#define LNET_NRBPOOLS (LNET_LARGE_BUF_IDX + 1)
+
struct lnet_ioctl_pool_cfg {
struct {
__u32 pl_npages;
__s32 net_peer_tx_credits;
__s32 net_peer_rtr_credits;
__s32 net_max_tx_credits;
+ __u32 net_cksum_algo;
+ __u32 net_pad;
} cfg_net;
struct {
__u32 buf_enable;