]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_fid: Rename mlxsw_sp_fid_vni_op()
authorAmit Cohen <amcohen@nvidia.com>
Thu, 23 Jun 2022 07:17:32 +0000 (10:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Jun 2022 11:32:33 +0000 (12:32 +0100)
commit393266eb3bb7a49cbba1a3d8d938e5289619fafd
tree313f81bfe9b769e1c244d7d0c122acf8a4fddeec
parent592901d496828448353adc5c68944b674fb5b0c8
mlxsw: spectrum_fid: Rename mlxsw_sp_fid_vni_op()

After the previous patch, all the callers of the function pass arguments
extracted from the FID structure itself. Reduce the arguments list by
simply passing the FID structure itself.

This makes the function more generic as it can be easily extended to
edit any FID attributes. Rename it to mlxsw_sp_fid_edit_op() to reflect
that.

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c