Searched refs:smid_pl (Results 1 – 1 of 1) sorted by relevance
776 char *smid_pl; in mlxsw_sp_smid_router_port_set() local779 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_smid_router_port_set()780 if (!smid_pl) in mlxsw_sp_smid_router_port_set()783 mlxsw_reg_smid_pack(smid_pl, mid_idx, in mlxsw_sp_smid_router_port_set()785 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set()786 kfree(smid_pl); in mlxsw_sp_smid_router_port_set()1408 char *smid_pl; in mlxsw_sp_port_smid_full_entry() local1411 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_port_smid_full_entry()1412 if (!smid_pl) in mlxsw_sp_port_smid_full_entry()1415 mlxsw_reg_smid_pack(smid_pl, mid_idx, 0, false); in mlxsw_sp_port_smid_full_entry()[all …]