Searched refs:sftr_pl (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_fid.c | 120 char *sftr_pl; in mlxsw_sp_fid_flood_set() local 130 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sp_fid_flood_set() 131 if (!sftr_pl) in mlxsw_sp_fid_flood_set() 134 mlxsw_reg_sftr_pack(sftr_pl, flood_table->table_index, in mlxsw_sp_fid_flood_set() 138 sftr_pl); in mlxsw_sp_fid_flood_set() 139 kfree(sftr_pl); in mlxsw_sp_fid_flood_set()
|
D | switchx2.c | 1513 char *sftr_pl; in mlxsw_sx_flood_init() local 1517 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sx_flood_init() 1518 if (!sftr_pl) in mlxsw_sx_flood_init() 1520 mlxsw_reg_sftr_pack(sftr_pl, 0, 0, MLXSW_REG_SFGC_TABLE_TYPE_SINGLE, 0, in mlxsw_sx_flood_init() 1522 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sx_flood_init() 1523 kfree(sftr_pl); in mlxsw_sx_flood_init()
|