|
| M0_INTERNAL int | m0_net_lnet_ep_addr_net_cmp (const char *addr1, const char *addr2) |
| |
| M0_INTERNAL int | m0_net_lnet_ifaces_get (struct m0_net_domain *dom, char ***addrs) |
| |
| M0_INTERNAL void | m0_net_lnet_ifaces_put (struct m0_net_domain *dom, char ***addrs) |
| |
| M0_INTERNAL int | m0_net_lnet_init (void) |
| |
| M0_INTERNAL void | m0_net_lnet_fini (void) |
| |
| M0_INTERNAL void | m0_net_lnet_dom_set_debug (struct m0_net_domain *dom, unsigned dbg) |
| |
| M0_INTERNAL void | m0_net_lnet_tm_set_debug (struct m0_net_transfer_mc *tm, unsigned dbg) |
| |
| | module_param (quiet, bool, S_IRUGO) |
| |
| | MODULE_PARM_DESC (quiet, "quiet mode") |
| |
| | module_param (verbose, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (verbose, "verbosity level") |
| |
| | module_param (client_only, bool, S_IRUGO) |
| |
| | MODULE_PARM_DESC (verbose, "run client only") |
| |
| | module_param (server_only, bool, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_only, "run server only") |
| |
| | module_param (async_events, bool, S_IRUGO) |
| |
| | MODULE_PARM_DESC (async_events, "async event processing (old style)") |
| |
| | module_param (nr_bufs, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (nr_bufs, "total number of network buffers to allocate") |
| |
| | module_param (nr_recv_bufs, uint, S_IRUGO) |
| |
| | MODULE_PARM_DESC (nr_recv_bufs, "number of receive buffers (server only)") |
| |
| | module_param (bulk_size, charp, S_IRUGO) |
| |
| | MODULE_PARM_DESC (bulk_size, "bulk data size") |
| |
| | module_param (active_bulk_delay, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (active_bulk_delay, "Delay before sending active receive") |
| |
| | module_param (nr_clients, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (nr_clients, "number of client threads") |
| |
| | module_param (loops, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (loops, "loops to run") |
| |
| | module_param (bulk_timeout, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (bulk_timeout, "bulk timeout") |
| |
| | module_param (msg_timeout, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (msg_timeout, "message timeout") |
| |
| | module_param (client_network, charp, S_IRUGO) |
| |
| | MODULE_PARM_DESC (client_network, "client network interface (ip@intf)") |
| |
| | module_param (client_portal, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (client_portal, "client portal (optional)") |
| |
| | module_param (client_tmid, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (client_tmid, "client base TMID (optional)") |
| |
| | module_param (server_network, charp, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_network, "server network interface (ip@intf)") |
| |
| | module_param (server_portal, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_portal, "server portal (optional)") |
| |
| | module_param (server_tmid, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_tmid, "server TMID (optional)") |
| |
| | module_param (server_min_recv_size, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_min_recv_size, "server min receive size (optional)") |
| |
| | module_param (server_max_recv_msgs, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_max_recv_msgs, "server max receive msgs (optional)") |
| |
| | module_param (send_msg_size, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (send_msg_size, "client message size (optional)") |
| |
| | module_param (server_debug, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (server_debug, "server debug (optional)") |
| |
| | module_param (client_debug, int, S_IRUGO) |
| |
| | MODULE_PARM_DESC (client_debug, "client debug (optional)") |
| |
| static int | quiet_printk (const char *fmt,...) |
| |
| static int | verbose_printk (const char *fmt,...) |
| |
| static int __init | m0_netst_init_k (void) |
| |
| static void __exit | m0_netst_fini_k (void) |
| |
The external interfaces of the LNet transport are obtained by including the file net/lnet/lnet.h. The m0_net_lnet_xprt variable represents the transport itself and is used as an argument to m0_net_domain_init().
The PID value of 12345 is used by Lustre in the kernel and is the only value currently supported. The symbolic constant M0_NET_LNET_PID provides this value.
The "*" indicates a dynamic assignment of a transfer machine identifier. This syntax is valid only when starting a transfer machine with the m0_net_tm_start() subroutine; it is intended for use by ephemeral processes like management utilities and user interactive programs, not by servers.