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

A counters object could be attached to flow on creation by providing the
counter specification action.

General counters description which count packets and bytes are introduced,
downstream patches from this series will use them as part of flow counters
binding.

In addition, increase number of flow specifications supported layers to 10
upon adding count specification and for the previously added drop
specification.

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>
include/rdma/ib_verbs.h