Ben, Thanks for taking a look. I’ll move to using an array, and will send out the patch as soon as possible.
Shashank On Jun 23, 2015, at 12:58 PM, Ben Pfaff <b...@nicira.com> wrote: > On Thu, Jun 18, 2015 at 02:39:07PM -0700, Shashank Shanbhag wrote: >> You also suggested that we move to using an array rather than a hash. >> http://openvswitch.org/pipermail/dev/2015-June/055998.html >> >> An array of 255 pointers to classifiers would lead to 2040 bytes (64-bit >> system). I'd like to avoid that especially when there are a handful of >> tables. > > I do not understand why you are continuing to argue with me about this. > Here is the data structure I want you to use: > > static uint8_t tables[255]; > static int n_tables; > > I don't care that it uses 255 or so bytes. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev