]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: Introduce mlxsw_reg_spms_vid_pack helper and use it
authorJiri Pirko <jiri@mellanox.com>
Thu, 15 Oct 2015 15:43:26 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 06:27:55 +0000 (23:27 -0700)
commitf6d227736fd9f95b9babc6cd7517186e1c0a6386
tree303e0859784d6766da2700643e0bb8981103173e
parentd724bd8f4942541cc297a32828b9ae0f849ec0c4
mlxsw: Introduce mlxsw_reg_spms_vid_pack helper and use it

Introduce separate helper for packing SPMS VIDs, as it can be used for
multiple VIDs and not only for one as previous SPMS pack function
provided.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/reg.h
drivers/net/ethernet/mellanox/mlxsw/switchx2.c