[dpdk-dev] [PATCH] ethdev: promote port ownership API as stable
Ferruh Yigit
ferruh.yigit at intel.com
Thu Oct 28 12:22:59 CEST 2021
On 10/28/2021 9:34 AM, Thomas Monjalon wrote:
> The port ownership concept was introduced in ethdev in DPDK 18.02.
> Not sure it is used by applications except those using failsafe or netvsc.
> It can also be used by libraries or applications to sort out
> how ports are controlled.
>
> Hiding sub-ports controlled by failsafe or netvsc look to be enough
> justification to promote this API as stable.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
There is a defect in the 'rte_eth_dev_owner_delete()', which cause a crash,
it is fixed in my ethdev unit test patch:
https://patches.dpdk.org/project/dpdk/patch/20210716142800.3853651-8-ferruh.yigit@intel.com/
I think we should get the fix first.
And the crash not detected/reported until now makes me think API is still
not used much, I wonder if we should wait a little more to mature them.
Also only internal user of the API is 'drivers/net/netvsc', I wonder if
PMD detect the crash?
More information about the dev
mailing list