Re: [dpdk-dev] [PATCH 1/7] ethdev: add function to test port ownership

2020-03-15 Thread Matan Azrad
Hi Stephen From: Stephen Hemminger > Applications using a port mask need a method to be able to test for (and > reject) ethdev ports that are in use for other purposes. > There is already function which is thread safe to get this information: rte_eth_dev_owner_get. I don't think we need one mo

[dpdk-dev] [PATCH 1/7] ethdev: add function to test port ownership

2020-03-12 Thread Stephen Hemminger
Applications using a port mask need a method to be able to test for (and reject) ethdev ports that are in use for other purposes. Fixes: 5b7ba31148a8 ("ethdev: add port ownership") Cc: ma...@mellanox.com Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger --- lib/librte_ethdev/rte_ethdev.c