[dpdk-dev] [PATCH v2 1/4] ethdev: allow negative values in flow rule types
Andrew Rybchenko
arybchenko at solarflare.com
Tue Sep 15 10:46:39 CEST 2020
On 9/15/20 7:36 AM, Ajit Khaparde wrote:
> On Tue, Sep 8, 2020 at 1:16 PM Gregory Etelson <getelson at nvidia.com
> <mailto:getelson at nvidia.com>> wrote:
>
> From: Gregory Etelson <getelson at mellanox.com
> <mailto:getelson at mellanox.com>>
>
> RTE flow items & actions use positive values in item & action type.
> Negative values are reserved for PMD private types. PMD
> items & actions usually are not exposed to application and are not
> used to create RTE flows.
>
> The patch allows applications with access to PMD flow
> items & actions ability to integrate RTE and PMD items & actions
> and use them to create flow rule.
>
> While we are reviewing this, some quick comment/questions..
>
> Doesn't this go against the above "PMD
> items & actions usually are not exposed to application and are not
> used to create RTE flows."?
> Why would an application try to use PMD specific private types?
> Isn't this contrary to having a standard API?
+1
More information about the dev
mailing list