OSDN Git Service

mlxsw: Fix naming convention of MFDE fields
authorDanielle Ratson <danieller@nvidia.com>
Mon, 20 Dec 2021 10:56:11 +0000 (12:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Dec 2021 11:32:20 +0000 (11:32 +0000)
commitcbbd5fff86e8fd22152982d077ed06b1210f2779
tree3e34aa94b37e201dd26b570bd2a66fbcd48b3ed7
parent802d4d207e75d7208ff75adb712b556c1e91cf1c
mlxsw: Fix naming convention of MFDE fields

Currently, the MFDE register field names are using the convention:
reg_mfde_<NAME_OF_FIELD>, and do not consider the name of the MFDE
event.

Fix the field names so they fit the more accurate convention:
reg_mfde_<NAME_OF_EVENT>_<NAME_OF_FIELD>.

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>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/reg.h