Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c816 char *smid_pl; in mlxsw_sp_smid_router_port_set() local
819 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() local
1385 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 …]