#include <Padico/Puk.h>#include <Padico/Module.h>#include <Padico/Topology.h>#include <Padico/PSP.h>#include <Padico/PM2.h>#include <Padico/AddrDB.h>#include <myriexpress.h>#include <mx_internals/mx__driver_interface.h>
Go to the source code of this file.
Data Structures | |
| struct | psp_mx_status_s |
| struct | psp_mx_msghdr_s |
Macros | |
| #define | PSP_MX_OP_NEWID 0x01 |
| #define | PSP_MX_OP_NEWMSG 0x02 |
| #define | PSP_MX_OP_HDR 0x04 |
| #define | PSP_MX_OP_PACK 0x08 |
| #define | PSP_MX_MASK_ID 0x00000000FFFFFF00 |
| #define | PSP_MX_MASK_OP 0x00000000000000FF |
| #define | PSP_MX_MASK_TAG 0xFFFFFFFF00000000 |
| #define | PSP_MX_MAX_HDR 256 |
Macro Definition Documentation
◆ PSP_MX_MASK_ID
◆ PSP_MX_MASK_OP
◆ PSP_MX_MASK_TAG
◆ PSP_MX_MAX_HDR
◆ PSP_MX_OP_HDR
◆ PSP_MX_OP_NEWID
◆ PSP_MX_OP_NEWMSG
◆ PSP_MX_OP_PACK
Function Documentation
◆ padico_module_create_initializer__PSP_MX()
◆ psp_mx_checkrc()
Definition at line 186 of file psp-mx.c.
Referenced by psp_mx_connect(), and psp_mx_module_init().
◆ psp_mx_connect()
|
static |
Definition at line 352 of file psp-mx.c.
References psp_mx_status_s::addr, assert(), done, NULL, padico_addrdb_get(), padico_addrdb_publish(), padico_tm_req_new(), padico_tm_req_wait(), psp_mx_status_s::peer, psp_mx_status_s::peer_id, psp_mx, psp_mx_checkrc(), PSP_MX_MASK_OP, PSP_MX_OP_NEWID, psp_mx_recv(), psp_mx_send(), rc, remote_node, req, and psp_mx_status_s::self_id.
◆ psp_mx_destroy()
◆ psp_mx_end_message()
|
static |
Definition at line 411 of file psp-mx.c.
References psp_mx_hsend().
◆ psp_mx_hsend()
|
static |
Definition at line 392 of file psp-mx.c.
References psp_mx_status_s::h_size, psp_mx_status_s::hsent, psp_mx_msghdr_s::id, psp_mx_status_s::peer_id, psp_mx_match(), PSP_MX_MAX_HDR, PSP_MX_OP_NEWMSG, psp_mx_send(), psp_mx_status_s::sbuf, psp_mx_status_s::tag, and psp_mx_msghdr_s::tag.
Referenced by psp_mx_end_message(), and psp_mx_pack().
◆ psp_mx_init()
|
static |
Definition at line 332 of file psp-mx.c.
References assert(), done, psp_mx_status_s::h_size, key, NULL, padico_psp_slot_insert(), psp_mx_status_s::peer_id, psp_mx, PSP_MX_MAX_HDR, psp_mx_status_s::sbuf, psp_mx_status_s::self_id, psp_mx_status_s::slot, tag, and psp_mx_status_s::tag.
◆ psp_mx_instantiate()
|
static |
Definition at line 316 of file psp-mx.c.
References done, NULL, psp_mx_status_s::peer, and psp_mx_status_s::slot.
◆ psp_mx_match()
|
inlinestatic |
Definition at line 176 of file psp-mx.c.
References done, op, psp_mx_status_s::peer_id, psp_mx_match_raw(), tag, and psp_mx_status_s::tag.
Referenced by psp_mx_hsend(), and psp_mx_pack().
◆ psp_mx_match_raw()
Definition at line 170 of file psp-mx.c.
Referenced by psp_mx_match(), and psp_mx_pump().
◆ psp_mx_module_finalize()
◆ psp_mx_module_init()
Definition at line 254 of file psp-mx.c.
References done, NULL, padico_psp_directory_init(), padico_topo_getlocalhost, padico_topo_host_bind(), padico_topo_network_create(), PADICO_TOPO_SCOPE_HOST, psp_mx, psp_mx_checkrc(), psp_mx_component_driver, psp_mx_driver, psp_mx_worker(), and rc.
◆ psp_mx_new_message()
|
static |
Definition at line 384 of file psp-mx.c.
References psp_mx_msghdr_s::data, done, psp_mx_status_s::hsent, and psp_mx_status_s::sbuf.
◆ psp_mx_pack()
|
static |
Definition at line 403 of file psp-mx.c.
References psp_mx_hsend(), psp_mx_match(), PSP_MX_OP_PACK, psp_mx_send(), and size.
◆ psp_mx_piom_lock()
Definition at line 143 of file psp-mx.c.
Referenced by psp_mx_recv(), psp_mx_send(), and psp_mx_worker().
◆ psp_mx_piom_unlock()
Definition at line 146 of file psp-mx.c.
Referenced by psp_mx_recv(), psp_mx_send(), and psp_mx_worker().
◆ psp_mx_pump()
Definition at line 417 of file psp-mx.c.
References done, h, PSP_MX_MASK_ID, PSP_MX_MASK_OP, PSP_MX_MASK_TAG, psp_mx_match_raw(), PSP_MX_OP_PACK, psp_mx_recv(), and size.
Referenced by psp_mx_worker().
◆ psp_mx_recv()
Definition at line 222 of file psp-mx.c.
References done, NULL, psp_mx, psp_mx_piom_lock(), psp_mx_piom_unlock(), rc, req, seg, and size.
Referenced by psp_mx_connect(), and psp_mx_pump().
◆ psp_mx_send()
|
inlinestatic |
Definition at line 194 of file psp-mx.c.
References psp_mx_status_s::addr, done, NULL, psp_mx, psp_mx_piom_lock(), psp_mx_piom_unlock(), rc, req, seg, and size.
Referenced by psp_mx_connect(), psp_mx_hsend(), and psp_mx_pack().
◆ psp_mx_worker()
Definition at line 439 of file psp-mx.c.
References done, h, padico_psp_slot_s::handler, padico_psp_slot_s::key, NULL, padico_psp_slot_lookup(), psp_mx_status_s::peer, psp_mx, PSP_MX_MASK_OP, PSP_MX_OP_NEWMSG, psp_mx_piom_lock(), psp_mx_piom_unlock(), psp_mx_pump(), rc, seg, and psp_mx_status_s::slot.
Referenced by psp_mx_module_init().
Variable Documentation
◆ board_num
◆ conns
| struct psp_mx_conn_vect_s conns |
◆ endpoint
| mx_endpoint_t endpoint |
◆ endpoint_id
◆ filter
Definition at line 118 of file psp-mx.c.
Referenced by topo_binding_serialize().
◆ network
| padico_topo_network_t network |
Definition at line 113 of file psp-mx.c.
Referenced by g5k_compute_networks(), g5k_create_network(), na_bindings_vect_contains_network(), na_network_getentity_byaddr(), nsbe_dijkstra_vertex_add(), padico_ibv_create_port(), padico_libfabric_init(), padico_nsbe_new_rule(), padico_nsbe_rule_resolve(), padico_portals4_init(), padico_psm2_discover(), padico_psm_discover(), padico_topo_binding_add_addr(), padico_topo_binding_add_route(), padico_topo_host_bind(), padico_topo_host_can_input(), padico_topo_host_can_output(), padico_topo_host_getaddr2(), padico_topo_host_getbindings(), padico_topo_host_getname2(), padico_topo_host_getnetworks(), padico_topo_host_policy(), padico_topo_network_can_input(), padico_topo_network_can_output(), padico_topo_network_contains_host(), padico_topo_network_contains_node(), padico_topo_network_create(), padico_topo_network_getbyid(), padico_topo_network_gethostbyaddr(), padico_topo_network_getname(), padico_topo_network_getnodebyaddr(), padico_topo_network_inet_info(), padico_topo_network_serialize(), padico_topo_network_size(), padico_topo_node_bind(), padico_topo_node_disconnect(), padico_topo_node_getaddress(), padico_topo_session_getnetwork(), padico_topo_session_getnodebyrank(), padico_topo_session_getrank(), router_update_end_handler(), topo_binding_create(), topo_binding_end_handler(), topo_inet_addr_detect_getifaddrs(), topo_inet_route_detect(), topo_network_destroy(), topo_network_end_handler(), and topo_property_end_handler().
◆ next_id
◆ nic_id
◆ padico_mod_binary__PSP_MX
| struct puk_mod_binary_s padico_mod_binary__PSP_MX = { .name = "PSP_MX", .funcs = &padico_mod_funcs__PSP_MX , .mod = NULL, .profile = { .total_mem = 0, .max_mem = 0, .num_malloc = 0, .num_free = 0 } , .auto_deps = & puk_mod_dep_0 , .n_deps = sizeof((char*[]){ 0, }) / sizeof(char*), .deps = { NULL, } } |
◆ padico_mod_funcs__PSP_MX
|
static |
◆ [struct]
| struct { ... } param |
Referenced by my_thread_process(), sfrfw_client_acceptor(), and sfrfw_connect().
◆ power_on
◆ [struct]
| typdef struct psp_mx_conn_vect_s* static psp_mx_conn_vect_t struct { ... } psp_mx |
Referenced by psp_mx_connect(), psp_mx_init(), psp_mx_module_finalize(), psp_mx_module_init(), psp_mx_recv(), psp_mx_send(), and psp_mx_worker().
◆ psp_mx_component_driver
|
static |
instanciation facet for PSP-IBV
Definition at line 68 of file psp-mx.c.
Referenced by psp_mx_module_init().
◆ psp_mx_driver
|
static |
'SimplePackets' facet for PSP-IBV
Definition at line 77 of file psp-mx.c.
Referenced by psp_mx_module_init().
◆ req
| mx_request_t req |
Definition at line 103 of file psp-mx.c.
Referenced by bench_minidriver_connect(), na_control_ping_handler(), na_unit_multi_load(), na_unit_multi_unload(), padico_addrdb_dynget(), padico_addrdb_get(), padico_control_send(), padico_control_send_async(), padico_group_send_to_all(), padico_group_wait_all(), padico_tm_mod_action_args(), padico_tm_nanosleep(), padico_tm_req_new(), padico_tm_req_wait(), padico_tm_tasks_process(), psp_mx_connect(), psp_mx_recv(), psp_mx_send(), psp_sf_connect(), rate_calculation(), sfsrtun_launch_server(), socks4client_send_request(), tm_mod_notify(), tm_req_async_notifier(), topo_inet_addr_detect_netlink(), topo_inet_route_detect(), vlink_control_resolve(), vlink_fwd_connect(), vlink_fwd_connect_handler(), vlink_fwd_listen(), vlink_madio_wrshutdown(), vlink_selector_assembly_request(), vopw_connrefused_send(), vopw_deferred_req_worker(), vopw_dynres_resolve(), and vopw_psp_callback_GET_TAG().
◆ slots
| struct padico_psp_directory_s slots |
◆ timeout
Definition at line 119 of file psp-mx.c.
Referenced by na_sysio_scavenger(), na_sysio_update_status(), padico_vio_poll(), padico_vio_select(), topo_inet_service_detect(), and vobs_secondary_timedwait().