Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_acl.c55 struct rhashtable rule_ht; member
157 err = rhashtable_init(&ruleset->rule_ht, &prestera_acl_rule_ht_params); in prestera_acl_ruleset_create()
182 rhashtable_destroy(&ruleset->rule_ht); in prestera_acl_ruleset_create()
263 rhashtable_destroy(&ruleset->rule_ht); in prestera_acl_ruleset_destroy()
414 return rhashtable_lookup_fast(&ruleset->rule_ht, &cookie, in prestera_acl_rule_lookup()
485 err = rhashtable_insert_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_add()
523 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_add()
535 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in prestera_acl_rule_del()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl.c52 struct rhashtable rule_ht; member
179 err = rhashtable_init(&ruleset->rule_ht, &mlxsw_sp_acl_rule_ht_params); in mlxsw_sp_acl_ruleset_create()
199 rhashtable_destroy(&ruleset->rule_ht); in mlxsw_sp_acl_ruleset_create()
214 rhashtable_destroy(&ruleset->rule_ht); in mlxsw_sp_acl_ruleset_destroy()
849 err = rhashtable_insert_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
874 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_add()
897 rhashtable_remove_fast(&ruleset->rule_ht, &rule->ht_node, in mlxsw_sp_acl_rule_del()
921 return rhashtable_lookup_fast(&ruleset->rule_ht, &cookie, in mlxsw_sp_acl_rule_lookup()