Re: [PATCH rdma-next 00/16] Flow counters support

Leon Romanovsky
2017-10-23T17:00:30Z

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]