Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c347 char *spms_pl; in mlxsw_sp_port_vid_stp_set() local
350 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_vid_stp_set()
351 if (!spms_pl) in mlxsw_sp_port_vid_stp_set()
353 mlxsw_reg_spms_pack(spms_pl, mlxsw_sp_port->local_port); in mlxsw_sp_port_vid_stp_set()
354 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state); in mlxsw_sp_port_vid_stp_set()
357 kfree(spms_pl); in mlxsw_sp_port_vid_stp_set()
4591 char *spms_pl; in mlxsw_sp_port_stp_set() local
4598 spms_pl = kmalloc(MLXSW_REG_SPMS_LEN, GFP_KERNEL); in mlxsw_sp_port_stp_set()
4599 if (!spms_pl) in mlxsw_sp_port_stp_set()
4604 mlxsw_reg_spms_vid_pack(spms_pl, vid, spms_state); in mlxsw_sp_port_stp_set()
[all …]