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)
commit893b5c307a48957def37a8fb970cacfaf92f13ee
tree313f81bfe9b769e1c244d7d0c122acf8a4fddeec
parentd97da68e543ba576221cf0f57bc58d95080538e0
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