Home
last modified time | relevance | path

Searched refs:fid_index (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c25 u16 fid_index; member
164 return fid->fid_index; in mlxsw_sp_fid_index()
210 static int mlxsw_sp_fid_op(struct mlxsw_sp *mlxsw_sp, u16 fid_index, in mlxsw_sp_fid_op() argument
215 mlxsw_reg_sfmr_pack(sfmr_pl, mlxsw_sp_sfmr_op(valid), fid_index, in mlxsw_sp_fid_op()
220 static int mlxsw_sp_fid_vid_map(struct mlxsw_sp *mlxsw_sp, u16 fid_index, in mlxsw_sp_fid_vid_map() argument
226 mlxsw_reg_svfa_pack(svfa_pl, 0, mt, valid, fid_index, vid); in mlxsw_sp_fid_vid_map()
230 static int __mlxsw_sp_fid_port_vid_map(struct mlxsw_sp *mlxsw_sp, u16 fid_index, in __mlxsw_sp_fid_port_vid_map() argument
236 mlxsw_reg_svfa_pack(svfa_pl, local_port, mt, valid, fid_index, vid); in __mlxsw_sp_fid_port_vid_map()
246 err = mlxsw_sp_fid_op(mlxsw_sp, fid->fid_index, fid->fid_index, true); in mlxsw_sp_fid_8021q_configure()
251 err = mlxsw_sp_fid_vid_map(mlxsw_sp, fid->fid_index, fid_8021q->vid, in mlxsw_sp_fid_8021q_configure()
[all …]
Dspectrum_switchdev.c95 u16 fid_index);
374 u16 fid_index) in mlxsw_sp_port_vlan_find_by_fid() argument
382 if (fid && mlxsw_sp_fid_index(fid) == fid_index) in mlxsw_sp_port_vlan_find_by_fid()
1214 u16 fid_index) in mlxsw_sp_bridge_port_fdb_flush() argument
1222 mlxsw_reg_sfdf_fid_set(sfdf_pl, fid_index); in mlxsw_sp_bridge_port_fdb_flush()
1323 u16 fid_index, vid; in mlxsw_sp_port_fdb_set() local
1336 fid_index = mlxsw_sp_fid_index(mlxsw_sp_port_vlan->fid); in mlxsw_sp_port_fdb_set()
1342 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
1347 fdb_info->addr, fid_index, in mlxsw_sp_port_fdb_set()
1604 u16 fid_index; in mlxsw_sp_port_mdb_add() local
[all …]
Dspectrum_flower.c73 u16 fid_index; in mlxsw_sp_flower_parse_actions() local
76 fid_index = mlxsw_sp_fid_index(fid); in mlxsw_sp_flower_parse_actions()
78 fid_index, extack); in mlxsw_sp_flower_parse_actions()
Dspectrum_router.c6737 u16 fid_index; in mlxsw_sp_netdevice_router_port_event() local
6747 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_netdevice_router_port_event()
6749 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, false); in mlxsw_sp_netdevice_router_port_event()
6758 err = mlxsw_sp_rif_fdb_op(mlxsw_sp, dev->dev_addr, fid_index, true); in mlxsw_sp_netdevice_router_port_event()
6786 mlxsw_sp_rif_fdb_op(mlxsw_sp, rif->addr, fid_index, true); in mlxsw_sp_netdevice_router_port_event()
7079 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_configure() local
7082 err = mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, in mlxsw_sp_rif_fid_configure()
7112 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_configure()
7118 u16 fid_index = mlxsw_sp_fid_index(rif->fid); in mlxsw_sp_rif_fid_deconfigure() local
7130 mlxsw_sp_rif_vlan_fid_op(rif, MLXSW_REG_RITR_FID_IF, fid_index, false); in mlxsw_sp_rif_fid_deconfigure()