From: "Chautru, Nicolas" <nicolas.chautru@intel.com>
To: Maxime Coquelin <maxime.coquelin@redhat.com>,
Akhil Goyal <gakhil@marvell.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "trix@redhat.com" <trix@redhat.com>,
"mdr@ashroe.eu" <mdr@ashroe.eu>,
"Richardson, Bruce" <bruce.richardson@intel.com>,
"hemant.agrawal@nxp.com" <hemant.agrawal@nxp.com>,
"david.marchand@redhat.com" <david.marchand@redhat.com>,
"stephen@networkplumber.org" <stephen@networkplumber.org>,
"Vargas, Hernan" <hernan.vargas@intel.com>
Subject: RE: [EXT] Re: [PATCH v9 13/14] baseband/acc: add PF configure companion function
Date: Thu, 13 Oct 2022 01:30:07 +0000 [thread overview]
Message-ID: <BY5PR11MB4451822504AC2F61B738AB22F8259@BY5PR11MB4451.namprd11.prod.outlook.com> (raw)
In-Reply-To: <BY5PR11MB44519234DA7E65E6FB367B74F8259@BY5PR11MB4451.namprd11.prod.outlook.com>
Hi Maxime, Akhil,
(replying to myself)
>
> Hi Maxime, Akhil,
>
> <...>
> > >>>>> This is same comment as for ACC100 vs. ACC101.
> > >>>>> Having a single API would be the way to go, given the prototype
> > >>>>> of the functions are identical.
> > >>>>>
> > >>>>> Keep acc200 function, but internal only, rte_acc_configure()
> > >>>>> would call the acc100/acc101/acc200/accXXX based on the device
> ID.
> > >>>>>
> > >>>> +1 for this.
> > >>>>
> > >>>> I believe a bbdev API should be defined to be used by each of the
> PMD.
> > >>>> So that application can be agnostic of the underneath device.
> > >>>>
> > >>>> I would recommend to send a deprecation notice to remove all the
> > >>>> pmd APIs going forward. We can take it for now, but these need to
> > >>>> be replaced with generic API as soon as possible. No new such PMD
> > >>>> API would be accepted going forward.
> > >>>>
> > >>>
> > >>> OK understood, we can look into this for 23.03.
> > >>> Are we okay to keep that commit as is for 22.11?
> > >>>
> > >> What Maxime is suggesting is adding a wrapper in PMD to hide
> > >> variant of acc.
> > >> I believe it is better to do it now as this is long term stable release.
> > >> You can send a deprecation notice for removing PMD APIs and adding
> > >> new generic API now which can be done in next cycle.
> > >
> > > Updated in the V10 as suggested.
> >
> > Thanks.
> >
> > > This rte_acc_configure() symbol is marked as experimental. I believe
> > > we
> > can remove it without notice (this is already modified in this serie
> > without notice).
> >
> > Yes, no worries since this is experimental.
> >
> > > Note that this is only used by bbdev-test so this is all
> > > self-contained and no
> > impact to the ecosystem.
> >
> > Given it is only meant to be used by the dpdk-test-bbdev application,
> > maybe it could be an internal API? Avoiding to export it would make our
> lives easier.
> >
>
> I like that option in case we can build consensus on this.
> Using bbdev api for this side-band configuration would confuse the
> ecosystem since this is out of the remit of the intended bbdev api.
> The current method using a formally exposed PMD API is a bit historical,
> intention only to expose this from PMD code to the bbdev-test but still within
> DPDK only.
> I will push now a patch for further discussion with such a modification (not
> required for 22.11).
Actually it would not build in shared lib mode when doing this I believe.
One option would be to accept not to call these functions from bbdev-test when RTE_BUILD_SHARED_LIB is not defined.
That would be okay with me based on the limited usecase.
But that may be frown upon. Let me know what you think.
next prev parent reply other threads:[~2022-10-13 1:30 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-07 21:38 [PATCH v9 00/14] bbdev ACC200 PMD Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 01/14] baseband/acc100: remove unused registers Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 02/14] baseband/acc100: refactor to segregate common code Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 03/14] baseband/acc: rename directory from acc100 to acc Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 04/14] baseband/acc: introduce PMD for ACC200 Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 05/14] baseband/acc: add HW register definitions " Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 06/14] baseband/acc: add info get function " Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 07/14] baseband/acc: add queue configuration " Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 08/14] baseband/acc: add LDPC processing functions Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 09/14] baseband/acc: add LTE " Nicolas Chautru
2022-10-10 9:47 ` Maxime Coquelin
2022-10-10 17:33 ` Chautru, Nicolas
2022-10-10 18:08 ` Akhil Goyal
2022-10-11 21:24 ` Chautru, Nicolas
2022-10-07 21:38 ` [PATCH v9 10/14] baseband/acc: add support for FFT operations Nicolas Chautru
2022-10-10 9:50 ` Maxime Coquelin
2022-10-07 21:38 ` [PATCH v9 11/14] baseband/acc: support interrupt Nicolas Chautru
2022-10-10 9:53 ` Maxime Coquelin
2022-10-07 21:38 ` [PATCH v9 12/14] baseband/acc: add device status and vf2pf comms Nicolas Chautru
2022-10-07 21:38 ` [PATCH v9 13/14] baseband/acc: add PF configure companion function Nicolas Chautru
2022-10-10 10:02 ` Maxime Coquelin
2022-10-10 10:08 ` [EXT] " Akhil Goyal
2022-10-10 17:10 ` Chautru, Nicolas
2022-10-10 18:12 ` Akhil Goyal
2022-10-11 21:18 ` Chautru, Nicolas
2022-10-12 7:19 ` Maxime Coquelin
2022-10-13 1:02 ` Chautru, Nicolas
2022-10-13 1:30 ` Chautru, Nicolas [this message]
2022-10-13 7:21 ` Akhil Goyal
2022-10-07 21:38 ` [PATCH v9 14/14] baseband/acc: simplify meson dependency Nicolas Chautru
2022-10-10 10:03 ` Maxime Coquelin
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=BY5PR11MB4451822504AC2F61B738AB22F8259@BY5PR11MB4451.namprd11.prod.outlook.com \
--to=nicolas.chautru@intel.com \
--cc=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=gakhil@marvell.com \
--cc=hemant.agrawal@nxp.com \
--cc=hernan.vargas@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=mdr@ashroe.eu \
--cc=stephen@networkplumber.org \
--cc=trix@redhat.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).