Home
last modified time | relevance | path

Searched refs:mlxsw_core_port (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.c47 struct mlxsw_core_port { struct
53 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_driver_priv() argument
55 return mlxsw_core_port->port_driver_priv; in mlxsw_core_port_driver_priv()
59 static bool mlxsw_core_port_check(struct mlxsw_core_port *mlxsw_core_port) in mlxsw_core_port_check() argument
61 return mlxsw_core_port->port_driver_priv != NULL; in mlxsw_core_port_check()
85 struct mlxsw_core_port *ports;
109 sizeof(struct mlxsw_core_port), GFP_KERNEL); in mlxsw_ports_init()
1237 return container_of(devlink_port, struct mlxsw_core_port, devlink_port); in __dl_port()
1245 struct mlxsw_core_port *mlxsw_core_port = __dl_port(devlink_port); in mlxsw_devlink_port_type_set() local
1251 mlxsw_core_port->local_port, in mlxsw_devlink_port_type_set()
[all …]
Dcore.h23 struct mlxsw_core_port;
203 void *mlxsw_core_port_driver_priv(struct mlxsw_core_port *mlxsw_core_port);
307 int (*sb_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port,
310 int (*sb_port_pool_set)(struct mlxsw_core_port *mlxsw_core_port,
313 int (*sb_tc_pool_bind_get)(struct mlxsw_core_port *mlxsw_core_port,
317 int (*sb_tc_pool_bind_set)(struct mlxsw_core_port *mlxsw_core_port,
326 int (*sb_occ_port_pool_get)(struct mlxsw_core_port *mlxsw_core_port,
329 int (*sb_occ_tc_port_bind_get)(struct mlxsw_core_port *mlxsw_core_port,
Dspectrum_buffers.c1412 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_get() argument
1417 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_get()
1428 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_port_pool_set() argument
1433 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_port_pool_set()
1453 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_get() argument
1459 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_get()
1473 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_tc_pool_bind_set() argument
1480 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_tc_pool_bind_set()
1711 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port, in mlxsw_sp_sb_occ_port_pool_get() argument
1716 mlxsw_core_port_driver_priv(mlxsw_core_port); in mlxsw_sp_sb_occ_port_pool_get()
[all …]
Dspectrum.h509 int mlxsw_sp_sb_port_pool_get(struct mlxsw_core_port *mlxsw_core_port,
512 int mlxsw_sp_sb_port_pool_set(struct mlxsw_core_port *mlxsw_core_port,
515 int mlxsw_sp_sb_tc_pool_bind_get(struct mlxsw_core_port *mlxsw_core_port,
519 int mlxsw_sp_sb_tc_pool_bind_set(struct mlxsw_core_port *mlxsw_core_port,
528 int mlxsw_sp_sb_occ_port_pool_get(struct mlxsw_core_port *mlxsw_core_port,
531 int mlxsw_sp_sb_occ_tc_port_bind_get(struct mlxsw_core_port *mlxsw_core_port,