Home
last modified time | relevance | path

Searched defs:mlxsw_sp (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.h52 struct mlxsw_sp { struct
55 struct mlxsw_sp_port **ports; argument
74 struct mlxsw_sp_port_pcpu_stats { argument
86 struct mlxsw_sp *mlxsw_sp; argument
Dspectrum.c148 static int mlxsw_sp_base_mac_get(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_base_mac_get()
163 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_admin_status_set() local
175 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_oper_status_get() local
189 static int mlxsw_sp_vfid_create(struct mlxsw_sp *mlxsw_sp, u16 vfid) in mlxsw_sp_vfid_create()
205 static void mlxsw_sp_vfid_destroy(struct mlxsw_sp *mlxsw_sp, u16 vfid) in mlxsw_sp_vfid_destroy()
219 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_set() local
229 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_dev_addr_init() local
240 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_stp_state_set() local
256 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_mtu_set() local
277 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_swid_set() local
[all …]
Dspectrum_switchdev.c59 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_get() local
83 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_stp_state_set() local
132 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in __mlxsw_sp_port_flood_set() local
214 static int mlxsw_sp_ageing_set(struct mlxsw_sp *mlxsw_sp, u32 ageing_time) in mlxsw_sp_ageing_set()
231 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_attr_br_ageing_set() local
276 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in mlxsw_sp_port_pvid_set() local
283 static int mlxsw_sp_fid_create(struct mlxsw_sp *mlxsw_sp, u16 fid) in mlxsw_sp_fid_create()
298 static void mlxsw_sp_fid_destroy(struct mlxsw_sp *mlxsw_sp, u16 fid) in mlxsw_sp_fid_destroy()
355 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_port->mlxsw_sp; in __mlxsw_sp_port_vlans_add() local
749 static void mlxsw_sp_fdb_notify_mac_process(struct mlxsw_sp *mlxsw_sp, in mlxsw_sp_fdb_notify_mac_process()
[all …]
Dspectrum_buffers.c130 static int mlxsw_sp_sb_pools_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_sb_pools_init()
249 static int mlxsw_sp_sb_cms_init(struct mlxsw_sp *mlxsw_sp, u8 local_port, in mlxsw_sp_sb_cms_init()
277 static int mlxsw_sp_cpu_port_sb_cms_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_cpu_port_sb_cms_init()
375 static int mlxsw_sp_sb_mms_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_sb_mms_init()
394 int mlxsw_sp_buffers_init(struct mlxsw_sp *mlxsw_sp) in mlxsw_sp_buffers_init()