[dpdk-dev] [PATCH 2/2] ethdev: make rte_eth_is_valid_owner_id return bool

Stephen Hemminger stephen at networkplumber.org
Tue Aug 21 17:06:44 CEST 2018


On Tue, 21 Aug 2018 10:20:43 +0000
Matan Azrad <matan at mellanox.com> wrote:

> From: Stephen Hemminger
> > Function is boolean so use that.  
> 
> Ethdev is not using bool type, see also:
> rte_eth_dev_is_valid_port
> rte_eth_dev_is_removed
> rte_eth_dev_pool_ops_supported
> 
> I think it should be a full solution to all.
>  
> > Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>

I didn't want change type of visible (exported by ABI) functions.




More information about the dev mailing list