From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Shahaf Shuler <shahafs@mellanox.com>,
Thomas Monjalon <thomas@monjalon.net>,
"Xueming(Steven) Li" <xuemingl@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] ethdev: fix applications failure on configure
Date: Wed, 2 May 2018 18:24:19 +0100 [thread overview]
Message-ID: <25e6930d-e48b-9597-8044-aa31d8841df3@intel.com> (raw)
In-Reply-To: <DB7PR05MB4426775EB4107B747D02AE84C3800@DB7PR05MB4426.eurprd05.prod.outlook.com>
On 5/2/2018 6:09 PM, Shahaf Shuler wrote:
> Wednesday, May 2, 2018 1:06 PM, Thomas Monjalon:
>> Subject: Re: [dpdk-dev] [PATCH] ethdev: fix applications failure on configure
>>
>> 02/05/2018 11:58, Xueming(Steven) Li:
>>> From: Ferruh Yigit <ferruh.yigit@intel.com>
>>>> Or as Xueming suggested, we can take rss_hf config as best effort and
>> not return error at all.
>>>>
>>>> I think this forces PMDs to have up-to-date flow_type_rss_offloads
>> values, is there any other benefit?
>>>> What was the initial motivation to add error return on this check?
>>>
>>> The original idea is to add rss_hf check on mlx5 PMD, while it looks
>>> more generic to move the check to ethdev api from discussion[1].
>>>
>>> [1]
>>>
>> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fww
>> w.
>>> dpdk.org%2Fml%2Farchives%2Fdev%2F2018-
>> April%2F095136.html&data=02%7C01
>>>
>> %7Cshahafs%40mellanox.com%7Cc773c15dcbda49d21da008d5b0145864%7C
>> a652971
>>>
>> c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C636608523825745897&sdata=jDU
>> OyU0E%
>>> 2FY5g3oSKBQxUsz8Ehr%2FN3ek5h8kotQBLZBU%3D&reserved=0
>>
>> I think it is not correct to not return an error when the app request an offload
>> which is not supported.
>>
>> Do we agree to work on PMDs and applications to fix this offload
>> compliance?
>> And submit a deprecation notice to return an error in a later release?
>
> I probably missed it but why deprecation notice is required?
> Per my understanding it is just a fix to enforce better the API which is:
> 1. application reads capabilities
> 2. application sets offloads accordingly.
The return error on some values is new, and this is a behavior change in API.
Some applications working fine will start throwing error, and for DPDK
application developers this may mean go and update their application.
For possible application update I believe the change should be announced in
deprecation notice in advance.
next prev parent reply other threads:[~2018-05-02 17:24 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-01 13:33 Ferruh Yigit
2018-05-01 13:50 ` Xueming(Steven) Li
2018-05-01 14:01 ` Thomas Monjalon
2018-05-01 14:08 ` Ferruh Yigit
2018-05-01 14:12 ` Thomas Monjalon
2018-05-01 14:32 ` Ferruh Yigit
2018-05-02 9:58 ` Xueming(Steven) Li
2018-05-02 10:06 ` Thomas Monjalon
2018-05-02 17:09 ` Shahaf Shuler
2018-05-02 17:24 ` Ferruh Yigit [this message]
2018-05-01 15:30 ` Thomas Monjalon
2018-05-01 15:59 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25e6930d-e48b-9597-8044-aa31d8841df3@intel.com \
--to=ferruh.yigit@intel.com \
--cc=dev@dpdk.org \
--cc=shahafs@mellanox.com \
--cc=thomas@monjalon.net \
--cc=xuemingl@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).