[ovs-dev] [PATCH v4 1/3] id-pool: Add interface to check if id has been allocated

Mark Gray mark.d.gray at redhat.com
Fri Sep 4 13:03:57 UTC 2020


On 04/09/2020 13:59, Flavio Leitner wrote:
> On Fri, Sep 04, 2020 at 08:42:25AM +0100, Mark Gray wrote:
>> On 01/09/2020 16:10, Flavio Leitner wrote:
>>>
<snip>
>> Perhaps I could change the public name to _lookup() or something like
>> id_pool_is_id_avail()?
> 
> That works for me. OVS also uses _has_, so another suggestion would
> be id_pool_has_id(), which is shorter. ;)

+1. I'll go for this.

Thanks



More information about the dev mailing list