Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c119 const struct mlxsw_sp_flood_table *flood_table; in mlxsw_sp_fid_flood_set() local
126 flood_table = mlxsw_sp_fid_flood_table_lookup(fid, packet_type); in mlxsw_sp_fid_flood_set()
127 if (!flood_table) in mlxsw_sp_fid_flood_set()
134 mlxsw_reg_sftr_pack(sftr_pl, flood_table->table_index, in mlxsw_sp_fid_flood_set()
135 ops->flood_index(fid), flood_table->table_type, 1, in mlxsw_sp_fid_flood_set()
800 const struct mlxsw_sp_flood_table *flood_table) in mlxsw_sp_fid_flood_table_init() argument
802 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; in mlxsw_sp_fid_flood_table_init()
814 mlxsw_reg_sfgc_pack(sfgc_pl, i, flood_table->bridge_type, in mlxsw_sp_fid_flood_table_init()
815 flood_table->table_type, in mlxsw_sp_fid_flood_table_init()
816 flood_table->table_index); in mlxsw_sp_fid_flood_table_init()
[all …]
Dreg.h945 MLXSW_ITEM32(reg, sfgc, flood_table, 0x04, 0, 6);
969 unsigned int flood_table) in mlxsw_reg_sfgc_pack() argument
975 mlxsw_reg_sfgc_flood_table_set(payload, flood_table); in mlxsw_reg_sfgc_pack()
1000 MLXSW_ITEM32(reg, sftr, flood_table, 0x00, 16, 6);
1034 unsigned int flood_table, in mlxsw_reg_sftr_pack() argument
1041 mlxsw_reg_sftr_flood_table_set(payload, flood_table); in mlxsw_reg_sftr_pack()