Re: [dpdk-dev] [PATCH v2 1/6] rte_ethdev: add function to check if device is owned

2020-04-02 Thread Thomas Monjalon
02/04/2020 00:24, Stephen Hemminger: > On Wed, 01 Apr 2020 23:42:44 +0200 > Thomas Monjalon wrote: > > > 16/03/2020 17:09, Stephen Hemminger: > > > This is a simple helper function to check if device is owned > > > (being used as a sub-device). > > > > I would suggest not restricting ownership

Re: [dpdk-dev] [PATCH v2 1/6] rte_ethdev: add function to check if device is owned

2020-04-01 Thread Stephen Hemminger
On Wed, 01 Apr 2020 23:42:44 +0200 Thomas Monjalon wrote: > 16/03/2020 17:09, Stephen Hemminger: > > This is a simple helper function to check if device is owned > > (being used as a sub-device). > > I would suggest not restricting ownership to sub-device case. > > > It is more convienent tha

Re: [dpdk-dev] [PATCH v2 1/6] rte_ethdev: add function to check if device is owned

2020-04-01 Thread Thomas Monjalon
16/03/2020 17:09, Stephen Hemminger: > This is a simple helper function to check if device is owned > (being used as a sub-device). I would suggest not restricting ownership to sub-device case. > It is more convienent than having > applications call rte_eth_dev_owner_get and check the result. Ye

[dpdk-dev] [PATCH v2 1/6] rte_ethdev: add function to check if device is owned

2020-03-16 Thread Stephen Hemminger
This is a simple helper function to check if device is owned (being used as a sub-device). It is more convienent than having applications call rte_eth_dev_owner_get and check the result. Signed-off-by: Stephen Hemminger --- v2 - rename the helper function and use rte_eth_dev_owner_get lib/librt