Home
last modified time | relevance | path

Searched refs:port_to_module (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c3936 kfree(mlxsw_sp->port_to_module); in mlxsw_sp_ports_remove()
3953 mlxsw_sp->port_to_module = kmalloc_array(max_ports, sizeof(int), in mlxsw_sp_ports_create()
3955 if (!mlxsw_sp->port_to_module) { in mlxsw_sp_ports_create()
3966 mlxsw_sp->port_to_module[i] = -1; in mlxsw_sp_ports_create()
3974 mlxsw_sp->port_to_module[i] = module; in mlxsw_sp_ports_create()
3989 kfree(mlxsw_sp->port_to_module); in mlxsw_sp_ports_create()
4037 if (mlxsw_sp->port_to_module[local_port] < 0) in mlxsw_sp_port_unsplit_create()
4039 module = mlxsw_sp->port_to_module[local_port]; in mlxsw_sp_port_unsplit_create()
Dspectrum.h149 int *port_to_module; member