From: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
To: Ilya Maximets <i.maximets@ovn.org>,
Thomas Monjalon <thomas@monjalon.net>,
Ferruh Yigit <ferruh.yigit@intel.com>, Ori Kam <orika@nvidia.com>
Cc: dev@dpdk.org, Eli Britstein <elibr@nvidia.com>,
Ajit Khaparde <ajit.khaparde@broadcom.com>,
Matan Azrad <matan@nvidia.com>,
Ivan Malov <ivan.malov@oktetlabs.ru>,
Viacheslav Galaktionov <viacheslav.galaktionov@oktetlabs.ru>
Subject: Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes
Date: Mon, 2 Aug 2021 22:19:33 +0300 [thread overview]
Message-ID: <b51fee08-9c18-a45d-ab14-0746d2f478d0@oktetlabs.ru> (raw)
In-Reply-To: <5664df76-33c7-773b-73f8-641af2535c7e@ovn.org>
On 8/2/21 6:49 PM, Ilya Maximets wrote:
> On 8/1/21 12:22 PM, Andrew Rybchenko wrote:
>> By its very name, action PORT_ID means that packets hit an ethdev with the
>> given DPDK port ID. At least the current comments don't state the opposite.
>> That said, since port representors had been adopted, applications like OvS
>> have been misusing the action. They misread its purpose as sending packets
>> to the opposite end of the "wire" plugged to the given ethdev, for example,
>> redirecting packets to the VF itself rather than to its representor ethdev.
>> Another example: OvS relies on this action with the admin PF's ethdev port
>> ID specified in it in order to send offloaded packets to the physical port.
>
> Hi, Andrew. The deprecation notice itself looks OK to me. But I'd suggest
> to avoid words like "misuse" and "misread" in the commit message, because I
> don't think that it's correct. Since documentation is ambiguous, different
> people might interpret it differently. And also, implementation in DPDK
> matches with the way how OVS uses the API, otherwise offloading in OVS would
> just not work. So, OVS uses this API in a way as it is implemented in DPDK.
> If the definition of a DPDK API allows interpretations that doesn't match with
> the implementation inside the DPDK itself, that's not a fault of the external
> application. And this can not be labeled as "misuse"/"misread". Let's not
> create a precedent.
Yes, I agree. I'll send v2 tomorrow.
Thanks for feedback,
Andrew.
next prev parent reply other threads:[~2021-08-02 19:19 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 10:22 Andrew Rybchenko
2021-08-01 10:22 ` [dpdk-dev] [PATCH 2/2] ethdev: announce clarification of implicit filter by port Andrew Rybchenko
2021-08-02 10:37 ` Ori Kam
2021-08-01 10:57 ` [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes Eli Britstein
2021-08-01 12:03 ` Andrew Rybchenko
2021-08-01 12:23 ` Ori Kam
2021-08-01 12:43 ` Andrew Rybchenko
2021-08-01 12:56 ` Ori Kam
2021-08-01 13:23 ` Andrew Rybchenko
2021-08-01 16:13 ` Ori Kam
2021-08-01 20:09 ` Andrew Rybchenko
2021-08-02 7:28 ` Ori Kam
2021-08-02 10:11 ` Andrew Rybchenko
2021-08-02 8:56 ` Ori Kam
2021-08-02 15:49 ` Ilya Maximets
2021-08-02 19:19 ` Andrew Rybchenko [this message]
2021-08-02 19:53 ` [dpdk-dev] [PATCH v2 " Andrew Rybchenko
2021-08-02 19:53 ` [dpdk-dev] [PATCH v2 2/2] ethdev: announce clarification of implicit filter by port Andrew Rybchenko
2021-08-02 19:57 ` [dpdk-dev] [PATCH v3 1/2] ethdev: announce flow API action PORT_ID changes Andrew Rybchenko
2021-08-02 19:57 ` [dpdk-dev] [PATCH v3 2/2] ethdev: announce clarification of implicit filter by port Andrew Rybchenko
2021-08-02 21:17 ` Ajit Khaparde
2021-08-07 21:10 ` Thomas Monjalon
2021-08-02 21:20 ` [dpdk-dev] [PATCH v3 1/2] ethdev: announce flow API action PORT_ID changes Ajit Khaparde
2021-08-07 21:06 ` 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=b51fee08-9c18-a45d-ab14-0746d2f478d0@oktetlabs.ru \
--to=andrew.rybchenko@oktetlabs.ru \
--cc=ajit.khaparde@broadcom.com \
--cc=dev@dpdk.org \
--cc=elibr@nvidia.com \
--cc=ferruh.yigit@intel.com \
--cc=i.maximets@ovn.org \
--cc=ivan.malov@oktetlabs.ru \
--cc=matan@nvidia.com \
--cc=orika@nvidia.com \
--cc=thomas@monjalon.net \
--cc=viacheslav.galaktionov@oktetlabs.ru \
/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).