linux/drivers/net/ethernet/mellanox
Danielle Ratson 1c375ffb2e mlxsw: spectrum_router: Expose RIF MAC profiles to devlink resource
Expose via devlink-resource the maximum number of RIF MAC profiles and
their current occupancy, so it can be used for debug and writing generic
tests, like in the next patch.

Example for Spectrum-2 output:

$ devlink resource show pci/0000:06:00.0
...
  name rif_mac_profiles size 4 occ 0 unit entry dpipe_tables none

Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-26 13:35:57 +01:00
..
mlx4 net: convert users of bitmap_foo() to linkmode_foo() 2021-10-24 13:58:52 +01:00
mlx5/core net/mlx5: SF_DEV Add SF device trace points 2021-10-25 13:51:21 -07:00
mlxbf_gige ethernet: use eth_hw_addr_set() instead of ether_addr_copy() 2021-10-02 14:18:25 +01:00
mlxfw devlink: Reduce struct devlink exposure 2021-10-12 16:29:16 -07:00
mlxsw mlxsw: spectrum_router: Expose RIF MAC profiles to devlink resource 2021-10-26 13:35:57 +01:00
Kconfig Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00
Makefile Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00