Motr  M0
lnet_xo.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2012-2020 Seagate Technology LLC and/or its Affiliates
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * For any questions about this software or licensing,
18  * please email opensource@seagate.com or cortx-questions@seagate.com.
19  *
20  */
21 
22 
23 #pragma once
24 
25 #ifndef __MOTR_NET_LNET_XO_H__
26 #define __MOTR_NET_LNET_XO_H__
27 
28 #include "net/lnet/lnet_core.h"
29 #include "lib/thread.h"
30 #include "lib/bitmap.h" /* m0_bitmap */
31 
38 struct nlx_xo_buffer;
39 struct nlx_xo_domain;
40 struct nlx_xo_ep;
41 struct nlx_xo_transfer_mc;
42 
43 enum {
47 };
48 
52 struct nlx_xo_ep {
54  uint64_t xe_magic;
55 
58 
61 
67 };
68 
72 struct nlx_xo_domain {
75 
78 
79  unsigned _debug_;
80 };
81 
88 
91 
94 
99 
102 
105 
106  unsigned _debug_;
107 };
108 
115 
118 };
119 
124 #endif /* __MOTR_NET_LNET_XO_H__ */
125 
126 /*
127  * Local variables:
128  * c-indentation-style: "K&R"
129  * c-basic-offset: 8
130  * tab-width: 8
131  * fill-column: 79
132  * scroll-step: 1
133  * End:
134  */
Definition: cond.h:99
struct m0_net_end_point xe_ep
Definition: lnet_xo.h:57
struct m0_bitmap xtm_processors
Definition: lnet_xo.h:90
uint64_t xe_magic
Definition: lnet_xo.h:54
char xe_addr[M0_NET_LNET_XEP_ADDR_LEN]
Definition: lnet_xo.h:66
unsigned _debug_
Definition: lnet_xo.h:79
struct m0_net_domain * xd_dom
Definition: lnet_xo.h:74
struct m0_chan * xtm_ev_chan
Definition: lnet_xo.h:101
struct nlx_core_domain xd_core
Definition: lnet_xo.h:77
unsigned _debug_
Definition: lnet_xo.h:106
struct nlx_core_buffer xb_core
Definition: lnet_xo.h:117
Definition: chan.h:229
struct m0_cond xtm_ev_cond
Definition: lnet_xo.h:98
struct m0_thread xtm_ev_thread
Definition: lnet_xo.h:93
struct nlx_core_ep_addr xe_core
Definition: lnet_xo.h:60
struct m0_net_buffer * xb_nb
Definition: lnet_xo.h:114
struct m0_net_transfer_mc * xtm_tm
Definition: lnet_xo.h:87
struct nlx_core_transfer_mc xtm_core
Definition: lnet_xo.h:104