#
89b5642d |
| 18-Oct-2024 |
Robin Jarry <rjarry@redhat.com> |
net: use IPv6 address structure for packet headers
The rte_ipv6_hdr uses ad-hoc uint8_t[16] arrays to represent addresses. Replace these arrays with the newly added rte_ipv6_addr structure. Adapt al
net: use IPv6 address structure for packet headers
The rte_ipv6_hdr uses ad-hoc uint8_t[16] arrays to represent addresses. Replace these arrays with the newly added rte_ipv6_addr structure. Adapt all code accordingly.
Signed-off-by: Robin Jarry <rjarry@redhat.com>
show more ...
|
#
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 ...
|
#
a8d0d473 |
| 15-Oct-2020 |
Bruce Richardson <bruce.richardson@intel.com> |
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruc
build: replace use of old build macros
Use the newer macros defined by meson in all DPDK source code, to ensure there are no errors when the old non-standard macros are removed.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> Acked-by: Rosen Xu <rosen.xu@intel.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
f41b5156 |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to TCP structure
Add 'rte_' prefix to structures: - rename struct tcp_hdr as struct rte_tcp_hdr.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemmin
net: add rte prefix to TCP structure
Add 'rte_' prefix to structures: - rename struct tcp_hdr as struct rte_tcp_hdr.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
a7c528e5 |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to IP structure
Add 'rte_' prefix to structures: - rename struct ipv4_hdr as struct rte_ipv4_hdr. - rename struct ipv6_hdr as struct rte_ipv6_hdr.
Signed-off-by: Olivier Matz <o
net: add rte prefix to IP structure
Add 'rte_' prefix to structures: - rename struct ipv4_hdr as struct rte_ipv4_hdr. - rename struct ipv6_hdr as struct rte_ipv6_hdr.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
35c10b58 |
| 30-Oct-2018 |
Cristian Dumitrescu <cristian.dumitrescu@intel.com> |
examples/ip_pipeline: add rule list per table
For each pipeline table, have the master thread maintain the list of rules that are currently stored in the table. This list allows the master thread to
examples/ip_pipeline: add rule list per table
For each pipeline table, have the master thread maintain the list of rules that are currently stored in the table. This list allows the master thread to handle table queries with minimal impact for the data plane threads: requests to read the current set of table rules are fully handled by the master thread with no involvement from data plane threads, requests to read the per table rule moving data (such as stats counters or timestamp associated with specific actions) are handled by the data plane threads through plain memory reads rather than key lookup.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
show more ...
|
#
e1884698 |
| 28-Sep-2018 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/ip_pipeline: configure crypto port
This patch adds symmetric crypto port configuration to ip_pipeline sample application.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Crist
examples/ip_pipeline: configure crypto port
This patch adds symmetric crypto port configuration to ip_pipeline sample application.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
show more ...
|
#
a5bd3a14 |
| 25-Sep-2018 |
Kevin Laatz <kevin.laatz@intel.com> |
examples/ip_pipeline: use table library headers
This commit modifies the IP Pipeline application to use the new header files in librte_table.
As we are now using the new header files, we can remove
examples/ip_pipeline: use table library headers
This commit modifies the IP Pipeline application to use the new header files in librte_table.
As we are now using the new header files, we can remove the old ones from the application directory.
Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com> Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Gavin Hu <gavin.hu@arm.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
show more ...
|
#
7959831b |
| 17-Apr-2018 |
Jasvinder Singh <jasvinder.singh@intel.com> |
examples/ip_pipeline: replace strncpy with strlcpy
The destination string may not have a null termination if the source string's length is equal to the sizeof.
Fix by replacing strncpy with strlcpy
examples/ip_pipeline: replace strncpy with strlcpy
The destination string may not have a null termination if the source string's length is equal to the sizeof.
Fix by replacing strncpy with strlcpy that guarantees NULL-termination.
[merged several commits]
Coverty issue: 272606 Fixes: d75c371e9b46 ("examples/ip_pipeline: add pipeline object") Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Coverty issue: 272594 Fixes: 133c2c6565d6 ("examples/ip_pipeline: add link object") Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Coverty issue: 272603 Fixes: 2f74ae28e23f ("examples/ip_pipeline: add tap object") Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Coverity issue: 272588 Fixes: 6bfe74f8c93e ("examples/ip_pipeline: add mempool object") Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
Coverity issue: 272592 Fixes: 25961ff3bcb9 ("examples/ip_pipeline: add traffic manager object") Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
Coverity issue: 272562 Fixes: 9a408cc8ac ("examples/ip_pipeline: add KNI object") Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
Coverity issue: 272580 Fixes: 719374345c ("examples/ip_pipeline: add action profile objects") Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
Coverity issue: 272572 Fixes: 719374345cee ("examples/ip_pipeline: add action profile objects") Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Coverity issue: 272563 Fixes: 8245472c58c8 ("examples/ip_pipeline: add sw queue object") Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Bruce Richardson <bruce.richardson@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 ...
|