diff options
author | Raed Salem <raeds@mellanox.com> | 2018-05-31 16:43:37 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-06-02 07:33:56 +0300 |
commit | b6ba4a9aa59fe99c6e9ca6ec941cd5f9823b0cae (patch) | |
tree | cc9a9ca9b3ec4615970a8a46b35b1096340cbf8b /drivers/infiniband/core/uverbs.h | |
parent | 7eea23a5cd51a945700ad44c7ce585dd2a640dea (diff) | |
download | lwn-b6ba4a9aa59fe99c6e9ca6ec941cd5f9823b0cae.tar.gz lwn-b6ba4a9aa59fe99c6e9ca6ec941cd5f9823b0cae.zip |
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>
Diffstat (limited to 'drivers/infiniband/core/uverbs.h')
-rw-r--r-- | drivers/infiniband/core/uverbs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/uverbs.h b/drivers/infiniband/core/uverbs.h index 5b2461fa634d..c0d40fc3a53a 100644 --- a/drivers/infiniband/core/uverbs.h +++ b/drivers/infiniband/core/uverbs.h @@ -263,6 +263,7 @@ struct ib_uverbs_flow_spec { struct ib_uverbs_flow_spec_action_tag flow_tag; struct ib_uverbs_flow_spec_action_drop drop; struct ib_uverbs_flow_spec_action_handle action; + struct ib_uverbs_flow_spec_action_count flow_count; }; }; |