On Thu, Aug 11, 2016 at 12:25:58AM +0900, Nam Bong Ha wrote: > Where does the flow table size of datapath defined in? > > I supposed it is related to MC_HASH_ENTRIES which is defined at 54th line > in datapath/flow_table.c. > > Does the source defined in 271th line represents flow table size? > ( table->mask_cache = __alloc_percpu(sizeof(struct mask_cache_entry) * > MC_HASH_ENTRIES, __alignof__(struct mask_cache_entry)); ) > > Moreover if flow table size gets full, what happens? > > For example, if flow table size is 10 and flow table status is full, the > new entry comes... replace? drop?
The flow table is dynamically allocated and expands as necessary. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev