Skip to contentSkip to conversation

doc: announce the deprecation of legacy virtio support

PATCH Superseded [email protected] 5 participants 10 messages May 23, 2020 – May 26, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: announce the deprecation of legacy virtio support

From: Jerin Jacob <[email protected]>

The legacy virtio is not architecture agnostics.
It relies on x86 IO port scheme support for its working.
The legacy virtio is only the consumer of RTE_KDRV_NONE in the DPDK PCI subsystem. Legacy virtio deprecation will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Deprecation is planned for v20.08 release.

More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -0
index cf8b1eb7b..d2907e32f 100644
@@ -107,3 +107,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* virtio: The legacy virtio is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio deprecation will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Deprecation is planned for v20.08 release.
+  More details at http://patches.dpdk.org/patch/69351/
Signature · 1 line
2.26.2
#1 lore raw

23/05/2020 16:07, [email protected]:

Quoted 19 lines

From: Jerin Jacob <[email protected]>

The legacy virtio is not architecture agnostics.
It relies on x86 IO port scheme support for its working.
The legacy virtio is only the consumer of RTE_KDRV_NONE in the DPDK PCI subsystem. Legacy virtio deprecation will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Deprecation is planned for v20.08 release.

More details at http://patches.dpdk.org/patch/69351/

---

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 116

Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +6 -0
+* virtio: The legacy virtio is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio deprecation will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Deprecation is planned for v20.08 release.

What means deprecation exactly?
When the feature is going to be removed?

Quoted 1 line

+ More details at http://patches.dpdk.org/patch/69351/

#2 lore raw
Quoted 15 lines · Thomas Monjalon

23/05/2020 16:07, [email protected]:

Quoted 13 lines

From: Jerin Jacob <[email protected]>

The legacy virtio is not architecture agnostics.
It relies on x86 IO port scheme support for its working.
The legacy virtio is only the consumer of RTE_KDRV_NONE in the DPDK PCI subsystem. Legacy virtio deprecation will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Deprecation is planned for v20.08 release.

More details at http://patches.dpdk.org/patch/69351/

Quoted 15 lines

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 116

Quoted 12 lines

---

doc/guides/rel_notes/deprecation.rst +6 -0
+* virtio: The legacy virtio is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio deprecation will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Deprecation is planned for v20.08 release.

What means deprecation exactly?
When the feature is going to be removed?

I will change the wording. I think, we can target the removal in 20.11 release.

Quoted 5 lines
Quoted 2 lines

+ More details at http://patches.dpdk.org/patch/69351/

#3 lore raw

PATCH v2 1/1 doc: announce the removal of legacy virtio support

In reply to [email protected]

From: Jerin Jacob <[email protected]>

The legacy virtio feature is not architecture agnostics. It relies on x86 IO port scheme support for its working.

The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem. Legacy virtio removal will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Legacy virtio feature removal is planned in the v20.11 release.

More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -0
index cf8b1eb7b..79a03432c 100644
@@ -107,3 +107,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* virtio: The legacy virtio feature is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio removal will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Legacy virtio feature removal is planned in the v20.11 release.
+  More details at http://patches.dpdk.org/patch/69351/
Signature · 1 line
2.26.2
#4 lore raw

Re: [dpdk-dev] [PATCH v2] doc: announce the removal of legacy virtio support

Hi Jerrin,

I think what was agreed wasn't to remove Legacy Virtio support, but instead remove support for probing legacy Virtio devices when they are not bound to any Kernel drivers.

It should still be possible to use these legacy Virtio devices when bound to VFIO or UIO.

Regards,
Maximle

Quoted 38 lines · On 5/25/20 7:46 AM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

The legacy virtio feature is not architecture agnostics. It relies on x86 IO port scheme support for its working.

The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem. Legacy virtio removal will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Legacy virtio feature removal is planned in the v20.11 release.

More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -0
index cf8b1eb7b..79a03432c 100644
@@ -107,3 +107,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* virtio: The legacy virtio feature is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio removal will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Legacy virtio feature removal is planned in the v20.11 release.
+  More details at http://patches.dpdk.org/patch/69351/
#5 lore raw

Re: [dpdk-dev] [PATCH v2] doc: announce the removal of legacy virtio support

Quoted 2 lines · Maxime Coquelin

Hi Jerrin,

Hi Maxime,

Quoted 7 lines

I think what was agreed wasn't to remove Legacy Virtio support, but instead remove support for probing legacy Virtio devices when they are not bound to any Kernel drivers.

It should still be possible to use these legacy Virtio devices when bound to VFIO or UIO.

I was not aware that legacy virtio can be used with VFIO or UIO. I will send the v3.

Quoted 44 lines

Regards,
Maximle

Quoted 38 lines · On 5/25/20 7:46 AM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

The legacy virtio feature is not architecture agnostics. It relies on x86 IO port scheme support for its working.

The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem. Legacy virtio removal will also optimize DPDK PCI enumeration management as it does not need to probe RTE_KDRV_NONE based devices anymore.

Legacy virtio feature removal is planned in the v20.11 release.

More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -0
index cf8b1eb7b..79a03432c 100644
@@ -107,3 +107,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* virtio: The legacy virtio feature is not architecture agnostics.
+  It relies on x86 IO port scheme support for its working.
+  The legacy virtio is only the consumer of RTE_KDRV_NONE in DPDK PCI subsystem.
+  Legacy virtio removal will also optimize DPDK PCI enumeration management as
+  it does not need to probe RTE_KDRV_NONE based devices anymore.
+  Legacy virtio feature removal is planned in the v20.11 release.
+  More details at http://patches.dpdk.org/patch/69351/
#6 lore raw

PATCH v3 1/1 doc: announce the removal of RTE_KDRV_NONE based probe

In reply to [email protected]

From: Jerin Jacob <[email protected]>

In order to optimize the DPDK PCI enumeration management, RTE_KDRV_NONE based device driver probing will be removed in v20.08.
The legacy virtio is the only consumer of RTE_KDRV_NONE based device driver probe scheme.
The legacy virtio support will be available through existing VFIO/UIO based kernel driver scheme.
More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +8 -0
index 2d11bae93..c7fb368ff 100644
@@ -132,3 +132,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* pci: Remove ``RTE_KDRV_NONE`` based device driver probing.
+  In order to optimize the DPDK PCI enumeration management, ``RTE_KDRV_NONE``
+  based device driver probing will be removed in v20.08.
+  The legacy virtio is the only consumer of ``RTE_KDRV_NONE`` based device
+  driver probe scheme. The legacy virtio support will be available through
+  the existing VFIO/UIO based kernel driver scheme.
+  More details at http://patches.dpdk.org/patch/69351/
Signature · 1 line
2.26.2
Acked-by on v3 1/1
#7 lore raw

Re: [dpdk-dev] [PATCH v3] doc: announce the removal of RTE_KDRV_NONE based probe

Quoted 24 lines · On 5/25/20 10:15 AM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

In order to optimize the DPDK PCI enumeration management, RTE_KDRV_NONE based device driver probing will be removed in v20.08.
The legacy virtio is the only consumer of RTE_KDRV_NONE based device driver probe scheme.
The legacy virtio support will be available through existing VFIO/UIO based kernel driver scheme.
More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +0 -0
index 2d11bae93..c7fb368ff 100644
@@ -132,3 +132,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 142

Quoted 10 lines
doc/guides/rel_notes/deprecation.rst +8 -0
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* pci: Remove ``RTE_KDRV_NONE`` based device driver probing.
+  In order to optimize the DPDK PCI enumeration management, ``RTE_KDRV_NONE``
+  based device driver probing will be removed in v20.08.
+  The legacy virtio is the only consumer of ``RTE_KDRV_NONE`` based device
+  driver probe scheme. The legacy virtio support will be available through
+  the existing VFIO/UIO based kernel driver scheme.
+  More details at http://patches.dpdk.org/patch/69351/

Thanks,
Maxime

Acked-by
#8 lore raw

Re: [dpdk-dev] [PATCH v3] doc: announce the removal of RTE_KDRV_NONE based probe

Quoted 31 lines · Maxime Coquelin
Quoted 28 lines · On 5/25/20 10:15 AM, [email protected] wrote:

From: Jerin Jacob <[email protected]>

In order to optimize the DPDK PCI enumeration management, RTE_KDRV_NONE based device driver probing will be removed in v20.08.
The legacy virtio is the only consumer of RTE_KDRV_NONE based device driver probe scheme.
The legacy virtio support will be available through existing VFIO/UIO based kernel driver scheme.
More details at http://patches.dpdk.org/patch/69351/

---
 doc/guides/rel_notes/deprecation.rst | 8 ++++++++
 1 file changed, 8 insertions(+)
doc/guides/rel_notes/deprecation.rst +3 -0
index 2d11bae93..c7fb368ff 100644
@@ -132,3 +132,11 @@ Deprecation Notices
   Python 2 support will be completely removed in 20.11.
   In 20.08, explicit deprecation warnings will be displayed when running
   scripts with Python 2.
+
+* pci: Remove ``RTE_KDRV_NONE`` based device driver probing.
+  In order to optimize the DPDK PCI enumeration management, ``RTE_KDRV_NONE``
Quoted 8 lines

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 142

Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +5 -0
+  based device driver probing will be removed in v20.08.
+  The legacy virtio is the only consumer of ``RTE_KDRV_NONE`` based device
+  driver probe scheme. The legacy virtio support will be available through
+  the existing VFIO/UIO based kernel driver scheme.
+  More details at http://patches.dpdk.org/patch/69351/
Acked-by Applied
#9 lore raw

Re: [dpdk-dev] [PATCH v3] doc: announce the removal of RTE_KDRV_NONE based probe

26/05/2020 16:44, Olivier Matz:

Quoted 11 lines · Maxime Coquelin
Quoted 10 lines · On 5/25/20 10:15 AM, [email protected] wrote:
Quoted 9 lines

From: Jerin Jacob <[email protected]>

In order to optimize the DPDK PCI enumeration management, RTE_KDRV_NONE based device driver probing will be removed in v20.08.
The legacy virtio is the only consumer of RTE_KDRV_NONE based device driver probe scheme.
The legacy virtio support will be available through existing VFIO/UIO based kernel driver scheme.
More details at http://patches.dpdk.org/patch/69351/

[...]

Quoted 13 lines
Quoted 4 lines
Quoted 4 lines
doc/guides/rel_notes/deprecation.rst +2 -0
+* pci: Remove ``RTE_KDRV_NONE`` based device driver probing.
+  In order to optimize the DPDK PCI enumeration management, ``RTE_KDRV_NONE``
Quoted 8 lines

doc/guides/rel_notes/deprecation.rst Deprecation Notices · line 142

Quoted 6 lines
doc/guides/rel_notes/deprecation.rst +5 -0
+  based device driver probing will be removed in v20.08.
+  The legacy virtio is the only consumer of ``RTE_KDRV_NONE`` based device
+  driver probe scheme. The legacy virtio support will be available through
+  the existing VFIO/UIO based kernel driver scheme.
+  More details at http://patches.dpdk.org/patch/69351/
Quoted 1 line

Applied, thanks