Home
last modified time | relevance | path

Searched refs:MLXSW_PORT_CPU_PORT (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dport.h21 #define MLXSW_PORT_CPU_PORT 0x0 macro
H A Dspectrum_buffers.c278 if (local_port == MLXSW_PORT_CPU_PORT && in mlxsw_sp_sb_pm_occ_clear()
305 if (local_port == MLXSW_PORT_CPU_PORT && in mlxsw_sp_sb_pm_occ_query()
1465 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_port_pool_set()
1515 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_tc_pool_bind_set()
1577 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_sr_occ_query_cb()
1625 local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_sb_occ_snapshot()
1645 if (local_port != MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_occ_snapshot()
1700 local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_sb_occ_max_clear()
1719 if (local_port != MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_occ_max_clear()
H A Dcore.c973 trans->tx_info.local_port = MLXSW_PORT_CPU_PORT; in mlxsw_emad_reg_access()
3209 &mlxsw_core->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_core_cpu_port_init()
3212 err = __mlxsw_core_port_init(mlxsw_core, MLXSW_PORT_CPU_PORT, in mlxsw_core_cpu_port_init()
3226 __mlxsw_core_port_fini(mlxsw_core, MLXSW_PORT_CPU_PORT); in mlxsw_core_cpu_port_fini()
H A Dspectrum.c1937 mlxsw_sp_port->local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_cpu_port_create()
1948 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = mlxsw_sp_port; in mlxsw_sp_cpu_port_create()
1959 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_sp_cpu_port_remove()
1962 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = NULL; in mlxsw_sp_cpu_port_remove()
1968 return local_port != MLXSW_PORT_CPU_PORT; in mlxsw_sp_local_port_valid()
H A Dspectrum_trap.c310 if (local_port == MLXSW_PORT_CPU_PORT) in mlxsw_sp_rx_sample_tx_listener()
H A Dspectrum_span.c703 sparmsp->dest_port = mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_sp2_span_entry_cpu_parms()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dport.h23 #define MLXSW_PORT_CPU_PORT 0x0 macro
H A Dspectrum_buffers.c263 if (local_port == MLXSW_PORT_CPU_PORT && in mlxsw_sp_sb_pm_occ_clear()
290 if (local_port == MLXSW_PORT_CPU_PORT && in mlxsw_sp_sb_pm_occ_query()
1439 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_port_pool_set()
1489 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_tc_pool_bind_set()
1551 if (local_port == MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_sr_occ_query_cb()
1600 local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_sb_occ_snapshot()
1612 if (local_port != MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_occ_snapshot()
1666 local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_sb_occ_max_clear()
1677 if (local_port != MLXSW_PORT_CPU_PORT) { in mlxsw_sp_sb_occ_max_clear()
H A Dcore.c811 trans->tx_info.local_port = MLXSW_PORT_CPU_PORT; in mlxsw_emad_reg_access()
2780 &mlxsw_core->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_core_cpu_port_init()
2783 err = __mlxsw_core_port_init(mlxsw_core, MLXSW_PORT_CPU_PORT, in mlxsw_core_cpu_port_init()
2797 __mlxsw_core_port_fini(mlxsw_core, MLXSW_PORT_CPU_PORT); in mlxsw_core_cpu_port_fini()
H A Dspectrum.c1693 mlxsw_sp_port->local_port = MLXSW_PORT_CPU_PORT; in mlxsw_sp_cpu_port_create()
1704 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = mlxsw_sp_port; in mlxsw_sp_cpu_port_create()
1715 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_sp_cpu_port_remove()
1718 mlxsw_sp->ports[MLXSW_PORT_CPU_PORT] = NULL; in mlxsw_sp_cpu_port_remove()
H A Dspectrum_span.c701 sparmsp->dest_port = mlxsw_sp->ports[MLXSW_PORT_CPU_PORT]; in mlxsw_sp2_span_entry_cpu_parms()
H A Dswitchx2.c1482 MLXSW_PORT_CPU_PORT, true); in mlxsw_sx_flood_init()

Completed in 36 milliseconds