* [PATCH] doc: add deprecation note for rework of PCI in EAL @ 2017-02-13 11:55 Shreyansh Jain 2017-02-13 12:00 ` Shreyansh Jain 0 siblings, 1 reply; 10+ messages in thread From: Shreyansh Jain @ 2017-02-13 11:55 UTC (permalink / raw) To: dev; +Cc: nhorman, thomas.monjalon, Shreyansh Jain EAL PCI layer is planned to be restructured in 17.05 to unlink it from generic structures like eth_driver, rte_cryptodev_driver, and also move it into a PCI Bus. Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> --- doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index fbe2fcb..b12d435 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -13,10 +13,14 @@ Deprecation Notices has exposed, like the way we have done with uio-pci-generic. This change targets release 17.05. -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will - provide a way to handle device initialization currently being done in - ``eth_driver``. +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to + unlink EAL dependency on PCI and to move PCI devices to a PCI specific + bus. + +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in 17.05. + This is to unlink the ethernet driver from PCI dependencies. + Similarly, ``rte_pci_driver`` in planned to be removed from + ``rte_cryptodev_driver`` in 17.05. * In 17.02 ABI changes are planned: the ``rte_eth_dev`` structure will be extended with new function pointer ``tx_pkt_prepare`` allowing verification -- 2.7.4 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: add deprecation note for rework of PCI in EAL 2017-02-13 11:55 [PATCH] doc: add deprecation note for rework of PCI in EAL Shreyansh Jain @ 2017-02-13 12:00 ` Shreyansh Jain 2017-02-13 14:44 ` Thomas Monjalon 2017-02-13 21:56 ` [PATCH] doc: add deprecation note for rework of PCI in EAL Jan Blunck 0 siblings, 2 replies; 10+ messages in thread From: Shreyansh Jain @ 2017-02-13 12:00 UTC (permalink / raw) To: dev; +Cc: nhorman, thomas.monjalon On Monday 13 February 2017 05:25 PM, Shreyansh Jain wrote: > EAL PCI layer is planned to be restructured in 17.05 to unlink it from > generic structures like eth_driver, rte_cryptodev_driver, and also move > it into a PCI Bus. > > Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> > --- > doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index fbe2fcb..b12d435 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -13,10 +13,14 @@ Deprecation Notices > has exposed, like the way we have done with uio-pci-generic. This change > targets release 17.05. > > -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as > - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will > - provide a way to handle device initialization currently being done in > - ``eth_driver``. Just to highlight, above statement was added by me in 16.11. As of now I plan to work on removing rte_pci_driver from eth_driver, rather than removing eth_driver all together (which, probably, was better idea). If someone still wishes to work on its complete removal, we can keep the above. (and probably remove the below). > +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to > + unlink EAL dependency on PCI and to move PCI devices to a PCI specific > + bus. > + > +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in 17.05. > + This is to unlink the ethernet driver from PCI dependencies. > + Similarly, ``rte_pci_driver`` in planned to be removed from > + ``rte_cryptodev_driver`` in 17.05. > > * In 17.02 ABI changes are planned: the ``rte_eth_dev`` structure will be > extended with new function pointer ``tx_pkt_prepare`` allowing verification > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: add deprecation note for rework of PCI in EAL 2017-02-13 12:00 ` Shreyansh Jain @ 2017-02-13 14:44 ` Thomas Monjalon 2017-02-13 16:20 ` [PATCH v2] doc: announce API changes to implement the bus model Thomas Monjalon 2017-02-13 21:56 ` [PATCH] doc: add deprecation note for rework of PCI in EAL Jan Blunck 1 sibling, 1 reply; 10+ messages in thread From: Thomas Monjalon @ 2017-02-13 14:44 UTC (permalink / raw) To: Shreyansh Jain; +Cc: dev, Jan Blunck, Stephen Hemminger 2017-02-13 17:30, Shreyansh Jain: > On Monday 13 February 2017 05:25 PM, Shreyansh Jain wrote: > > EAL PCI layer is planned to be restructured in 17.05 to unlink it from > > generic structures like eth_driver, rte_cryptodev_driver, and also move > > it into a PCI Bus. > > > > Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> > > --- > > doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- > > 1 file changed, 8 insertions(+), 4 deletions(-) > > > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > > index fbe2fcb..b12d435 100644 > > --- a/doc/guides/rel_notes/deprecation.rst > > +++ b/doc/guides/rel_notes/deprecation.rst > > @@ -13,10 +13,14 @@ Deprecation Notices > > has exposed, like the way we have done with uio-pci-generic. This change > > targets release 17.05. > > > > -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as > > - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will > > - provide a way to handle device initialization currently being done in > > - ``eth_driver``. > > Just to highlight, above statement was added by me in 16.11. > As of now I plan to work on removing rte_pci_driver from eth_driver, > rather than removing eth_driver all together (which, probably, was > better idea). > If someone still wishes to work on its complete removal, we can keep > the above. (and probably remove the below). Yes I think we should keep the original idea. I will work on it with Jan Blunck and Stephen Hemminger I think. > > +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to > > + unlink EAL dependency on PCI and to move PCI devices to a PCI specific > > + bus. > > + > > +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in 17.05. > > + This is to unlink the ethernet driver from PCI dependencies. > > + Similarly, ``rte_pci_driver`` in planned to be removed from > > + ``rte_cryptodev_driver`` in 17.05. I am going to reword it in a v2. ^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH v2] doc: announce API changes to implement the bus model 2017-02-13 14:44 ` Thomas Monjalon @ 2017-02-13 16:20 ` Thomas Monjalon 2017-02-13 21:53 ` Jan Blunck ` (2 more replies) 0 siblings, 3 replies; 10+ messages in thread From: Thomas Monjalon @ 2017-02-13 16:20 UTC (permalink / raw) To: dev The new bus model has been proposed in 17.02 without being used. The big rework should happen in 17.05. Suggested-by: Shreyansh Jain <shreyansh.jain@nxp.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> --- doc/guides/rel_notes/deprecation.rst | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f0b5329..8b66407 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -13,10 +13,14 @@ Deprecation Notices has exposed, like the way we have done with uio-pci-generic. This change targets release 17.05. -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as +* The PCI and VDEV subsystems will be converted as drivers of the new bus model. + It will imply some EAL API changes in 17.05. + +* ``eth_driver`` is planned to be removed in 17.05. This currently serves as a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will provide a way to handle device initialization currently being done in - ``eth_driver``. + ``eth_driver``. Similarly, ``rte_pci_driver`` is planned to be removed from + ``rte_cryptodev_driver`` in 17.05. * ethdev: an API change is planned for 17.02 for the function ``_rte_eth_dev_callback_process``. In 17.02 the function will return an ``int`` -- 2.7.0 ^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH v2] doc: announce API changes to implement the bus model 2017-02-13 16:20 ` [PATCH v2] doc: announce API changes to implement the bus model Thomas Monjalon @ 2017-02-13 21:53 ` Jan Blunck 2017-02-14 0:09 ` Hemant Agrawal 2017-02-14 0:33 ` Mcnamara, John 2017-02-14 18:57 ` Thomas Monjalon 2 siblings, 1 reply; 10+ messages in thread From: Jan Blunck @ 2017-02-13 21:53 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev On Mon, Feb 13, 2017 at 5:20 PM, Thomas Monjalon <thomas.monjalon@6wind.com> wrote: > The new bus model has been proposed in 17.02 without being used. > The big rework should happen in 17.05. > > Suggested-by: Shreyansh Jain <shreyansh.jain@nxp.com> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> > --- > doc/guides/rel_notes/deprecation.rst | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index f0b5329..8b66407 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -13,10 +13,14 @@ Deprecation Notices > has exposed, like the way we have done with uio-pci-generic. This change > targets release 17.05. > > -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as > +* The PCI and VDEV subsystems will be converted as drivers of the new bus model. > + It will imply some EAL API changes in 17.05. > + > +* ``eth_driver`` is planned to be removed in 17.05. This currently serves as > a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will > provide a way to handle device initialization currently being done in > - ``eth_driver``. > + ``eth_driver``. Similarly, ``rte_pci_driver`` is planned to be removed from > + ``rte_cryptodev_driver`` in 17.05. > > * ethdev: an API change is planned for 17.02 for the function > ``_rte_eth_dev_callback_process``. In 17.02 the function will return an ``int`` > -- > 2.7.0 > Acked-by: Jan Blunck <jblunck@infradead.org> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] doc: announce API changes to implement the bus model 2017-02-13 21:53 ` Jan Blunck @ 2017-02-14 0:09 ` Hemant Agrawal 0 siblings, 0 replies; 10+ messages in thread From: Hemant Agrawal @ 2017-02-14 0:09 UTC (permalink / raw) To: Jan Blunck, Thomas Monjalon; +Cc: dev On 2/13/2017 3:53 PM, Jan Blunck wrote: > On Mon, Feb 13, 2017 at 5:20 PM, Thomas Monjalon > <thomas.monjalon@6wind.com> wrote: >> The new bus model has been proposed in 17.02 without being used. >> The big rework should happen in 17.05. >> >> Suggested-by: Shreyansh Jain <shreyansh.jain@nxp.com> >> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> >> --- >> doc/guides/rel_notes/deprecation.rst | 8 ++++++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) >> >> diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst >> index f0b5329..8b66407 100644 >> --- a/doc/guides/rel_notes/deprecation.rst >> +++ b/doc/guides/rel_notes/deprecation.rst >> @@ -13,10 +13,14 @@ Deprecation Notices >> has exposed, like the way we have done with uio-pci-generic. This change >> targets release 17.05. >> >> -* ``eth_driver`` is planned to be removed in 17.02. This currently serves as >> +* The PCI and VDEV subsystems will be converted as drivers of the new bus model. >> + It will imply some EAL API changes in 17.05. >> + >> +* ``eth_driver`` is planned to be removed in 17.05. This currently serves as >> a placeholder for PMDs to register themselves. Changes for ``rte_bus`` will >> provide a way to handle device initialization currently being done in >> - ``eth_driver``. >> + ``eth_driver``. Similarly, ``rte_pci_driver`` is planned to be removed from >> + ``rte_cryptodev_driver`` in 17.05. >> >> * ethdev: an API change is planned for 17.02 for the function >> ``_rte_eth_dev_callback_process``. In 17.02 the function will return an ``int`` >> -- >> 2.7.0 >> > > Acked-by: Jan Blunck <jblunck@infradead.org> > Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] doc: announce API changes to implement the bus model 2017-02-13 16:20 ` [PATCH v2] doc: announce API changes to implement the bus model Thomas Monjalon 2017-02-13 21:53 ` Jan Blunck @ 2017-02-14 0:33 ` Mcnamara, John 2017-02-14 18:57 ` Thomas Monjalon 2 siblings, 0 replies; 10+ messages in thread From: Mcnamara, John @ 2017-02-14 0:33 UTC (permalink / raw) To: Thomas Monjalon, dev@dpdk.org > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, February 13, 2017 4:21 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: announce API changes to implement the > bus model > > The new bus model has been proposed in 17.02 without being used. > The big rework should happen in 17.05. > > Suggested-by: Shreyansh Jain <shreyansh.jain@nxp.com> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: John McNamara <john.mcnamara@intel.com> ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH v2] doc: announce API changes to implement the bus model 2017-02-13 16:20 ` [PATCH v2] doc: announce API changes to implement the bus model Thomas Monjalon 2017-02-13 21:53 ` Jan Blunck 2017-02-14 0:33 ` Mcnamara, John @ 2017-02-14 18:57 ` Thomas Monjalon 2 siblings, 0 replies; 10+ messages in thread From: Thomas Monjalon @ 2017-02-14 18:57 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev Applied ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: add deprecation note for rework of PCI in EAL 2017-02-13 12:00 ` Shreyansh Jain 2017-02-13 14:44 ` Thomas Monjalon @ 2017-02-13 21:56 ` Jan Blunck 2017-02-14 5:18 ` Shreyansh Jain 1 sibling, 1 reply; 10+ messages in thread From: Jan Blunck @ 2017-02-13 21:56 UTC (permalink / raw) To: Shreyansh Jain; +Cc: dev, nhorman, Thomas Monjalon On Mon, Feb 13, 2017 at 1:00 PM, Shreyansh Jain <shreyansh.jain@nxp.com> wrote: > On Monday 13 February 2017 05:25 PM, Shreyansh Jain wrote: >> >> EAL PCI layer is planned to be restructured in 17.05 to unlink it from >> generic structures like eth_driver, rte_cryptodev_driver, and also move >> it into a PCI Bus. >> >> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> >> --- >> doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- >> 1 file changed, 8 insertions(+), 4 deletions(-) >> >> diff --git a/doc/guides/rel_notes/deprecation.rst >> b/doc/guides/rel_notes/deprecation.rst >> index fbe2fcb..b12d435 100644 >> --- a/doc/guides/rel_notes/deprecation.rst >> +++ b/doc/guides/rel_notes/deprecation.rst >> @@ -13,10 +13,14 @@ Deprecation Notices >> has exposed, like the way we have done with uio-pci-generic. This >> change >> targets release 17.05. >> >> -* ``eth_driver`` is planned to be removed in 17.02. This currently serves >> as >> - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` >> will >> - provide a way to handle device initialization currently being done in >> - ``eth_driver``. > > > Just to highlight, above statement was added by me in 16.11. > As of now I plan to work on removing rte_pci_driver from eth_driver, > rather than removing eth_driver all together (which, probably, was > better idea). > If someone still wishes to work on its complete removal, we can keep > the above. (and probably remove the below). > There is no benefit in keeping eth_driver and removing rte_pci_driver from it. Technically it isn't even needed today. > >> +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to >> + unlink EAL dependency on PCI and to move PCI devices to a PCI specific >> + bus. >> + >> +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in >> 17.05. >> + This is to unlink the ethernet driver from PCI dependencies. >> + Similarly, ``rte_pci_driver`` in planned to be removed from >> + ``rte_cryptodev_driver`` in 17.05. >> >> * In 17.02 ABI changes are planned: the ``rte_eth_dev`` structure will be >> extended with new function pointer ``tx_pkt_prepare`` allowing >> verification >> > ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] doc: add deprecation note for rework of PCI in EAL 2017-02-13 21:56 ` [PATCH] doc: add deprecation note for rework of PCI in EAL Jan Blunck @ 2017-02-14 5:18 ` Shreyansh Jain 0 siblings, 0 replies; 10+ messages in thread From: Shreyansh Jain @ 2017-02-14 5:18 UTC (permalink / raw) To: Jan Blunck; +Cc: dev, nhorman, Thomas Monjalon On Tuesday 14 February 2017 03:26 AM, Jan Blunck wrote: > On Mon, Feb 13, 2017 at 1:00 PM, Shreyansh Jain <shreyansh.jain@nxp.com> wrote: >> On Monday 13 February 2017 05:25 PM, Shreyansh Jain wrote: >>> >>> EAL PCI layer is planned to be restructured in 17.05 to unlink it from >>> generic structures like eth_driver, rte_cryptodev_driver, and also move >>> it into a PCI Bus. >>> >>> Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com> >>> --- >>> doc/guides/rel_notes/deprecation.rst | 12 ++++++++---- >>> 1 file changed, 8 insertions(+), 4 deletions(-) >>> >>> diff --git a/doc/guides/rel_notes/deprecation.rst >>> b/doc/guides/rel_notes/deprecation.rst >>> index fbe2fcb..b12d435 100644 >>> --- a/doc/guides/rel_notes/deprecation.rst >>> +++ b/doc/guides/rel_notes/deprecation.rst >>> @@ -13,10 +13,14 @@ Deprecation Notices >>> has exposed, like the way we have done with uio-pci-generic. This >>> change >>> targets release 17.05. >>> >>> -* ``eth_driver`` is planned to be removed in 17.02. This currently serves >>> as >>> - a placeholder for PMDs to register themselves. Changes for ``rte_bus`` >>> will >>> - provide a way to handle device initialization currently being done in >>> - ``eth_driver``. >> >> >> Just to highlight, above statement was added by me in 16.11. >> As of now I plan to work on removing rte_pci_driver from eth_driver, >> rather than removing eth_driver all together (which, probably, was >> better idea). >> If someone still wishes to work on its complete removal, we can keep >> the above. (and probably remove the below). >> > > There is no benefit in keeping eth_driver and removing rte_pci_driver > from it. Technically it isn't even needed today. I agree with you. I stopped working on it because I realized that removing it means making pci_probe call eth_dev_init handlers directly. Or, restructure the whole of pci probe stack - which, because of pending PCI bus implementation, was slightly tentative. Changes are already expected in EAL PCI code for bus movement, probably this task can be combined with that. > >> >>> +* ABI/API changes are planned for 17.05 for PCI subsystem. This is to >>> + unlink EAL dependency on PCI and to move PCI devices to a PCI specific >>> + bus. >>> + >>> +* ``rte_pci_driver`` is planned to be removed from ``eth_driver`` in >>> 17.05. >>> + This is to unlink the ethernet driver from PCI dependencies. >>> + Similarly, ``rte_pci_driver`` in planned to be removed from >>> + ``rte_cryptodev_driver`` in 17.05. >>> >>> * In 17.02 ABI changes are planned: the ``rte_eth_dev`` structure will be >>> extended with new function pointer ``tx_pkt_prepare`` allowing >>> verification >>> >> > ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-02-14 18:57 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-02-13 11:55 [PATCH] doc: add deprecation note for rework of PCI in EAL Shreyansh Jain 2017-02-13 12:00 ` Shreyansh Jain 2017-02-13 14:44 ` Thomas Monjalon 2017-02-13 16:20 ` [PATCH v2] doc: announce API changes to implement the bus model Thomas Monjalon 2017-02-13 21:53 ` Jan Blunck 2017-02-14 0:09 ` Hemant Agrawal 2017-02-14 0:33 ` Mcnamara, John 2017-02-14 18:57 ` Thomas Monjalon 2017-02-13 21:56 ` [PATCH] doc: add deprecation note for rework of PCI in EAL Jan Blunck 2017-02-14 5:18 ` Shreyansh Jain
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox