Lines Matching refs:mlxsw_sp_fid
285 struct mlxsw_sp_fid;
290 struct mlxsw_sp_fid *fid;
1094 struct mlxsw_sp_fid *mlxsw_sp_acl_dummy_fid(struct mlxsw_sp *mlxsw_sp);
1276 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_index(struct mlxsw_sp *mlxsw_sp,
1278 int mlxsw_sp_fid_nve_ifindex(const struct mlxsw_sp_fid *fid, int *nve_ifindex);
1279 int mlxsw_sp_fid_nve_type(const struct mlxsw_sp_fid *fid,
1281 struct mlxsw_sp_fid *mlxsw_sp_fid_lookup_by_vni(struct mlxsw_sp *mlxsw_sp,
1283 int mlxsw_sp_fid_vni(const struct mlxsw_sp_fid *fid, __be32 *vni);
1284 int mlxsw_sp_fid_nve_flood_index_set(struct mlxsw_sp_fid *fid,
1286 void mlxsw_sp_fid_nve_flood_index_clear(struct mlxsw_sp_fid *fid);
1287 bool mlxsw_sp_fid_nve_flood_index_is_set(const struct mlxsw_sp_fid *fid);
1288 int mlxsw_sp_fid_vni_set(struct mlxsw_sp_fid *fid, enum mlxsw_sp_nve_type type,
1290 void mlxsw_sp_fid_vni_clear(struct mlxsw_sp_fid *fid);
1291 bool mlxsw_sp_fid_vni_is_set(const struct mlxsw_sp_fid *fid);
1292 void mlxsw_sp_fid_fdb_clear_offload(const struct mlxsw_sp_fid *fid,
1294 int mlxsw_sp_fid_flood_set(struct mlxsw_sp_fid *fid,
1297 int mlxsw_sp_fid_port_vid_map(struct mlxsw_sp_fid *fid,
1299 void mlxsw_sp_fid_port_vid_unmap(struct mlxsw_sp_fid *fid,
1301 u16 mlxsw_sp_fid_index(const struct mlxsw_sp_fid *fid);
1302 enum mlxsw_sp_fid_type mlxsw_sp_fid_type(const struct mlxsw_sp_fid *fid);
1303 int mlxsw_sp_fid_rif_set(struct mlxsw_sp_fid *fid, struct mlxsw_sp_rif *rif);
1304 void mlxsw_sp_fid_rif_unset(struct mlxsw_sp_fid *fid);
1305 struct mlxsw_sp_rif *mlxsw_sp_fid_rif(const struct mlxsw_sp_fid *fid);
1309 u16 mlxsw_sp_fid_8021q_vid(const struct mlxsw_sp_fid *fid);
1310 struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_get(struct mlxsw_sp *mlxsw_sp, u16 vid);
1311 struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_get(struct mlxsw_sp *mlxsw_sp,
1313 struct mlxsw_sp_fid *mlxsw_sp_fid_8021q_lookup(struct mlxsw_sp *mlxsw_sp,
1315 struct mlxsw_sp_fid *mlxsw_sp_fid_8021d_lookup(struct mlxsw_sp *mlxsw_sp,
1317 struct mlxsw_sp_fid *mlxsw_sp_fid_rfid_get(struct mlxsw_sp *mlxsw_sp,
1319 struct mlxsw_sp_fid *mlxsw_sp_fid_dummy_get(struct mlxsw_sp *mlxsw_sp);
1320 void mlxsw_sp_fid_put(struct mlxsw_sp_fid *fid);
1380 struct mlxsw_sp_fid *fid,
1384 struct mlxsw_sp_fid *fid,
1398 int mlxsw_sp_nve_fid_enable(struct mlxsw_sp *mlxsw_sp, struct mlxsw_sp_fid *fid,
1402 struct mlxsw_sp_fid *fid);