Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c325 char *sftr_pl; in mlxsw_sp_fid_flood_set() local
335 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sp_fid_flood_set()
336 if (!sftr_pl) in mlxsw_sp_fid_flood_set()
339 mlxsw_reg_sftr_pack(sftr_pl, flood_table->table_index, in mlxsw_sp_fid_flood_set()
343 sftr_pl); in mlxsw_sp_fid_flood_set()
344 kfree(sftr_pl); in mlxsw_sp_fid_flood_set()
Dswitchx2.c1487 char *sftr_pl; in mlxsw_sx_flood_init() local
1491 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sx_flood_init()
1492 if (!sftr_pl) in mlxsw_sx_flood_init()
1494 mlxsw_reg_sftr_pack(sftr_pl, 0, 0, MLXSW_REG_SFGC_TABLE_TYPE_SINGLE, 0, in mlxsw_sx_flood_init()
1496 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sx_flood_init()
1497 kfree(sftr_pl); in mlxsw_sx_flood_init()