Searched refs:smid_pl (Results 1 – 1 of 1) sorted by relevance
816 char *smid_pl; in mlxsw_sp_smid_router_port_set() local819 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_smid_router_port_set()820 if (!smid_pl) in mlxsw_sp_smid_router_port_set()823 mlxsw_reg_smid_pack(smid_pl, mid_idx, in mlxsw_sp_smid_router_port_set()825 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set()826 kfree(smid_pl); in mlxsw_sp_smid_router_port_set()1382 char *smid_pl; in mlxsw_sp_port_smid_full_entry() local1385 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_port_smid_full_entry()1386 if (!smid_pl) in mlxsw_sp_port_smid_full_entry()1389 mlxsw_reg_smid_pack(smid_pl, mid_idx, 0, false); in mlxsw_sp_port_smid_full_entry()[all …]