]> 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)
commit92a100e82f4b634e0e097bea1cfbd6e819465829
tree9646401b46c389d36f9cb4506847801335766cdb
parentd9f35a97cf7d704272fc884a58a91e732d068aea
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