Searched refs:MLXSW_PORT_MAX_PORTS (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
H A Dport.h52 #define MLXSW_PORT_MAX_PORTS MLXSW_PORT_MAX_PHY_PORTS macro
60 #define MLXSW_PORT_DONT_CARE (MLXSW_PORT_MAX_PORTS)
H A Dspectrum_buffers.c95 ((15000000 - (2 * 20000 * MLXSW_PORT_MAX_PORTS)) / \
98 ((14000000 - (8 * 1500 * MLXSW_PORT_MAX_PORTS)) / \
H A Dcore.c78 u64 port_rx_packets[MLXSW_PORT_MAX_PORTS];
79 u64 port_rx_bytes[MLXSW_PORT_MAX_PORTS];
82 u32 port_rx_dropped[MLXSW_PORT_MAX_PORTS];
634 for (i = 0; i < MLXSW_PORT_MAX_PORTS; i++) {
1198 (local_port >= MLXSW_PORT_MAX_PORTS)) mlxsw_core_skb_receive()
1231 if (local_port >= MLXSW_PORT_MAX_PORTS) mlxsw_core_skb_receive()
H A Dswitchx2.c1103 for (i = 1; i < MLXSW_PORT_MAX_PORTS; i++) mlxsw_sx_ports_remove()
1114 alloc_size = sizeof(struct mlxsw_sx_port *) * MLXSW_PORT_MAX_PORTS; mlxsw_sx_ports_create()
1119 for (i = 1; i < MLXSW_PORT_MAX_PORTS; i++) { mlxsw_sx_ports_create()
H A Dspectrum.c1362 for (i = 1; i < MLXSW_PORT_MAX_PORTS; i++) mlxsw_sp_ports_remove()
1373 alloc_size = sizeof(struct mlxsw_sp_port *) * MLXSW_PORT_MAX_PORTS; mlxsw_sp_ports_create()
1378 for (i = 1; i < MLXSW_PORT_MAX_PORTS; i++) { mlxsw_sp_ports_create()

Completed in 109 milliseconds