Searched refs:mall_entry (Results 1 – 4 of 4) sorted by relevance
20 return mall_entry; in mlxsw_sp_mall_entry_find()111 if (mall_entry->ingress) in mlxsw_sp_mall_port_sample_add()140 if (mall_entry->ingress) in mlxsw_sp_mall_port_sample_del()155 switch (mall_entry->type) { in mlxsw_sp_mall_port_rule_add()172 switch (mall_entry->type) { in mlxsw_sp_mall_port_rule_del()246 mall_entry = kzalloc(sizeof(*mall_entry), GFP_KERNEL); in mlxsw_sp_mall_replace()247 if (!mall_entry) in mlxsw_sp_mall_replace()293 if (mall_entry->ingress) in mlxsw_sp_mall_replace()306 kfree(mall_entry); in mlxsw_sp_mall_replace()317 if (!mall_entry) { in mlxsw_sp_mall_destroy()[all …]
1886 switch (mall_entry->type) { in mlxsw_sp_qevent_entry_configure()1902 switch (mall_entry->type) { in mlxsw_sp_qevent_entry_deconfigure()1985 return mall_entry; in mlxsw_sp_qevent_mall_entry_find()2024 mall_entry = kzalloc(sizeof(*mall_entry), GFP_KERNEL); in mlxsw_sp_qevent_mall_replace()2025 if (!mall_entry) in mlxsw_sp_qevent_mall_replace()2027 mall_entry->cookie = f->cookie; in mlxsw_sp_qevent_mall_replace()2049 list_del(&mall_entry->list); in mlxsw_sp_qevent_mall_replace()2051 kfree(mall_entry); in mlxsw_sp_qevent_mall_replace()2061 if (!mall_entry) in mlxsw_sp_qevent_mall_destroy()2066 list_del(&mall_entry->list); in mlxsw_sp_qevent_mall_destroy()[all …]
1167 struct mlxsw_sp_mall_entry *mall_entry,1171 struct mlxsw_sp_mall_entry *mall_entry);
51 struct sparx5_mall_entry *mall_entry; in sparx5_tc_matchall_replace() local63 mall_entry = kzalloc(sizeof(*mall_entry), GFP_KERNEL); in sparx5_tc_matchall_replace()64 if (!mall_entry) in sparx5_tc_matchall_replace()68 mall_entry, in sparx5_tc_matchall_replace()76 sparx5_tc_matchall_parse_mirror_action(mall_entry, action); in sparx5_tc_matchall_replace()77 err = sparx5_mirror_add(mall_entry); in sparx5_tc_matchall_replace()100 sparx5_mirror_stats(mall_entry, &tmo->stats); in sparx5_tc_matchall_replace()133 list_add_tail(&mall_entry->list, &sparx5->mall_entries); in sparx5_tc_matchall_replace()