Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c326 char *sftr_pl; in mlxsw_sp_fid_flood_set() local
336 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sp_fid_flood_set()
337 if (!sftr_pl) in mlxsw_sp_fid_flood_set()
340 mlxsw_reg_sftr_pack(sftr_pl, flood_table->table_index, in mlxsw_sp_fid_flood_set()
344 sftr_pl); in mlxsw_sp_fid_flood_set()
345 kfree(sftr_pl); in mlxsw_sp_fid_flood_set()
Dswitchx2.c1474 char *sftr_pl; in mlxsw_sx_flood_init() local
1478 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sx_flood_init()
1479 if (!sftr_pl) in mlxsw_sx_flood_init()
1481 mlxsw_reg_sftr_pack(sftr_pl, 0, 0, MLXSW_REG_SFGC_TABLE_TYPE_SINGLE, 0, in mlxsw_sx_flood_init()
1483 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sx_flood_init()
1484 kfree(sftr_pl); in mlxsw_sx_flood_init()