On Fri, 24 Aug 2018 14:55:56 +0100
Ferruh Yigit wrote:
> On 8/14/2018 8:46 PM, Matan Azrad wrote:
> > Hi Stephen
> >
> > From: Stephen Hemminger
> >> On Tue, 14 Aug 2018 05:52:20 +
> >> Matan Azrad wrote:
> >>
> >>> Hi Stephen
> >>>
> >>> From: Stephen Hemminger
> The rte_eth_dev
On 8/14/2018 8:46 PM, Matan Azrad wrote:
> Hi Stephen
>
> From: Stephen Hemminger
>> On Tue, 14 Aug 2018 05:52:20 +
>> Matan Azrad wrote:
>>
>>> Hi Stephen
>>>
>>> From: Stephen Hemminger
The rte_eth_dev_owner_unset function is unusable because it always
returns -EINVAL. This is bec
Hi Stephen
From: Stephen Hemminger
> On Tue, 14 Aug 2018 05:52:20 +
> Matan Azrad wrote:
>
> > Hi Stephen
> >
> > From: Stephen Hemminger
> > > The rte_eth_dev_owner_unset function is unusable because it always
> > > returns -EINVAL. This is because the magic (unowned) value is
> > > flagged
On Tue, 14 Aug 2018 05:52:20 +
Matan Azrad wrote:
> Hi Stephen
>
> From: Stephen Hemminger
> > The rte_eth_dev_owner_unset function is unusable because it always
> > returns -EINVAL. This is because the magic (unowned) value is flagged as not
> > valid.
> >
>
> It's OK to raise an error
Hi Stephen
From: Stephen Hemminger
> The rte_eth_dev_owner_unset function is unusable because it always
> returns -EINVAL. This is because the magic (unowned) value is flagged as not
> valid.
>
It's OK to raise an error when you do unset for unowned device.
It means that unset owner should be ca
The rte_eth_dev_owner_unset function is unusable because
it always returns -EINVAL. This is because the magic (unowned)
value is flagged as not valid.
Move the validation of owner into set and unset as
separate calls.
Fixes: 5b7ba31148a8 ("ethdev: add port ownership")
Signed-off-by: Stephen Hemmi
6 matches
Mail list logo