Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 3 of 3) sorted by relevance

/net/openvswitch/
Dflow_table.c378 new->cache_size = size; in tbl_mask_cache_alloc()
379 if (new->cache_size > 0) { in tbl_mask_cache_alloc()
381 new->cache_size), in tbl_mask_cache_alloc()
397 if (size == mc->cache_size) in ovs_flow_tbl_masks_cache_resize()
802 if (unlikely(!skb_hash || mc->cache_size == 0)) { in ovs_flow_tbl_lookup_stats()
822 int index = hash & (mc->cache_size - 1); in ovs_flow_tbl_lookup_stats()
949 return READ_ONCE(mc->cache_size); in ovs_flow_tbl_masks_cache_size()
Dflow_table.h32 u32 cache_size; /* Must be ^2 value. */ member
Ddatapath.c1729 u32 cache_size; in ovs_dp_change() local
1731 cache_size = nla_get_u32(a[OVS_DP_ATTR_MASKS_CACHE_SIZE]); in ovs_dp_change()
1732 err = ovs_flow_tbl_masks_cache_resize(&dp->table, cache_size); in ovs_dp_change()