/* IO context in rtrs_srv, each io has one */ struct rtrs_srv_op { struct rtrs_srv_con *con;
u32 msg_id;
u8 dir; struct rtrs_msg_rdma_read *rd_msg; struct ib_rdma_wr tx_wr; struct ib_sge tx_sg; struct list_head wait_list; int status;
};
/* * server side memory region context, when always_invalidate=Y, we need * queue_depth of memory region to invalidate each memory region.
*/ struct rtrs_srv_mr { struct ib_mr *mr; struct sg_table sgt; struct ib_cqe inv_cqe; /* only for always_invalidate=true */
u32 msg_id; /* only for always_invalidate=true */
u32 msg_off; /* only for always_invalidate=true */ struct rtrs_iu *iu; /* send buffer for new rkey msg */
};
/* functions which are implemented in rtrs-srv-stats.c */ int rtrs_srv_reset_rdma_stats(struct rtrs_srv_stats *stats, bool enable);
ssize_t rtrs_srv_stats_rdma_to_str(struct rtrs_srv_stats *stats, char *page); int rtrs_srv_reset_all_stats(struct rtrs_srv_stats *stats, bool enable);
ssize_t rtrs_srv_reset_all_help(struct rtrs_srv_stats *stats, char *page, size_t len);
/* functions which are implemented in rtrs-srv-sysfs.c */ int rtrs_srv_create_path_files(struct rtrs_srv_path *srv_path); void rtrs_srv_destroy_path_files(struct rtrs_srv_path *srv_path);
#endif/* RTRS_SRV_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.