On Mon, Oct 23, 2017 at 10:51:18AM -0600, Jason Gunthorpe wrote: > On Thu, Oct 19, 2017 at 05:41:42PM +0300, Yishai Hadas wrote: <...> > > // Retreive the counters from hardware or from cache > uint64_t data[2]; > ibv_read_counters(counters, data, NELEMS(data), [..]); > printf("QP counter is %u\n", data[0]); > <..> > [..] will have to be something sensible to define the sampling > point, maybe an enum, or maybe a string? Not sure. Enum > > Jason > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: PGP signature