[ovs-git] [openvswitch/ovs] 27c247: id-pool: Refactor id_pool_alloc_id to allow any 32...

GitHub noreply at github.com
Mon Nov 10 16:37:47 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 27c247496fc15012b3186059639bf6dba1d1f706
      https://github.com/openvswitch/ovs/commit/27c247496fc15012b3186059639bf6dba1d1f706
  Author: Simon Horman <simon.horman at netronome.com>
  Date:   2014-11-10 (Mon, 10 Nov 2014)

  Changed paths:
    M lib/id-pool.c
    M lib/id-pool.h
    M ofproto/ofproto-dpif-rid.c

  Log Message:
  -----------
  id-pool: Refactor id_pool_alloc_id to allow any 32 bit value to be an id

id_pool_alloc_id() was created by breaking out the recirculation
allocation code. As it is now a library call it makes sense to remove
the restriction that id 0 is reserved.

Signed-off-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list