]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Add support for flow counters
authorRaed Salem <raeds@mellanox.com>
Thu, 31 May 2018 13:43:37 +0000 (16:43 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sat, 2 Jun 2018 04:33:56 +0000 (07:33 +0300)
commite585960716439cb7fe33b3ce164cd343ed64fa2c
treecc9a9ca9b3ec4615970a8a46b35b1096340cbf8b
parent92a100e82f4b634e0e097bea1cfbd6e819465829
IB/uverbs: Add support for flow counters

The struct ib_uverbs_flow_spec_action_count associates a counters object
with the flow.

Post this association the flow counters can be read via the counters
object.

Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
include/uapi/rdma/ib_user_verbs.h