Re: [ovs-dev] [PATCH] smap,shash: add numeric and flexible sort

2016-04-18 Thread Worth, Kevin
>> The default implementation of shash_sort and smap_sort provide only >> lexigraphic sorting. This patch allows both a numeric sort and a flexible >> version where the caller provides a comparison function >> ("compar" being the name used in other standard functions e.g. qsort(3)) >> >> Change-Id

Re: [ovs-dev] [PATCH] smap,shash: add numeric and flexible sort

2016-04-14 Thread Ben Pfaff
On Mon, Apr 04, 2016 at 11:59:27PM +, Worth, Kevin wrote: > The default implementation of shash_sort and smap_sort provide only > lexigraphic sorting. This patch allows both a numeric sort and a flexible > version where the caller provides a comparison function > ("compar" being the name used i

[ovs-dev] [PATCH] smap,shash: add numeric and flexible sort

2016-04-04 Thread Worth, Kevin
The default implementation of shash_sort and smap_sort provide only lexigraphic sorting. This patch allows both a numeric sort and a flexible version where the caller provides a comparison function ("compar" being the name used in other standard functions e.g. qsort(3)) Change-Id: I12fd3f8eef3f627