Searched refs:sftr_pl (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_switchdev.c | 134 char *sftr_pl; in __mlxsw_sp_port_flood_set() local 137 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in __mlxsw_sp_port_flood_set() 138 if (!sftr_pl) in __mlxsw_sp_port_flood_set() 141 mlxsw_reg_sftr_pack(sftr_pl, MLXSW_SP_FLOOD_TABLE_UC, fid_begin, in __mlxsw_sp_port_flood_set() 144 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sftr), sftr_pl); in __mlxsw_sp_port_flood_set() 154 mlxsw_reg_sftr_pack(sftr_pl, MLXSW_SP_FLOOD_TABLE_BM, fid_begin, in __mlxsw_sp_port_flood_set() 157 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sftr), sftr_pl); in __mlxsw_sp_port_flood_set() 160 kfree(sftr_pl); in __mlxsw_sp_port_flood_set()
|
D | switchx2.c | 1373 char *sftr_pl; in mlxsw_sx_flood_init() local 1377 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sx_flood_init() 1378 if (!sftr_pl) in mlxsw_sx_flood_init() 1380 mlxsw_reg_sftr_pack(sftr_pl, 0, 0, MLXSW_REG_SFGC_TABLE_TYPE_SINGLE, 0, in mlxsw_sx_flood_init() 1382 err = mlxsw_reg_write(mlxsw_sx->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sx_flood_init() 1383 kfree(sftr_pl); in mlxsw_sx_flood_init()
|
D | spectrum.c | 553 char *sftr_pl; in mlxsw_sp_port_add_vid() local 575 sftr_pl = kmalloc(MLXSW_REG_SFTR_LEN, GFP_KERNEL); in mlxsw_sp_port_add_vid() 576 if (!sftr_pl) { in mlxsw_sp_port_add_vid() 580 mlxsw_reg_sftr_pack(sftr_pl, 0, vid, in mlxsw_sp_port_add_vid() 583 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(sftr), sftr_pl); in mlxsw_sp_port_add_vid() 584 kfree(sftr_pl); in mlxsw_sp_port_add_vid()
|