Searched refs:smid_pl (Results 1 – 1 of 1) sorted by relevance
868 char *smid_pl; in mlxsw_sp_smid_router_port_set() local871 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_smid_router_port_set()872 if (!smid_pl) in mlxsw_sp_smid_router_port_set()875 mlxsw_reg_smid_pack(smid_pl, mid_idx, in mlxsw_sp_smid_router_port_set()877 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set()878 kfree(smid_pl); in mlxsw_sp_smid_router_port_set()1480 char *smid_pl; in mlxsw_sp_port_smid_full_entry() local1483 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_port_smid_full_entry()1484 if (!smid_pl) in mlxsw_sp_port_smid_full_entry()1487 mlxsw_reg_smid_pack(smid_pl, mid_idx, 0, false); in mlxsw_sp_port_smid_full_entry()[all …]