]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Add API to query/modify SBPR and SBCM registers
authorMaher Sanalla <msanalla@nvidia.com>
Mon, 28 Nov 2022 16:23:40 +0000 (18:23 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 11 Jan 2023 05:24:40 +0000 (21:24 -0800)
commit11f0996d5c6023f4889882c8d088ec76a050d704
treec4f8ca32416dbcf59691b8d62fafa9d387cb0fc5
parent8d231dbc3b10155727bcfa9e543d397ad357f14f
net/mlx5e: Add API to query/modify SBPR and SBCM registers

To allow users to configure shared receive buffer parameters through
dcbnl callbacks, expose an API to query and modify SBPR and SBCM registers,
which will be used in the upcoming patch.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/port.c
drivers/net/ethernet/mellanox/mlx5/core/en/port.h