]> 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)
commit31d62ea34fb68fac6b768d5be9567db42166caf5
tree313f81bfe9b769e1c244d7d0c122acf8a4fddeec
parent2b062ada7696491cd23115b6adb8a49047d10ec2
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