+struct ptlrpc_ni {
+ /* Generic interface state */
+ char *pni_name;
+ ptl_handle_ni_t pni_ni_h;
+ ptl_handle_eq_t pni_request_out_eq_h;
+ ptl_handle_eq_t pni_reply_in_eq_h;
+ ptl_handle_eq_t pni_reply_out_eq_h;
+ ptl_handle_eq_t pni_bulk_put_source_eq_h;
+ ptl_handle_eq_t pni_bulk_put_sink_eq_h;
+ ptl_handle_eq_t pni_bulk_get_source_eq_h;
+ ptl_handle_eq_t pni_bulk_get_sink_eq_h;
+};
+
+struct ptlrpc_srv_ni {
+ /* Interface-specific service state */
+ struct ptlrpc_service *sni_service; /* owning service */
+ struct ptlrpc_ni *sni_ni; /* network interface */
+ ptl_handle_eq_t sni_eq_h; /* event queue handle */
+ struct list_head sni_rqbds; /* all the request buffer descriptors */
+ __u32 sni_nrqbds; /* # request buffers */
+ atomic_t sni_nrqbds_receiving; /* # request buffers posted */
+};
+