From: Mark Zhang <ma...@mellanox.com>

Update rdma_netlink.h file upto kernel commit 7c97f3aded10
("RDMA/counter: Add PID category support in auto mode")

Signed-off-by: Mark Zhang <ma...@mellanox.com>
Reviewed-by: Ido Kalir <i...@mellanox.com>
Signed-off-by: Leon Romanovsky <leo...@mellanox.com>
---
 rdma/include/uapi/rdma/rdma_netlink.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rdma/include/uapi/rdma/rdma_netlink.h 
b/rdma/include/uapi/rdma/rdma_netlink.h
index fe127b88..5fbf395b 100644
--- a/rdma/include/uapi/rdma/rdma_netlink.h
+++ b/rdma/include/uapi/rdma/rdma_netlink.h
@@ -565,9 +565,9 @@ enum rdma_nl_counter_mode {

 /*
  * Supported criteria in counter auto mode.
- * Currently only "qp type" is supported
  */
 enum rdma_nl_counter_mask {
        RDMA_COUNTER_MASK_QP_TYPE = 1,
+       RDMA_COUNTER_MASK_PID = 1 << 1,
 };
 #endif /* _RDMA_NETLINK_H */
--
2.26.2

Reply via email to