examples/kni: remove deprecated kni example
PATCH 1/1 examples/kni: remove deprecated kni example
As part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
--- doc/guides/rel_notes/deprecation.rst | 1 - doc/guides/sample_app_ug/index.rst | 1 - .../sample_app_ug/kernel_nic_interface.rst | 318 ----- examples/kni/Makefile | 52 - examples/kni/main.c | 1140 ----------------- examples/kni/meson.build | 13 - examples/meson.build | 1 - 7 files changed, 1526 deletions(-) delete mode 100644 doc/guides/sample_app_ug/kernel_nic_interface.rst delete mode 100644 examples/kni/Makefile delete mode 100644 examples/kni/main.c delete mode 100644 examples/kni/meson.build
doc/guides/rel_notes/deprecation.rst +0 -1
@@ -70,7 +70,6 @@ Deprecation Notices and `refinement <http://mails.dpdk.org/archives/dev/2022-June/243596.html>`_: * Some deprecation warnings will be added in DPDK 22.11. - * The KNI example application will be removed from DPDK 22.11. * The KNI kernel module, library and PMD will be removed from the DPDK 23.11. * lib: will fix extending some enum/define breaking the ABI. There are multiple
doc/guides/sample_app_ug/index.rst +0 -1
@@ -20,7 +20,6 @@ Sample Applications User Guides ip_frag ipv4_multicast ip_reassembly - kernel_nic_interface keep_alive dma l2_forward_crypto
doc/guides/sample_app_ug/kernel_nic_interface.rst deleted +0 -318
318 lines not on this page · raw message
examples/kni/Makefile deleted +0 -52
52 lines not on this page · raw message
examples/kni/main.c deleted +0 -1140
1,140 lines not on this page · raw message
examples/kni/meson.build deleted +0 -13
@@ -1,13 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2017 Intel Corporation - -# meson file, for building this example as part of a main DPDK build. -# -# To build this example as a standalone application with an already-installed -# DPDK instance, use 'make' - -deps += ['kni', 'bus_pci'] -sources = files( - 'main.c', -) -allow_experimental_apis = true
examples/meson.build +0 -1
@@ -24,7 +24,6 @@ all_examples = [ 'ip_reassembly', 'ipsec-secgw', 'ipv4_multicast', - 'kni', 'l2fwd', 'l2fwd-cat', 'l2fwd-crypto',
Signature · 1 line
2.34.1
Quoted 4 lines · On Tue, 20 Sep 2022 16:14:53 +0100 Bruce Richardson…
As part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
Signed-off-by Bruce Richardson <[email protected]>
And as expected, no one will notice until it is gone!
PATCH v2 1/1 examples/kni: remove deprecated kni example
In reply to Bruce RichardsonAs part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
---
V2: Correct old release note links to KNI guide by referencing older doc
--- doc/guides/rel_notes/deprecation.rst | 1 - doc/guides/rel_notes/release_18_11.rst | 4 +- doc/guides/sample_app_ug/index.rst | 1 - .../sample_app_ug/kernel_nic_interface.rst | 318 ----- examples/kni/Makefile | 52 - examples/kni/main.c | 1140 ----------------- examples/kni/meson.build | 13 - examples/meson.build | 1 - 8 files changed, 2 insertions(+), 1528 deletions(-) delete mode 100644 doc/guides/sample_app_ug/kernel_nic_interface.rst delete mode 100644 examples/kni/Makefile delete mode 100644 examples/kni/main.c delete mode 100644 examples/kni/meson.build
doc/guides/rel_notes/deprecation.rst +0 -1
@@ -70,7 +70,6 @@ Deprecation Notices and `refinement <http://mails.dpdk.org/archives/dev/2022-June/243596.html>`_: * Some deprecation warnings will be added in DPDK 22.11. - * The KNI example application will be removed from DPDK 22.11. * The KNI kernel module, library and PMD will be removed from the DPDK 23.11. * lib: will fix extending some enum/define breaking the ABI. There are multiple
doc/guides/rel_notes/release_18_11.rst +2 -2
@@ -265,7 +265,7 @@ New Features carrier state is set to ``on`` via ``rte_kni_update_link`` or by writing ``1`` to ``/sys/devices/virtual/net/<iface>/carrier``. In previous versions the default carrier state was left undefined. - See :doc:`../prog_guide/kernel_nic_interface` for more information. + See `Kernel NIC Interface <https://doc.dpdk.org/guides-18.11/sample_app_ug/kernel_nic_interface.html>`_ for more information. Also added the new API function ``rte_kni_update_link()`` to allow the user to set the carrier state of the KNI kernel network interface.
@@ -273,7 +273,7 @@ New Features Also added a new command line flag ``-m`` to the KNI sample application to monitor and automatically reflect the physical NIC carrier state to the KNI kernel network interface with the new ``rte_kni_update_link()`` API. - See :doc:`../sample_app_ug/kernel_nic_interface` for more information. + See `Kernel NIC Interface <https://doc.dpdk.org/guides-18.11/sample_app_ug/kernel_nic_interface.html>`_ for more information. * **Added ability to switch queue deferred start flag on testpmd app.**
doc/guides/sample_app_ug/index.rst +0 -1
@@ -20,7 +20,6 @@ Sample Applications User Guides ip_frag ipv4_multicast ip_reassembly - kernel_nic_interface keep_alive dma l2_forward_crypto
doc/guides/sample_app_ug/kernel_nic_interface.rst deleted +0 -318
318 lines not on this page · raw message
examples/kni/Makefile deleted +0 -52
52 lines not on this page · raw message
examples/kni/main.c deleted +0 -1140
1,140 lines not on this page · raw message
examples/kni/meson.build deleted +0 -13
@@ -1,13 +0,0 @@ -# SPDX-License-Identifier: BSD-3-Clause -# Copyright(c) 2017 Intel Corporation - -# meson file, for building this example as part of a main DPDK build. -# -# To build this example as a standalone application with an already-installed -# DPDK instance, use 'make' - -deps += ['kni', 'bus_pci'] -sources = files( - 'main.c', -) -allow_experimental_apis = true
examples/meson.build +0 -1
@@ -24,7 +24,6 @@ all_examples = [ 'ip_reassembly', 'ipsec-secgw', 'ipv4_multicast', - 'kni', 'l2fwd', 'l2fwd-cat', 'l2fwd-crypto',
--
2.34.1
20/09/2022 17:51, Bruce Richardson:
Quoted 6 lines
As part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
Signed-off-by Bruce Richardson <[email protected]>---
V2: Correct old release note links to KNI guide by referencing older doc
Applied, thanks.
Quoted 4 lines · On Mon, 03 Oct 2022 18:11:08 +0200 Thomas Monjalon <[email protected]> wrote:
20/09/2022 17:51, Bruce Richardson:
Quoted 3 lines
As part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
Quoted 8 lines
Quoted 3 lines
Signed-off-by Bruce Richardson <[email protected]>---
V2: Correct old release note links to KNI guide by referencing older docAcked-by Thomas Monjalon <[email protected]>Applied, thanks.
What about many of the other places that refer or use KNI? The packet framework, port library and ip_pipeline all have kni hooks.
03/10/2022 18:47, Stephen Hemminger:
Quoted 11 lines
Quoted 8 lines · On Mon, 03 Oct 2022 18:11:08 +0200 Thomas Monjalon <[email protected]> wrote:
20/09/2022 17:51, Bruce Richardson:
Quoted 6 lines
As part of the agreed process for deprecating KNI in DPDK, the example app is scheduled for removal as part of the 22.11 release.
Signed-off-by Bruce Richardson <[email protected]>---
V2: Correct old release note links to KNI guide by referencing older doc
Quoted 7 lines
Quoted 4 lines
Acked-by Thomas Monjalon <[email protected]>Applied, thanks.
What about many of the other places that refer or use KNI? The packet framework, port library and
ip_pipelineall have kni hooks.
This was only removing the example.
Someone needs to work on the other parts.
And we should add some warning at build time and runtime for KNI in this release 22.11, as announced in the deprecation page.
Volunteer?