summaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre/include/linux/lnet
diff options
context:
space:
mode:
authorAmir Shehata <amir.shehata@intel.com>2016-05-06 21:30:23 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-09 14:05:23 +0200
commit27c7f7caa694aee34665f06c0f6b0c49995d9e4f (patch)
tree63aa6e4b6f17cbc8ef9747e20b4feb23b4858aed /drivers/staging/lustre/include/linux/lnet
parentd76d938589eadb1295cb03c672b84f4869d0fe2c (diff)
downloadop-kernel-dev-27c7f7caa694aee34665f06c0f6b0c49995d9e4f.zip
op-kernel-dev-27c7f7caa694aee34665f06c0f6b0c49995d9e4f.tar.gz
staging: lustre: lnet: use struct lnet_ioctl_config_data for NI query
The functions used to query the NI state passes around the individual fields of struct lnet_ioctl_config_data. To simplify the code lets just pass struct lnet_ioctl_config directly. 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>
Diffstat (limited to 'drivers/staging/lustre/include/linux/lnet')
-rw-r--r--drivers/staging/lustre/include/linux/lnet/lib-lnet.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h
index 1865c85..513a822 100644
--- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h
+++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h
@@ -463,10 +463,6 @@ int lnet_del_route(__u32 net, lnet_nid_t gw_nid);
void lnet_destroy_routes(void);
int lnet_get_route(int idx, __u32 *net, __u32 *hops,
lnet_nid_t *gateway, __u32 *alive, __u32 *priority);
-int lnet_get_net_config(int idx, __u32 *cpt_count, __u64 *nid,
- int *peer_timeout, int *peer_tx_credits,
- int *peer_rtr_cr, int *max_tx_credits,
- struct lnet_ioctl_net_config *net_config);
int lnet_get_rtr_pool_cfg(int idx, struct lnet_ioctl_pool_cfg *pool_cfg);
void lnet_router_debugfs_init(void);
OpenPOWER on IntegriCloud