DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jerin Jacob <jerinjacobk@gmail.com>
To: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: Andrew Rybchenko <arybchenko@solarflare.com>,
	 "Yigit, Ferruh" <ferruh.yigit@linux.intel.com>,
	Thomas Monjalon <thomas@monjalon.net>,
	 John McNamara <john.mcnamara@intel.com>,
	Marko Kovacevic <marko.kovacevic@intel.com>,
	 Ajit Khaparde <ajit.khaparde@broadcom.com>,
	Somnath Kotur <somnath.kotur@broadcom.com>,
	 John Daley <johndale@cisco.com>,
	Hyong Youb Kim <hyonkim@cisco.com>,
	 Beilei Xing <beilei.xing@intel.com>,
	Qi Zhang <qi.z.zhang@intel.com>,
	 Wenzhuo Lu <wenzhuo.lu@intel.com>, Rosen Xu <rosen.xu@intel.com>,
	 Konstantin Ananyev <konstantin.ananyev@intel.com>,
	Shahaf Shuler <shahafs@mellanox.com>,
	Yongseok Koh <yskoh@mellanox.com>,
	Viacheslav Ovsiienko <viacheslavo@mellanox.com>,
	 Rasesh Mody <rmody@marvell.com>,
	Shahed Shaikh <shshaikh@marvell.com>, dpdk-dev <dev@dpdk.org>,
	David Marchand <david.marchand@redhat.com>,
	Adrien Mazarguil <adrien.mazarguil@6wind.com>
Subject: Re: [dpdk-dev] [PATCH] doc: remove deprecated ethdev features
Date: Tue, 15 Oct 2019 19:46:21 +0530	[thread overview]
Message-ID: <CALBAE1O4H93CCDWwV3ntwEWoTHc4J1kC6M_n=LQmmsm_wmKypg@mail.gmail.com> (raw)
In-Reply-To: <e8b45757-a166-1704-799c-2735b8a728ad@intel.com>

> >>> @@ -36,13 +36,6 @@ VMDq                 =
> >>>   SR-IOV               =
> >>>   DCB                  =
> >>>   VLAN filter          =
> >>> -Ethertype filter     =
> >>> -N-tuple filter       =
> >>> -SYN filter           =
> >>> -Tunnel filter        =
> >>> -Flexible filter      =
> >>> -Hash filter          =
> >>> -Flow director        =
> >>>   Flow control         =
> >>>   Flow API             =
> >>>   Rate limitation      =
> >> I suggest adding these features back!
> >>
> >> "Flow director" and other filters are features that device/driver supports.
> >>
> >> And "Flow API" and "filter_ctrl" are methods used to implement these features.
> >> Indeed they are only different APIs to get input from application/user.
> >>
> >> It doesn't really mean much to say "Flow API" is supported? So what is really
> >> supported? It matters more what feature is supported.
> >>
> >> Since we are saying old method is deprecated, we can update the feature list of
> >> drivers which implements filtering features using old method as not supported.
> >> And that is the case with this patch since old APIs are marked as deprecated,
> >> users can't use them to enable a filtering feature.
> >>
> >> Indeed I am for removing the "Flow API" from feature list, first it is not a
> >> feature, second if it is only method to enable a filtering, and if filtering is
> >> enabled in a driver, what is the point of redundant "Flow API" listing?
> >>
> >> I can make a quick patch if there is no objection, thanks.
> >
> > As I understand it was a decision to avoid details about flow API support
> > in features matrix. Mainly because matrix would be really huge in
> > attempt to represent it. The question is why filters/patterns mentioned
> > above are better than others and should be mentioned.
> > I'm not against adding some details, just want to understand criteria.
> > Flexible and hash are definitely not well defined.
> > What is flow director and which features should be supported to say yes?
> >

>
> The criteria I have is what users will be interested about a device/driver.
>
> Will it be really huge to list filtering capabilities of the devices? I believe
> we can group them into a few groups like above.
> Or at least keep existing one and improve it by time and +1 to clarify them more
> but that is something else.
>
> A device can have capabilities but it is not easy to find if that capability has
> been enabled via DPDK, this kind of feature matrix works for it, and all
> features together makes it much easier than digging datasheets and code.
>
> Saying that "Flow API" is enabled for a driver doesn't really gives any
> information to the user if they are interested what kind of filtering features
> are supported by that device/driver.

I agree. I think, we need to enumerate rte flow patterns and actions
supported by the PMD.
Since there was no single place such documentation, we added the same
in PMD documentation
See 39.8. RTE Flow Support at https://doc.dpdk.org/guides/nics/octeontx2.html

And IMO, We should not add deprecated features in the features matrix as
new PMDs are not planning to implement the deprecated APIs. That
makes, matrix looks
new PMDs do not implement a lot of features, but in reality, those are
deprecated and never planning to implement if even though HW supports it.

  reply	other threads:[~2019-10-15 14:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 15:57 Thomas Monjalon
2019-07-31  9:34 ` Andrew Rybchenko
2019-07-31 10:35   ` Jerin Jacob Kollanukkaran
2019-07-31 10:47     ` Ajit Khaparde
2019-08-06 21:42       ` Thomas Monjalon
2019-07-31  9:45 ` David Marchand
2019-07-31 13:00   ` Thomas Monjalon
2019-10-15 11:08 ` Yigit, Ferruh
2019-10-15 12:31   ` Andrew Rybchenko
2019-10-15 12:58     ` Ferruh Yigit
2019-10-15 14:16       ` Jerin Jacob [this message]
2019-10-15 15:55         ` Ferruh Yigit
2019-10-15 16:19           ` Jerin Jacob
2019-10-15 20:00             ` Ajit Khaparde
2019-10-16 10:02             ` Ferruh Yigit
2019-10-16 10:08               ` Jerin Jacob
2019-10-16 10:16                 ` Ferruh Yigit
2019-10-16 10:20                   ` Jerin Jacob
2019-10-25 12:28                     ` 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='CALBAE1O4H93CCDWwV3ntwEWoTHc4J1kC6M_n=LQmmsm_wmKypg@mail.gmail.com' \
    --to=jerinjacobk@gmail.com \
    --cc=adrien.mazarguil@6wind.com \
    --cc=ajit.khaparde@broadcom.com \
    --cc=arybchenko@solarflare.com \
    --cc=beilei.xing@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=ferruh.yigit@linux.intel.com \
    --cc=hyonkim@cisco.com \
    --cc=john.mcnamara@intel.com \
    --cc=johndale@cisco.com \
    --cc=konstantin.ananyev@intel.com \
    --cc=marko.kovacevic@intel.com \
    --cc=qi.z.zhang@intel.com \
    --cc=rmody@marvell.com \
    --cc=rosen.xu@intel.com \
    --cc=shahafs@mellanox.com \
    --cc=shshaikh@marvell.com \
    --cc=somnath.kotur@broadcom.com \
    --cc=thomas@monjalon.net \
    --cc=viacheslavo@mellanox.com \
    --cc=wenzhuo.lu@intel.com \
    --cc=yskoh@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).