Home
last modified time | relevance | path

Searched refs:rules_cache (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/google/gve/
Dgve_flow_rule.c198 struct gve_adminq_queried_flow_rule *rules_cache = priv->flow_rules_cache.rules_cache; in gve_get_flow_rule_entry() local
209 fsp->location < be32_to_cpu(rules_cache[0].location) || in gve_get_flow_rule_entry()
210 fsp->location > be32_to_cpu(rules_cache[*cache_num - 1].location)) { in gve_get_flow_rule_entry()
219 if (fsp->location == be32_to_cpu(rules_cache[i].location)) { in gve_get_flow_rule_entry()
220 rule = &rules_cache[i]; in gve_get_flow_rule_entry()
Dgve_main.c152 flow_rules_cache->rules_cache = in gve_alloc_flow_rule_caches()
153 kvcalloc(GVE_FLOW_RULES_CACHE_SIZE, sizeof(*flow_rules_cache->rules_cache), in gve_alloc_flow_rule_caches()
155 if (!flow_rules_cache->rules_cache) { in gve_alloc_flow_rule_caches()
172 kvfree(flow_rules_cache->rules_cache); in gve_alloc_flow_rule_caches()
173 flow_rules_cache->rules_cache = NULL; in gve_alloc_flow_rule_caches()
183 kvfree(flow_rules_cache->rules_cache); in gve_free_flow_rule_caches()
184 flow_rules_cache->rules_cache = NULL; in gve_free_flow_rule_caches()
Dgve_adminq.c1384 rule_info_len = num_queried_rules * sizeof(*flow_rules_cache->rules_cache); in gve_adminq_process_flow_rules_query()
1390 memcpy(flow_rules_cache->rules_cache, rule_info, rule_info_len); in gve_adminq_process_flow_rules_query()
Dgve.h712 struct gve_adminq_queried_flow_rule *rules_cache; member