Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c846 char *smid_pl; in mlxsw_sp_smid_router_port_set() local
849 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_smid_router_port_set()
850 if (!smid_pl) in mlxsw_sp_smid_router_port_set()
853 mlxsw_reg_smid_pack(smid_pl, mid_idx, in mlxsw_sp_smid_router_port_set()
855 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(smid), smid_pl); in mlxsw_sp_smid_router_port_set()
856 kfree(smid_pl); in mlxsw_sp_smid_router_port_set()
1474 char *smid_pl; in mlxsw_sp_port_smid_full_entry() local
1477 smid_pl = kmalloc(MLXSW_REG_SMID_LEN, GFP_KERNEL); in mlxsw_sp_port_smid_full_entry()
1478 if (!smid_pl) in mlxsw_sp_port_smid_full_entry()
1481 mlxsw_reg_smid_pack(smid_pl, mid_idx, 0, false); in mlxsw_sp_port_smid_full_entry()
[all …]