Lines Matching refs:shared_tables
53 /* shared_tables:
56 * shared_tables value must be 0 in order to enable the strict mode.
58 * example of the evolution of shared_tables:
60 * add vrf0 --> table 100 shared_tables = 0 | t0
61 * add vrf1 --> table 101 shared_tables = 0 | t1
62 * add vrf2 --> table 100 shared_tables = 1 | t2
63 * add vrf3 --> table 100 shared_tables = 1 | t3
64 * add vrf4 --> table 101 shared_tables = 2 v t4
66 * shared_tables is a "step function" (or "staircase function")
70 * at t2, vrf0 and vrf2 are bound to table 100: shared_tables = 1.
73 * value of shared_tables is still 1.
75 * table 100, the shared_tables will not increase (considering only
78 * at t4, vrf4 is bound to table 101, and shared_tables = 2.
80 * Looking at the value of shared_tables we can immediately know if
82 * can be enforced iff shared_tables = 0.
84 * Conversely, shared_tables is decreased when a vrf is de-associated
87 u32 shared_tables;
300 ++vmap->shared_tables;
335 --vmap->shared_tables;
1891 if (vmap->shared_tables) {