Lines Matching refs:local_port
272 bridge_port->system_port = mlxsw_sp_port->local_port; in mlxsw_sp_bridge_port_create()
505 mlxsw_sp_port->local_port, in mlxsw_sp_port_bridge_vlan_flood_set()
892 u8 local_port = mlxsw_sp_port->local_port; in mlxsw_sp_port_vlan_fid_join() local
902 err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, in mlxsw_sp_port_vlan_fid_join()
907 err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, in mlxsw_sp_port_vlan_fid_join()
912 err = mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, in mlxsw_sp_port_vlan_fid_join()
926 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, false); in mlxsw_sp_port_vlan_fid_join()
928 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, false); in mlxsw_sp_port_vlan_fid_join()
930 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, false); in mlxsw_sp_port_vlan_fid_join()
941 u8 local_port = mlxsw_sp_port->local_port; in mlxsw_sp_port_vlan_fid_leave() local
946 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_BC, local_port, false); in mlxsw_sp_port_vlan_fid_leave()
947 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_MC, local_port, false); in mlxsw_sp_port_vlan_fid_leave()
948 mlxsw_sp_fid_flood_set(fid, MLXSW_SP_FLOOD_TYPE_UC, local_port, false); in mlxsw_sp_port_vlan_fid_leave()
1266 static int __mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u8 local_port, in __mlxsw_sp_port_fdb_uc_op() argument
1280 mlxsw_reg_sfd_uc_pack(sfd_pl, 0, policy, mac, fid, action, local_port); in __mlxsw_sp_port_fdb_uc_op()
1294 static int mlxsw_sp_port_fdb_uc_op(struct mlxsw_sp *mlxsw_sp, u8 local_port, in mlxsw_sp_port_fdb_uc_op() argument
1298 return __mlxsw_sp_port_fdb_uc_op(mlxsw_sp, local_port, mac, fid, adding, in mlxsw_sp_port_fdb_uc_op()
1446 mlxsw_reg_smid_pack(smid_pl, mid_idx, mlxsw_sp_port->local_port, add); in mlxsw_sp_port_smid_set()
1485 set_bit(mlxsw_sp_port->local_port, in mlxsw_sp_bridge_port_get_ports_bitmap()
1608 clear_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_remove_from_mid()
1658 set_bit(mlxsw_sp_port->local_port, mid->ports_in_mid); in mlxsw_sp_port_mdb_add()
1710 if (!test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) in mlxsw_sp_port_mrouter_update_mdb()
1889 if (test_bit(mlxsw_sp_port->local_port, mid->ports_in_mid)) { in mlxsw_sp_bridge_port_mdb_flush()
2459 u8 local_port; in mlxsw_sp_fdb_notify_mac_process() local
2464 mlxsw_reg_sfn_mac_unpack(sfn_pl, rec_index, mac, &fid, &local_port); in mlxsw_sp_fdb_notify_mac_process()
2465 mlxsw_sp_port = mlxsw_sp->ports[local_port]; in mlxsw_sp_fdb_notify_mac_process()
2490 err = mlxsw_sp_port_fdb_uc_op(mlxsw_sp, local_port, mac, fid, in mlxsw_sp_fdb_notify_mac_process()