From: Raed Salem
Associates a counters with a flow when IB_FLOW_SPEC_ACTION_COUNT
is part of the flow specifications.
The counters user space placements of location and description
(index, description) pairs are passed as private data of the
counters flow specification.
Reviewed-by: Yishai Hada
On Sun, May 27, 2018 at 01:23:44PM +0300, Leon Romanovsky wrote:
> + if (!mcounters->hw_cntrs_hndl) {
> + mcounters->hw_cntrs_hndl =
> + (void
> *)mlx5_fc_create(to_mdev(ibcounters->device)->mdev,
> +false);
No unnec
On Mon, May 28, 2018 at 11:27:52AM -0600, Jason Gunthorpe wrote:
> On Sun, May 27, 2018 at 01:23:44PM +0300, Leon Romanovsky wrote:
>
> > + if (!mcounters->hw_cntrs_hndl) {
> > + mcounters->hw_cntrs_hndl =
> > + (void
> > *)mlx5_fc_create(to_mdev(ibcounters->device)->