diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-22 08:53:27 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-22 08:53:27 -0600 |
commit | 4d7dff2b8b24d0087c75afb8e53140acdd1dc2bd (patch) | |
tree | ad4935b76e81ff0e19384274e3f80a75198f2bca /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | cfdeb8934b6f85f235071e9d3700756a0a12758d (diff) | |
parent | 9f876f3de6616f02960d7d88ad52c805946f4b63 (diff) | |
download | linux-4d7dff2b8b24d0087c75afb8e53140acdd1dc2bd.tar.gz |
Merge branch 'icrc-counter' into rdma.git for-next
For dependencies, branch based on 'mellanox/mlx5-next' of
git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git
Pull RoCE ICRC counters from Leon Romanovsky:
====================
This series exposes RoCE ICRC counter through existing RDMA hw_counters
sysfs interface.
The first patch has all HW definitions in mlx5_ifc.h file and second patch
is the actual counter implementation.
====================
* branch 'icrc-counter':
IB/mlx5: Support RoCE ICRC encapsulated error counter
net/mlx5: Add RoCE RX ICRC encapsulated counter
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index a72c73c3ed33..df547f060b60 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -666,6 +666,7 @@ struct mlx5_ib_counters { size_t *offsets; u32 num_q_counters; u32 num_cong_counters; + u32 num_ext_ppcnt_counters; u16 set_id; bool set_id_valid; }; |