diff options
author | 2022-06-21 11:33:45 +0300 | |
---|---|---|
committer | 2022-06-22 12:56:58 +0100 | |
commit | 048fcbb71a0e4d8a30b7bd0a497cd032b25d1186 (patch) | |
tree | 31beaa3bfab7d31a13c549f9e574f1c7eca5bfc2 /net/unix/af_unix.c | |
parent | mlxsw: spectrum_fid: Use 'fid->fid_offset' when setting VNI (diff) | |
download | linux-dev-048fcbb71a0e4d8a30b7bd0a497cd032b25d1186.tar.xz linux-dev-048fcbb71a0e4d8a30b7bd0a497cd032b25d1186.zip |
mlxsw: spectrum_fid: Implement missing operations for rFID and dummy FID
rFID and dummy FID do not support FID->VNI mapping. Currently, these
families do not implement the vni_{set, clear}() operations. Instead, there
is a check if these functions are implemented.
Similarly, 'SFMR.nve_tunnel_flood_ptr' is not relevant for rFID and dummy
FID, therefore, these families do not implement
nve_flood_index_{set, clear}().
Align the behavior to other unsupported operations, implement the functions
and just return an error or warn. Then, checks like '!ops->vni_set' can be
removed.
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions