Whamcloud - gitweb
LU-12678 lnet: make "struct lnet_lnd" always "const".
[fs/lustre-release.git] / lnet / include / lnet / api.h
index 1ce4a00..6ba7cac 100644 (file)
@@ -93,7 +93,7 @@ bool LNetIsPeerLocal(lnet_nid_t nid);
  * and a set of match criteria. The match criteria can be used to reject
  * incoming requests based on process ID or the match bits provided in the
  * request. MEs can be dynamically inserted into a match list by LNetMEAttach()
- * and LNetMEInsert(), and removed from its list by LNetMEUnlink().
+ * and removed from its list by LNetMEUnlink().
  * @{ */
 int LNetMEAttach(unsigned int     portal,
                 struct lnet_process_id match_id_in,
@@ -103,14 +103,6 @@ int LNetMEAttach(unsigned int         portal,
                 enum lnet_ins_pos      pos_in,
                 struct lnet_handle_me  *handle_out);
 
-int LNetMEInsert(struct lnet_handle_me current_in,
-                struct lnet_process_id match_id_in,
-                __u64             match_bits_in,
-                __u64             ignore_bits_in,
-                enum lnet_unlink  unlink_in,
-                enum lnet_ins_pos position_in,
-                struct lnet_handle_me *handle_out);
-
 int LNetMEUnlink(struct lnet_handle_me current_in);
 /** @} lnet_me */
 
@@ -153,12 +145,10 @@ int LNetMDUnlink(struct lnet_handle_md md_in);
  * that can be stored in an EQ. The struct lnet_event defines a structure that
  * holds the information about with an event.
  *
- * There are five functions for dealing with EQs: LNetEQAlloc() is used to
- * create an EQ and allocate the resources needed, while LNetEQFree()
- * releases these resources and free the EQ. LNetEQGet() retrieves the next
- * event from an EQ, and LNetEQWait() can be used to block a process until
- * an EQ has at least one event. LNetEQPoll() can be used to test or wait
- * on multiple EQs.
+ * There are three functions for dealing with EQs: LNetEQAlloc() is used
+ * to create an EQ and allocate the resources needed, while LNetEQFree()
+ * releases these resources and free the EQ.  LNetEQPoll() can be used
+ * to test or wait on multiple EQs.
  * @{ */
 int LNetEQAlloc(unsigned int      count_in,
                lnet_eq_handler_t  handler,
@@ -166,12 +156,6 @@ int LNetEQAlloc(unsigned int          count_in,
 
 int LNetEQFree(struct lnet_handle_eq eventq_in);
 
-int LNetEQGet(struct lnet_handle_eq eventq_in,
-             struct lnet_event *event_out);
-
-int LNetEQWait(struct lnet_handle_eq eventq_in,
-              struct lnet_event *event_out);
-
 int LNetEQPoll(struct lnet_handle_eq *eventqs_in,
               int               neq_in,
               signed long       timeout,