#
f78c100b |
| 01-Aug-2023 |
Stephen Hemminger <stephen@networkplumber.org> |
remove KNI
The KNI driver had design flaws such as calling userspace with kernel mutex held that made it prone to deadlock. The design also introduced security risks because the kernel driver truste
remove KNI
The KNI driver had design flaws such as calling userspace with kernel mutex held that made it prone to deadlock. The design also introduced security risks because the kernel driver trusted the userspace (DPDK) kni interface. The kernel driver was never reviewed by the upstream kernel community and would never have been accepted.
And since the Linux kernel API is not stable, it was a continual source of maintenance issues especially with distribution kernels.
There are better ways to inject packets into the kernel such as virtio_user, tap and XDP drivers. All of these do not need out of tree kernel drivers.
The deprecation was announced in 22.11 release (see links for the the techboard discussions); and users were directed to alternatives there.
Link: https://mails.dpdk.org/archives/dev/2021-January/197077.html Link: https://mails.dpdk.org/archives/dev/2022-June/243596.html
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
cf59165d |
| 20-Apr-2021 |
Bruce Richardson <bruce.richardson@intel.com> |
examples: reduce indentation in build files
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same t
examples: reduce indentation in build files
As with the lib and drivers directories, we can use "continue" keyword to reduce the indentation level of the majority of the foreach block. At the same time, we can also replace tab indentation with spaces.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
3495a68f |
| 12-Nov-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
examples: stop processing meson file if build impossible
Once it has been determined that an example cannot be built, there is little point in continuing to process the meson.build file for that exa
examples: stop processing meson file if build impossible
Once it has been determined that an example cannot be built, there is little point in continuing to process the meson.build file for that example, so we can use subdir_done() to return to the calling file. This can potentially prevent problems where later statement in the file may cause an error on systems where the app cannot be built, e.g. on Windows or FreeBSD.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
0c56257a |
| 25-Feb-2019 |
Bruce Richardson <bruce.richardson@intel.com> |
examples/ip_pipeline: disable build when no epoll
The ip_pipeline example requires the epoll.h header from linux, so disable building the example if the header cannot be found.
Fixes: 4bbf8e30aa5e
examples/ip_pipeline: disable build when no epoll
The ip_pipeline example requires the epoll.h header from linux, so disable building the example if the header cannot be found.
Fixes: 4bbf8e30aa5e ("examples/ip_pipeline: add CLI interface") Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
bd9b67a1 |
| 28-Sep-2018 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/ip_pipeline: add cryptodev
This patch adds symmetric crypto device abstraction to ip_pipeline sameple application.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dum
examples/ip_pipeline: add cryptodev
This patch adds symmetric crypto device abstraction to ip_pipeline sameple application.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
c0b668e0 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add threads
Add threads data structure and initialisation functions to run the pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasv
examples/ip_pipeline: add threads
Add threads data structure and initialisation functions to run the pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
d75c371e |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add pipeline object
Add pipeline object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <j
examples/ip_pipeline: add pipeline object
Add pipeline object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
71937434 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add action profile objects
Add action profile object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvi
examples/ip_pipeline: add action profile objects
Add action profile object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
9a408cc8 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add KNI object
Add kni object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.s
examples/ip_pipeline: add KNI object
Add kni object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
#
2f74ae28 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add tap object
Add tap object implementation to the application
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.si
examples/ip_pipeline: add tap object
Add tap object implementation to the application
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
#
25961ff3 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add traffic manager object
Add traffic manager object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasv
examples/ip_pipeline: add traffic manager object
Add traffic manager object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
8245472c |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add sw queue object
Add swq object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvin
examples/ip_pipeline: add sw queue object
Add swq object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
show more ...
|
#
133c2c65 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add link object
Add link object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder
examples/ip_pipeline: add link object
Add link object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
6bfe74f8 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add mempool object
Add mempool object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jas
examples/ip_pipeline: add mempool object
Add mempool object implementation to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
4bbf8e30 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: add CLI interface
CLI interface allowing connectivity with external agent (e.g. telnet, netcat, Python script, etc) is added to the application.
Signed-off-by: Cristian Dumitr
examples/ip_pipeline: add CLI interface
CLI interface allowing connectivity with external agent (e.g. telnet, netcat, Python script, etc) is added to the application.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
fbc74e66 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove infra code
All the actions associated with application pipelines tables and ports are now implemented using the new action APIs. Therefore, thousands of lines of code ar
examples/ip_pipeline: remove infra code
All the actions associated with application pipelines tables and ports are now implemented using the new action APIs. Therefore, thousands of lines of code are eliminated from the application. The reduced code size is easier to maintain and extend.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
b5e408ac |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove master pipeline
remove master pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
|
#
998eab30 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove firewall pipeline
Remove firewall pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
|
#
f3e51ca4 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove flow actions pipeline
Remove flow actions pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@i
examples/ip_pipeline: remove flow actions pipeline
Remove flow actions pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
71fd20a9 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove flow classification pipeline
Remove flow classification pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jas
examples/ip_pipeline: remove flow classification pipeline
Remove flow classification pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
ab3cd2be |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove routing pipeline
Remove routing pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
|
#
411a5df9 |
| 29-Mar-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: remove passthrough pipeline
remove passthrough pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@int
examples/ip_pipeline: remove passthrough pipeline
remove passthrough pipeline.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
show more ...
|
#
befc693a |
| 12-Mar-2018 |
Bruce Richardson <bruce.richardson@intel.com> |
examples: fix build with meson
The ip_pipeline and qos_meter example apps now use experimental APIs so this fact needs to be flagged in their meson.build files.
Fixes: c06ddf9698e0 ("meter: add con
examples: fix build with meson
The ip_pipeline and qos_meter example apps now use experimental APIs so this fact needs to be flagged in their meson.build files.
Fixes: c06ddf9698e0 ("meter: add configuration profile")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
6c9457c2 |
| 18-Dec-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
build: replace license text with SPDX tag
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Luca Boccassi <bluca@debian.org>
|
#
89f0711f |
| 12-Sep-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
examples: build some samples with meson
Add support for having selected example apps built as part of a meson, ninja build. By default none are built, and those to be built should be named directly
examples: build some samples with meson
Add support for having selected example apps built as part of a meson, ninja build. By default none are built, and those to be built should be named directly in the -Dexamples='' meson configuration argument.
This is useful for developers working on a feature who want to use a suitable example, or examples, to test that feature, as they can compile everything up in one go, and run the example without having to do a ninja install first.
This commit adds examples which don't consist of multiple apps in subdirectories to the meson build, so they can be built by default by passing -Dexamples parameter to meson.
Not included are the following examples: * ethtool * multi-process * netmap_compat * performance-thread * quota_watermark * server_node_efd * vm_power_manager
To test the apps added here, use the following command, merged to one line, to add them to your meson build (command to be run inside the build directory):
meson configure -Dexamples=bbdev_app,bond,cmdline,distributor,\ eventdev_pipeline_sw_pmd, exception_path,helloworld,\ ip_fragmentation,ip_pipeline,ip_reassembly, ipsec-secgw,\ ipv4_multicast,kni,l2fwd-cat,l2fwd-crypto,l2fwd-jobstats,\ l2fwd-keepalive,l2fwd,l3fwd-acl,l3fwd-power,l3fwd-vf,l3fwd,\ link_status_interrupt,load_balancer,packet_ordering,ptpclient,\ qos_meter,qos_sched,rxtx_callbacks,skeleton,tep_termination,\ timer,vhost,vhost_scsi,vmdq,vmdq_dcb
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Luca Boccassi <bluca@debian.org>
show more ...
|