| 401633d9 | 21-Oct-2019 |
Vladimir Medvedkin <vladimir.medvedkin@intel.com> |
ipsec: add inbound SAD API
According to RFC 4301 IPSec implementation needs an inbound SA database (SAD). For each incoming inbound IPSec-protected packet (ESP or AH) it has to perform a lookup with
ipsec: add inbound SAD API
According to RFC 4301 IPSec implementation needs an inbound SA database (SAD). For each incoming inbound IPSec-protected packet (ESP or AH) it has to perform a lookup within it's SAD. Lookup should be performed by: Security Parameters Index (SPI) + destination IP (DIP) + source IP (SIP) or SPI + DIP or SPI only and an implementation has to return the 'longest' existing match. This patch extend DPDK IPsec library with inbound security association database (SAD) API implementation that: - conforms to the RFC requirements above - can scale up to millions of entries - supports fast lookups - supports incremental updates
Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
| b53e6272 | 27-Sep-2019 |
Konstantin Ananyev <konstantin.ananyev@intel.com> |
doc: fix list of unsupported features in IPsec guide
List of unsupported features doesn't reflect latest changes.
Fixes: cd5b860c1851 ("ipsec: support header construction") Fixes: 2c1887fad075 ("ip
doc: fix list of unsupported features in IPsec guide
List of unsupported features doesn't reflect latest changes.
Fixes: cd5b860c1851 ("ipsec: support header construction") Fixes: 2c1887fad075 ("ipsec: fix transport mode for IPv6 with extensions")
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
show more ...
|
| f2b2a449 | 10-Oct-2019 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <a
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
| b21302a1 | 11-Oct-2019 |
Nipun Gupta <nipun.gupta@nxp.com> |
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having sa
eventdev: add Tx flag for packets with same destination
This patch introduces a `flag` in the Eth TX adapter enqueue API. Some drivers may support burst functionality only with the packets having same destination device and queue.
The flag `RTE_EVENT_ETH_TX_ADAPTER_ENQUEUE_SAME_DEST` can be used to indicate this so the underlying driver, for drivers to utilize burst functionality appropriately.
Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com> Acked-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
| 0e9d3de6 | 08-Oct-2019 |
Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> |
doc: describe token and resource retention in RCU guide
After calling rte_rcu_qsbr_start API, the token and the deleted resource need to be stored for subsequent query/free.
Fixes: 64994b56cfd7 ("r
doc: describe token and resource retention in RCU guide
After calling rte_rcu_qsbr_start API, the token and the deleted resource need to be stored for subsequent query/free.
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
| f50d9aad | 08-Oct-2019 |
Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> |
doc: remove wrong limitation in RCU guide
There is no limitation of 1024 reader threads.
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: stable@dpdk.org
Signed-off-by: H
doc: remove wrong limitation in RCU guide
There is no limitation of 1024 reader threads.
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
| 4831115f | 08-Oct-2019 |
Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> |
doc: proofread RCU guide
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: R
doc: proofread RCU guide
Fixes: 64994b56cfd7 ("rcu: add RCU library supporting QSBR mechanism") Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com> Reviewed-by: Gavin Hu <gavin.hu@arm.com>
show more ...
|
| 7911ba04 | 18-Oct-2019 |
Phil Yang <phil.yang@arm.com> |
stack: enable lock-free implementation for aarch64
Enable both C11 atomic and non C11 atomic lock-free stack for aarch64.
Introduced a new header to reduce the ifdef clutter across generic and C11
stack: enable lock-free implementation for aarch64
Enable both C11 atomic and non C11 atomic lock-free stack for aarch64.
Introduced a new header to reduce the ifdef clutter across generic and C11 files. The rte_stack_lf_stubs.h contains stub implementations of __rte_stack_lf_count, __rte_stack_lf_push_elems and __rte_stack_lf_pop_elems.
Suggested-by: Gage Eads <gage.eads@intel.com> Suggested-by: Jerin Jacob <jerinj@marvell.com> Signed-off-by: Phil Yang <phil.yang@arm.com> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Tested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
| b34801d1 | 12-Aug-2019 |
Xiaolong Ye <xiaolong.ye@intel.com> |
kni: support allmulticast mode set
This patch adds support to allow users enable/disable allmulticast mode for kni interface.
This requirement comes from bugzilla 312, more details can refer to: ht
kni: support allmulticast mode set
This patch adds support to allow users enable/disable allmulticast mode for kni interface.
This requirement comes from bugzilla 312, more details can refer to: https://bugs.dpdk.org/show_bug.cgi?id=312
Bugzilla ID: 312
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| 6861c010 | 03-Sep-2019 |
Jerin Jacob <jerinj@marvell.com> |
bpf/arm: add build infrastructure
Add build infrastructure and documentation update for arm64 JIT support.
Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Konstantin Ananyev <konstantin.a
bpf/arm: add build infrastructure
Add build infrastructure and documentation update for arm64 JIT support.
Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
show more ...
|
| 226c6e60 | 28-Aug-2019 |
Ying A Wang <ying.a.wang@intel.com> |
ethdev: add PPPoE to flow API
- RTE_FLOW_ITEM_TYPE_PPPOES: matches a PPPoE session header.
- RTE_FLOW_ITEM_TYPE_PPPOED: matches a PPPoE discovery header.
- RTE_FLOW_ITEM_TYPE_PPPOE_PROTO_ID: match
ethdev: add PPPoE to flow API
- RTE_FLOW_ITEM_TYPE_PPPOES: matches a PPPoE session header.
- RTE_FLOW_ITEM_TYPE_PPPOED: matches a PPPoE discovery header.
- RTE_FLOW_ITEM_TYPE_PPPOE_PROTO_ID: matches a PPPoE session protocol identifier.
Signed-off-by: Ying A Wang <ying.a.wang@intel.com> Acked-by: Ori Kam <orika@mellanox.com> Reviewed-by: Qi Zhang <qi.z.zhang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| 346553db | 28-Aug-2019 |
Ying A Wang <ying.a.wang@intel.com> |
ethdev: add GTP extension header to flow API
- RTE_FLOW_ITEM_TYPE_GTP_PSC: matches a GTP - RTE_FLOW_ITEM_TYPE_GTP_PSC: matches a GTP PDU extension header (PDU session container).
Signed-off-by: Y
ethdev: add GTP extension header to flow API
- RTE_FLOW_ITEM_TYPE_GTP_PSC: matches a GTP - RTE_FLOW_ITEM_TYPE_GTP_PSC: matches a GTP PDU extension header (PDU session container).
Signed-off-by: Ying A Wang <ying.a.wang@intel.com> Acked-by: Ori Kam <orika@mellanox.com> Reviewed-by: Qi Zhang <qi.z.zhang@intel.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| 79a0bbe5 | 29-Jul-2019 |
Anatoly Burakov <anatoly.burakov@intel.com> |
eal: pick IOVA as PA if IOMMU is not available
When IOMMU is not available, /sys/kernel/iommu_groups will not be populated. This is happening since at least 3.6 when VFIO support was added. If the d
eal: pick IOVA as PA if IOMMU is not available
When IOMMU is not available, /sys/kernel/iommu_groups will not be populated. This is happening since at least 3.6 when VFIO support was added. If the directory is empty, EAL should not pick IOVA as VA as the default IOVA mode.
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Tested-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: David Marchand <david.marchand@redhat.com>
show more ...
|
| 68bb77e9 | 17-Jul-2019 |
Dekel Peled <dekelp@mellanox.com> |
doc: fix ethernet addresses in flow API guide
Ethernet address examples contain 5 bytes only. This patch changes the examples to valid 6 bytes Ethernet addresses.
Fixes: 4d73b6fb9907 ("doc: add gen
doc: fix ethernet addresses in flow API guide
Ethernet address examples contain 5 bytes only. This patch changes the examples to valid 6 bytes Ethernet addresses.
Fixes: 4d73b6fb9907 ("doc: add generic flow API guide") Cc: stable@dpdk.org
Signed-off-by: Dekel Peled <dekelp@mellanox.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| bbe29a9b | 22-Jul-2019 |
Jerin Jacob <jerinj@marvell.com> |
eal/linux: select IOVA as VA mode for default case
When bus layer reports the preferred mode as RTE_IOVA_DC then select the RTE_IOVA_VA mode:
- All drivers work in RTE_IOVA_VA mode, irrespective of
eal/linux: select IOVA as VA mode for default case
When bus layer reports the preferred mode as RTE_IOVA_DC then select the RTE_IOVA_VA mode:
- All drivers work in RTE_IOVA_VA mode, irrespective of physical address availability.
- By default, a mempool asks for IOVA-contiguous memory using RTE_MEMZONE_IOVA_CONTIG. This is slow in RTE_IOVA_PA mode and it may affect the application boot time.
Signed-off-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
show more ...
|
| b76fafb1 | 22-Jul-2019 |
David Marchand <david.marchand@redhat.com> |
eal: fix IOVA mode selection as VA for PCI drivers
The incriminated commit broke the use of RTE_PCI_DRV_IOVA_AS_VA which was intended to mean "driver only supports VA" but had been understood as "dr
eal: fix IOVA mode selection as VA for PCI drivers
The incriminated commit broke the use of RTE_PCI_DRV_IOVA_AS_VA which was intended to mean "driver only supports VA" but had been understood as "driver supports both PA and VA" by most net drivers and used to let dpdk processes to run as non root (which do not have access to physical addresses on recent kernels).
The check on physical addresses actually closed the gap for those drivers. We don't need to mark them with RTE_PCI_DRV_IOVA_AS_VA and this flag can retain its intended meaning. Document explicitly its meaning.
We can check that a driver requirement wrt to IOVA mode is fulfilled before trying to probe a device.
Finally, document the heuristic used to select the IOVA mode and hope that we won't break it again.
Fixes: 703458e19c16 ("bus/pci: consider only usable devices for IOVA mode")
Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Tested-by: Jerin Jacob <jerinj@marvell.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
| 1525374a | 15-Jul-2019 |
Adam Dybkowski <adamx.dybkowski@intel.com> |
doc: update compressdev guide
This patch updates the constant names and function names used in code snippets in the Compression Device Library documentation.
Signed-off-by: Adam Dybkowski <adamx.dy
doc: update compressdev guide
This patch updates the constant names and function names used in code snippets in the Compression Device Library documentation.
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
| 15a9ef84 | 18-Jul-2019 |
Thomas Monjalon <thomas@monjalon.net> |
doc: fix PDF build of bbdev prog guide
Some machine (like on dpdk.org) may fail to build the prog guide PDF because of a table characher being "+" instead of "|".
Some figure references are also fi
doc: fix PDF build of bbdev prog guide
Some machine (like on dpdk.org) may fail to build the prog guide PDF because of a table characher being "+" instead of "|".
Some figure references are also fixed with automatic numbering.
Fixes: 3f3f608142cf ("doc: update bbdev guide for 5GNR operations")
Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com>
show more ...
|
| 44dc7c0a | 11-Jul-2019 |
Harman Kalra <hkalra@marvell.com> |
metrics: add function to deinitialise library
Once the library usage is over, it must be deinitialized which will free the shared memory reserved during initialization.
Observed an issue while runn
metrics: add function to deinitialise library
Once the library usage is over, it must be deinitialized which will free the shared memory reserved during initialization.
Observed an issue while running 'metrics_autotest' continuously without quiting. For the first run 'metrics_autotest' passes all test cases but second run onwards first test case fails because metrics library is already initialized during first run.
Signed-off-by: Harman Kalra <hkalra@marvell.com> Acked-by: Remy Horton <remy.horton@intel.com> Acked-by: Reshma Pattan <reshma.pattan@intel.com>
show more ...
|
| 5eb1708e | 25-Jun-2019 |
Yangchao Zhou <zhouyates@gmail.com> |
kni: fix kernel crash with multi-segments
va2pa depends on the physical address and virtual address offset of current mbuf. It may get the wrong physical address of next mbuf which allocated in anot
kni: fix kernel crash with multi-segments
va2pa depends on the physical address and virtual address offset of current mbuf. It may get the wrong physical address of next mbuf which allocated in another hugepage segment.
In rte_mempool_populate_default(), trying to allocate whole block of contiguous memory could be failed. Then, it would reserve memory in several memzones that have different physical address and virtual address offsets. The rte_mempool_populate_default() is used by rte_pktmbuf_pool_create().
Fixes: 8451269e6d7b ("kni: remove continuous memory restriction") Cc: stable@dpdk.org
Signed-off-by: Yangchao Zhou <zhouyates@gmail.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| 89247e1a | 24-Jun-2019 |
Stephen Hemminger <stephen@networkplumber.org> |
doc: update KNI guides
Update KNI documentation to reflect current ethtool support.
Replace references to out dated tools (ifconfig) with modern iproute2. Tshark is a better replacement for tcpdum
doc: update KNI guides
Update KNI documentation to reflect current ethtool support.
Replace references to out dated tools (ifconfig) with modern iproute2. Tshark is a better replacement for tcpdump.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
| 3374db18 | 05-Jul-2019 |
Xiaoyu Min <jackmin@mellanox.com> |
ethdev: add GRE key field to flow API
Add new rte_flow_item_gre_key in order to match the optional key field.
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com> Acked-by: Ori Kam <orika@mellanox.com>
ethdev: add GRE key field to flow API
Add new rte_flow_item_gre_key in order to match the optional key field.
Signed-off-by: Xiaoyu Min <jackmin@mellanox.com> Acked-by: Ori Kam <orika@mellanox.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
show more ...
|
| 566d66aa | 04-Jun-2019 |
Xiaolong Ye <xiaolong.ye@intel.com> |
doc: fix a grammar mistake in rawdev guide
Fixes: a9bb0c44c775 ("doc: add rawdev library guide and doxygen page") Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: Jo
doc: fix a grammar mistake in rawdev guide
Fixes: a9bb0c44c775 ("doc: add rawdev library guide and doxygen page") Cc: stable@dpdk.org
Signed-off-by: Xiaolong Ye <xiaolong.ye@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
show more ...
|
| 3f3f6081 | 03-Jul-2019 |
Nicolas Chautru <nicolas.chautru@intel.com> |
doc: update bbdev guide for 5GNR operations
The documentation captures the related change in BBDEV API to support 5GNR encode/decode operations.
Signed-off-by: Nicolas Chautru <nicolas.chautru@inte
doc: update bbdev guide for 5GNR operations
The documentation captures the related change in BBDEV API to support 5GNR encode/decode operations.
Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com> Acked-by: Amr Mokhtar <amr.mokhtar@intel.com>
show more ...
|
| e95291f0 | 31-May-2019 |
Konstantin Ananyev <konstantin.ananyev@intel.com> |
ipsec: support multi-segment packets
Add support for packets that consist of multiple segments. Take into account that trailer bytes (padding, ESP tail, ICV) can spawn across multiple segments.
Sig
ipsec: support multi-segment packets
Add support for packets that consist of multiple segments. Take into account that trailer bytes (padding, ESP tail, ICV) can spawn across multiple segments.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|