// parseRdmaKV parses raw string to RdmaEntry. func parseRdmaKV(raw string, entry *cgroups.RdmaEntry) error { … } // readRdmaEntries reads and converts array of rawstrings to RdmaEntries from file. // example entry: mlx4_0 hca_handle=2 hca_object=2000 func readRdmaEntries(dir, file string) ([]cgroups.RdmaEntry, error) { … } // RdmaGetStats returns rdma stats such as totalLimit and current entries. func RdmaGetStats(path string, stats *cgroups.Stats) error { … } func createCmdString(device string, limits configs.LinuxRdma) string { … } // RdmaSet sets RDMA resources. func RdmaSet(path string, r *configs.Resources) error { … }