Home
last modified time | relevance | path

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

/net/openvswitch/
Dflow_table.c377 new->cache_size = size; in tbl_mask_cache_alloc()
378 if (new->cache_size > 0) { in tbl_mask_cache_alloc()
380 new->cache_size), in tbl_mask_cache_alloc()
396 if (size == mc->cache_size) in ovs_flow_tbl_masks_cache_resize()
801 if (unlikely(!skb_hash || mc->cache_size == 0)) { in ovs_flow_tbl_lookup_stats()
821 int index = hash & (mc->cache_size - 1); in ovs_flow_tbl_lookup_stats()
948 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.c1696 u32 cache_size; in ovs_dp_change() local
1698 cache_size = nla_get_u32(a[OVS_DP_ATTR_MASKS_CACHE_SIZE]); in ovs_dp_change()
1699 err = ovs_flow_tbl_masks_cache_resize(&dp->table, cache_size); in ovs_dp_change()