aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/mlx5_ib.h
diff options
context:
space:
mode:
authorErez Alfasi <ereza@mellanox.com>2019-10-16 09:23:06 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-10-22 15:22:47 -0300
commitfb91069088faf30c6e8aeeed900326c040623e2d (patch)
treef9a41a9f6f6a162e343f409aa58018b58d4020ad /drivers/infiniband/hw/mlx5/mlx5_ib.h
parentIB/mlx5: Introduce ODP diagnostic counters (diff)
downloadlinux-dev-fb91069088faf30c6e8aeeed900326c040623e2d.tar.xz
linux-dev-fb91069088faf30c6e8aeeed900326c040623e2d.zip
RDMA/nldev: Allow different fill function per resource
So far res_get_common_{dumpit, doit} was using the default resource fill function which was defined as part of the nldev_fill_res_entry fill_entries. Add a fill function pointer as an argument allows us to use different fill function in case we want to dump different values then 'rdma resource' flow do, but still use the same existing general resources dumping flow. Link: https://lore.kernel.org/r/20191016062308.11886-3-leon@kernel.org Signed-off-by: Erez Alfasi <ereza@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
0 files changed, 0 insertions, 0 deletions