MLXSW_PORT_CPU_PORT
&mlxsw_core->ports[MLXSW_PORT_CPU_PORT];
err = __mlxsw_core_port_init(mlxsw_core, MLXSW_PORT_CPU_PORT,
__mlxsw_core_port_fini(mlxsw_core, MLXSW_PORT_CPU_PORT);
trans->txhdr_info.tx_info.local_port = MLXSW_PORT_CPU_PORT;
mlxsw_sp_port->local_port = MLXSW_PORT_CPU_PORT;
mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = mlxsw_sp_port;
mlxsw_sp->ports[MLXSW_PORT_CPU_PORT];
mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = NULL;
return local_port != MLXSW_PORT_CPU_PORT;
if (local_port == MLXSW_PORT_CPU_PORT) {
if (local_port == MLXSW_PORT_CPU_PORT) {
if (local_port == MLXSW_PORT_CPU_PORT) {
local_port = MLXSW_PORT_CPU_PORT;
if (local_port != MLXSW_PORT_CPU_PORT) {
local_port = MLXSW_PORT_CPU_PORT;
if (local_port != MLXSW_PORT_CPU_PORT) {
if (local_port == MLXSW_PORT_CPU_PORT &&
if (local_port == MLXSW_PORT_CPU_PORT &&
sparmsp->dest_port = mlxsw_sp->ports[MLXSW_PORT_CPU_PORT];
if (local_port == MLXSW_PORT_CPU_PORT)