When data length passed to the PMD was zero,
the PMD was trying to get more data from a non-existent
next segment.
Fixes: 9c2a5775c028 ("crypto/aesni_gcm: migrate from MB library to ISA-L")
Cc: sta...@dpdk.org
Signed-off-by: Pablo de Lara
---
drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 2 +-
1 f
On 8/10/2017 10:23 PM, Jerin Jacob wrote:
-Original Message-
Date: Wed, 9 Aug 2017 19:24:30 +
From: "Eads, Gage"
Makes sense. Are you thinking the helper function would do stop + reconfig with
additional port + start + setup port, or just setup the port with an ID the app
supplies
On Sat, Aug 12, 2017 at 02:19:45PM -0400, Neil Horman wrote:
> On Fri, Aug 11, 2017 at 09:29:24PM +0100, Bruce Richardson wrote:
> > On Wed, Aug 09, 2017 at 04:21:32PM -0400, Neil Horman wrote:
> > > Can anyone point out to me when and where the change to require SSE4.2 was
> > > dicussed? The fir
Signed-off-by: Bruce Richardson
---
meson.build | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 8383d23b5..d7acf174d 100644
--- a/meson.build
+++ b/meson.build
@@ -36,9 +36,10 @@ project('DPDK', 'C',
meson_version: '>=
Following on from previous RFC [http://dpdk.org/dev/patchwork/patch/25104/]
here is a second draft implementation for building DPDK with meson and
ninja. While still not building all of DPDK, and needing patch cleanup so
that patches don't overwrite previous work, it is more complete in many
ways t
Signed-off-by: Bruce Richardson
---
config/meson.build | 47 ++
config/rte_config.h| 50 +
config/x86/meson.build | 68 ++
meson.build| 60 ++
Signed-off-by: Bruce Richardson
---
config/meson.build | 24 +++-
config/rte_config.h| 9 +++
config/x86/meson.build | 2 +
lib/librte_eal/common/arch/meson.build | 33 ++
lib/lib
Signed-off-by: Bruce Richardson
---
lib/librte_eal/bsdapp/eal/meson.build | 58 +++
lib/librte_eal/bsdapp/meson.build | 32 +++
lib/librte_eal/meson.build| 2 ++
3 files changed, 92 insertions(+)
create mode 100644 lib/librte_eal/b
Signed-off-by: Bruce Richardson
---
config/rte_config.h| 14 ++
lib/librte_cmdline/meson.build | 63 ++
lib/librte_compat/meson.build | 35 +++
lib/librte_ether/meson.build | 49
li
Signed-off-by: Bruce Richardson
---
config/rte_config.h | 14
drivers/meson.build | 32 ++
drivers/net/i40e/base/meson.build | 55 ++
drivers/net/i40e/meson.build | 70 +++
dr
Signed-off-by: Bruce Richardson
---
drivers/net/i40e/meson.build | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/meson.build b/drivers/net/i40e/meson.build
index 1e23e0820..a6d0bf4e4 100644
--- a/drivers/net/i40e/meson.build
+++ b/drivers/net/i40e/mes
Signed-off-by: Bruce Richardson
---
buildtools/meson.build| 32 +
buildtools/pmdinfogen/meson.build | 43 +++
meson.build | 1 +
3 files changed, 76 insertions(+)
create mode 100644 buildtools/meso
Signed-off-by: Bruce Richardson
---
meson.build | 1 +
usertools/meson.build | 32
2 files changed, 33 insertions(+)
create mode 100644 usertools/meson.build
diff --git a/meson.build b/meson.build
index a0ab08252..717ec070d 100644
--- a/meson.build
++
Signed-off-by: Bruce Richardson
---
buildtools/gen-pmdinfo-cfile.sh| 45 ++
buildtools/meson.build | 2 ++
drivers/net/i40e/meson.build | 30 -
lib/librte_cmdline/meson.build | 17 ++
Move the logic for generating the pmdinfo file and the driver library
itself to the meson.build file at the driver/net level, to avoid
duplicating code.
Signed-off-by: Bruce Richardson
---
drivers/net/i40e/base/meson.build | 2 +-
drivers/net/i40e/meson.build | 31 -
rather than using the compiler to generate a temporary .o file, get meson
to do it, so we don't need to track dpdk includes directly, and pass in a
range of parameters
Signed-off-by: Bruce Richardson
---
buildtools/gen-pmdinfo-cfile.sh| 14 +-
drivers/net/i40e/meson.b
Signed-off-by: Bruce Richardson
---
config/rte_config.h | 1 -
drivers/net/i40e/meson.build | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/rte_config.h b/config/rte_config.h
index 5b687bb8e..67028f682 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
Driver should not need to specify that they depend on EAL, mempool, mbuf
etc., since all drivers are likely to depend on those. Instead, have it
that drivers only need to append to the deps array any extra dependencies
they have.
Signed-off-by: Bruce Richardson
---
drivers/net/i40e/meson.build
Signed-off-by: Bruce Richardson
---
drivers/net/ixgbe/base/meson.build | 59
drivers/net/ixgbe/meson.build | 61 ++
drivers/net/meson.build| 5 ++--
3 files changed, 123 insertions(+), 2 deletions(-)
creat
Signed-off-by: Bruce Richardson
---
drivers/net/af_packet/meson.build | 32
drivers/net/meson.build | 5 +
2 files changed, 37 insertions(+)
create mode 100644 drivers/net/af_packet/meson.build
diff --git a/drivers/net/af_packet/meson.build
b/dri
Signed-off-by: Bruce Richardson
---
drivers/net/meson.build | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index f64ab07f7..2358194e0 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -74,12 +74,17 @@
now each library just has to specify it's source files, header files and
dependencies, and the higher level lib directory will take care of the
rest. Special case for eal, which is not just in one subdir, and is more
complicated. It is also used sometimes by e.g. base code drivers, so give
it it's
Signed-off-by: Bruce Richardson
---
drivers/net/meson.build | 13 ++---
drivers/net/pcap/meson.build | 38 ++
2 files changed, 48 insertions(+), 3 deletions(-)
create mode 100644 drivers/net/pcap/meson.build
diff --git a/drivers/net/meson.build b
Also rename the ether library to ethdev to maintain backwards compatibility
Signed-off-by: Bruce Richardson
---
drivers/net/meson.build| 2 ++
lib/librte_cmdline/meson.build | 1 +
lib/librte_ether/meson.build | 1 +
lib/librte_hash/meson.build| 1 +
lib/librte_kvargs/meson.bui
Signed-off-by: Bruce Richardson
---
drivers/mempool/meson.build | 97 +++
drivers/mempool/ring/meson.build | 32 +
drivers/mempool/stack/meson.build | 32 +
drivers/meson.build | 1 +
4 files changed, 162 insertions
Signed-off-by: Bruce Richardson
---
lib/librte_eal/bsdapp/eal/meson.build | 6 +-
lib/librte_eal/linuxapp/eal/meson.build | 6 +-
lib/librte_eal/meson.build | 1 +
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/bsdapp/eal/meson.build
b/lib/l
Signed-off-by: Bruce Richardson
---
lib/librte_gro/meson.build | 34 ++
lib/meson.build| 3 ++-
2 files changed, 36 insertions(+), 1 deletion(-)
create mode 100644 lib/librte_gro/meson.build
diff --git a/lib/librte_gro/meson.build b/lib/librte_gro/me
Signed-off-by: Bruce Richardson
---
drivers/mempool/meson.build | 2 +-
drivers/net/i40e/meson.build | 2 +-
drivers/net/ixgbe/meson.build | 2 +-
drivers/net/meson.build | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mempool/meson.build b/drivers/mempool/
Signed-off-by: Bruce Richardson
---
lib/librte_metrics/meson.build | 34 ++
lib/meson.build| 2 +-
2 files changed, 35 insertions(+), 1 deletion(-)
create mode 100644 lib/librte_metrics/meson.build
diff --git a/lib/librte_metrics/meson.build b/li
Signed-off-by: Bruce Richardson
---
drivers/mempool/meson.build | 2 +-
drivers/net/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mempool/meson.build b/drivers/mempool/meson.build
index 869e75cb7..1d003b757 100644
--- a/drivers/mempool/meson.build
Signed-off-by: Bruce Richardson
---
drivers/mempool/meson.build | 3 ++-
drivers/net/meson.build | 6 --
lib/librte_eal/bsdapp/eal/meson.build | 5 -
lib/librte_eal/linuxapp/eal/meson.build | 5 -
lib/meson.build | 3 ++-
5 files c
Add testpmd to build. When done, it was found that the -ldl flag was
getting duplicated too many times in the build causing static linkage to
fail on testpmd as the commandline got to long. [Possible meson bug]. Fix
this by making testpmd link explicitly against libdl (or libexecinfo on
BSD) and do
Signed-off-by: Bruce Richardson
---
drivers/crypto/qat/qat_crypto.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c
index 1f52cabfd..62ee175ba 100644
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@
Signed-off-by: Bruce Richardson
---
drivers/crypto/null/Makefile| 2 +-
.../null/{rte_pmd_null_crypto_version.map => rte_pmd_null_version.map} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename drivers/crypto/null/{rte_pmd_null_crypto_version.
Signed-off-by: Bruce Richardson
---
lib/librte_eal/linuxapp/igb_uio/Kbuild | 1 +
lib/librte_eal/linuxapp/igb_uio/meson.build | 47 +
lib/librte_eal/linuxapp/meson.build | 10 ++
meson_options.txt | 4 ++-
4 files changed, 6
The version file did not quite match the directory name, as it was missing
an '_' between ip and frag.
Signed-off-by: Bruce Richardson
---
lib/librte_ip_frag/Makefile| 2 +-
lib/librte_ip_frag/{rte_ipfrag_version.map => rte_ip_frag_version.map} | 0
2
Signed-off-by: Bruce Richardson
---
config/rte_config.h| 9
drivers/crypto/meson.build | 103 +
drivers/crypto/null/meson.build| 32
drivers/crypto/openssl/meson.build | 33
drivers/crypto/qat/meson
Signed-off-by: Bruce Richardson
---
lib/librte_acl/meson.build | 60 ++
lib/meson.build| 18 --
2 files changed, 71 insertions(+), 7 deletions(-)
create mode 100644 lib/librte_acl/meson.build
diff --git a/lib/librte_acl/meson.b
Only libraries not included in meson build at this point are the three
packet framework libs, and the acl library (which needs some custom
handling for the different instruction set levels it has).
Signed-off-by: Bruce Richardson
---
app/test-pmd/meson.build| 3 +++
config/meson.bui
Signed-off-by: Bruce Richardson
---
lib/librte_pipeline/meson.build | 35 +
lib/librte_port/meson.build | 58 +
lib/librte_table/meson.build| 52
lib/meson.build | 6 -
Signed-off-by: Bruce Richardson
---
drivers/net/ark/meson.build | 44
drivers/net/avp/meson.build | 36
drivers/net/meson.build | 2 +-
3 files changed, 81 insertions(+), 1 deletion(-)
create mode 100644 drive
For static builds we need to better track the dependencies of drivers,
because, unlike with shared libs, the static libs don't track them
themselves. Because of this we have a new global list of external
dependencies which is used for creating the pkg-config file. We also move
the logic for what de
for static library builds, we miss the base code, as the base code .a file
is not included in the overall driver .a file. Instead mark the objects in
the base code lib to be included in the overall library.
Signed-off-by: Bruce Richardson
---
drivers/crypto/meson.build | 6 +++---
driver
Signed-off-by: Bruce Richardson
---
examples/helloworld/Makefile | 13 +
examples/l2fwd/Makefile | 13 +
2 files changed, 26 insertions(+)
diff --git a/examples/helloworld/Makefile b/examples/helloworld/Makefile
index c83ec01e8..270f02f91 100644
--- a/examples/hellow
On Mon, Aug 14, 2017 at 10:32:15AM +0100, Bruce Richardson wrote:
> On Sat, Aug 12, 2017 at 02:19:45PM -0400, Neil Horman wrote:
> > On Fri, Aug 11, 2017 at 09:29:24PM +0100, Bruce Richardson wrote:
> > > On Wed, Aug 09, 2017 at 04:21:32PM -0400, Neil Horman wrote:
> > > > Can anyone point out to m
On Tue, Jul 11, 2017 at 07:33:04PM +, Medvedkin Vladimir wrote:
> Hi,
>
> I want to introduce new library for ip routing lookup that have some
> advantages
> over current LPM library. In short:
> - Increases the speed of control plane operations against lpm such as
>adding/deleti
On Mon, Aug 14, 2017 at 06:50:40AM -0400, Neil Horman wrote:
> On Mon, Aug 14, 2017 at 10:32:15AM +0100, Bruce Richardson wrote:
> > On Sat, Aug 12, 2017 at 02:19:45PM -0400, Neil Horman wrote:
> > > On Fri, Aug 11, 2017 at 09:29:24PM +0100, Bruce Richardson wrote:
> > > > On Wed, Aug 09, 2017 at 0
-Original Message-
> Date: Mon, 14 Aug 2017 14:18:15 +0530
> From: "Rao, Nikhil"
> To: Jerin Jacob , "Eads, Gage"
>
> CC: "dev@dpdk.org" , "tho...@monjalon.net"
> , "Richardson, Bruce" ,
> "Van Haaren, Harry" , "hemant.agra...@nxp.com"
> , "nipun.gu...@nxp.com" ,
> "Vangati, Narender
On Mon, Aug 14, 2017 at 11:58:21AM +0100, Bruce Richardson wrote:
> On Mon, Aug 14, 2017 at 06:50:40AM -0400, Neil Horman wrote:
> > On Mon, Aug 14, 2017 at 10:32:15AM +0100, Bruce Richardson wrote:
> > > On Sat, Aug 12, 2017 at 02:19:45PM -0400, Neil Horman wrote:
> > > > On Fri, Aug 11, 2017 at 0
The corrupted code didn't unlock the spinlock in xstats
get and reset functions error flow.
Hence, if these errors happaned, the device spinlock was
left locked and many mlx5 device functionalities were blocked.
The fix unlocks the spinlock in the missed places.
Fixes: e62bc9e70608 ("net/mlx5: f
Hi Akhil,
> -Original Message-
> From: Akhil Goyal [mailto:akhil.go...@nxp.com]
> Sent: Friday, July 28, 2017 12:08 PM
> To: dev@dpdk.org; Doherty, Declan
> Cc: De Lara Guarch, Pablo ;
> hemant.agra...@nxp.com; Akhil Goyal
> Subject: [PATCH] crypto/openssl: performance improvements
>
>
Signed-off-by: Santosh Shukla
---
v1 note:
- As changes percolate to all possible dpdk subsystem..
so its difficult to tag subject with one common title,
but since, core of changeset is at eal layer so keeping 'eal:'
as title.
app/test-crypto-perf/cperf_test_vectors.h | 4 +--
do
Changeset based on deprecation notice[1], planned for v17.11 release.
Patches are based on version: 17.11-rc0.
Summary:
Renaming memory address translation api/ datatypes
and memory struct members to iova types.
Includes:
1st patch : rename phys_addr_t to iova_addr_t
2nd patch : rename dma var ma
Signed-off-by: Santosh Shukla
---
v1 notes:
Since crux of change is at eal/memory area so using that as
title.
doc/guides/prog_guide/img/mbuf1.svg| 2 +-
drivers/bus/fslmc/portal/dpaa2_hw_pvt.h| 2 +-
drivers/net/ark/ark_ethdev_rx.c
The following api renamed from:
rte_mempool_populate_phys()
rte_mempool_populate_phys_tab()
rte_eal_using_phys_addrs()
rte_mem_virt2phy()
rte_dump_physmem_layout()
rte_eal_get_physmem_layout()
rte_eal_get_physmem_size()
rte_malloc_virt2phy()
rte_mem_phy2mch()
To the following iova types api:
rte
Removed dpdk iova aware ABI deprecation notice,
and updated ABI change details in release_17.11.rst.
Signed-off-by: Santosh Shukla
---
doc/guides/rel_notes/deprecation.rst | 7 ---
doc/guides/rel_notes/release_17_11.rst | 27 +++
2 files changed, 27 insertions(+),
v6:
Sending v5 series rebased on top of version: 17.11-rc0.
v5:
Introducing RTE_PCI_DRV_IOVA_AS_VA flag for autodetection of iova va mapping.
If a PCI driver demand for IOVA as VA scheme then the driver can add it in the
PCI driver registration function.
Algorithm to select IOVA as VA for PCI bus
Introducing RTE_PCI_DRV_IOVA_AS_VA flag. Flag used when driver needs
to operate in iova=va mode.
Why driver need iova=va mapping?
On NPU style co-processors like Octeontx, the buffer recycling has been
done in HW, unlike SW model. Here is the data flow:
1) On control path, Fill the HW mempool wit
Export rte_pci_match() function as it needed in the followup patch.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Acked-by: Maxime Coquelin
---
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 7 +++
lib/librte_eal/common/eal_common_pci.c | 10 +-
lib/librte_e
Introducing rte_pci_get_iommu_class API which helps to get iommu class
of PCI device on the bus and returns preferred iova mapping mode for
PCI bus.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/common/include/rte_bus.h | 10 ++
Get iommu class of PCI device on the bus and returns preferred iova
mapping mode for that bus.
Algorithm for iova scheme selection for PCI bus:
0. If no device bound then return with RTE_IOVA_DC mapping mode,
else goto 1).
1. Look for device attached to vfio kdrv and has .drv_flag set
to RTE_PCI_D
Bsdapp case returns default iova mode.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/bsdapp/eal/eal_pci.c | 10 ++
lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 +
2 files changed, 11 insertions(+)
diff --git a/
API(rte_bus_get_iommu_class) helps to automatically detect and select
appropriate iova mapping scheme for iommu capable device on that bus.
Algorithm for iova scheme selection for bus:
0. Iterate through bus_list.
1. Collect each bus iova mode value and update into 'mode' var.
2. Mode selection sc
Introducing rte_eal_iova_mode() helper API. This API
used by non-eal library for detecting iova mode.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/bsdapp/eal/eal.c | 6 ++
lib/librte_eal/bsdapp/eal/rte_eal_version
- Moving late bus scanning to up..just after eal_parsing.
- Auto detect iova mapping mode, based on the result of
rte_bus_scan_iommu_class.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/linuxapp/eal/eal.c | 15 +--
1 file
- Moving late bus scanning to up..just after eal_parsing.
- Mapping mode would be default for bsdapp. It supports
only one pass through mode (RTE_KDRV_NIC_UIO)
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/bsdapp/eal/eal.c | 14 +
Check iova mode and accordingly map iova to pa or va.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_
Check iova mode and accordingly return phy addr.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c
b/lib/librte_eal/
Check iova mode and accordingly return phy addr.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
Reviewed-by: Maxime Coquelin
---
lib/librte_eal/common/rte_malloc.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/lib/librte_eal/common/rte_malloc.c
b/lib/li
Hi all,
I am a newbie to DPDK and in one of the applications I am building , I am
trying to capture more than 150M packets and save them to file. I noticed
that with packet count > 134M, the check 'count > RTE_RING_SZ_MASK' fails
as RTE_RING_SZ_MASK is set to 0x0FFF. So I tried changing
RTE_
On 8/13/2017 8:03 AM, Jingjing Wu wrote:
For virtual device, the rte_intr_handle struct is
initialized by the virtual device driver, including
the event fd assignment. If the event fd need to be
read for clean, an argument is required for the proper
event fd read.
This patch adds efd_counter_s
2017-08-14 13:51 GMT+03:00 Bruce Richardson :
> On Tue, Jul 11, 2017 at 07:33:04PM +, Medvedkin Vladimir wrote:
> > Hi,
> >
> > I want to introduce new library for ip routing lookup that have some
> advantages
> > over current LPM library. In short:
> > - Increases the speed of control pl
This patch stops PF from sending message to VF when VF's ARQ and ATQ
isn't enabled, namely VF isn't up and modifies VF state to active when
VF reset is completed.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: sta...@dpdk.org
Signed-off-by: Xiaoyun Li
---
drivers/net/i40e/i40e_pf.c | 21
On 13 August 2017 at 15:03, Jerin Jacob wrote:
> Use cntvct_el0 system register to get the system counter frequency.
>
> If the system is configured with RTE_ARM_EAL_RDTSC_USE_PMU then
> return 0(let the common code calibrate the tsc frequency).
>
> CC: Jianbo Liu
> Signed-off-by: Jerin Jacob
>
This patch adds one link to DPDK i40e doc, which is for
users on how to upgrade firmware.
Signed-off-by: Qiming Yang
---
doc/guides/nics/i40e.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst
index bc200d3..606375d 100644
--- a/doc/guid
> -Original Message-
> From: Li, Xiaoyun
> Sent: Tuesday, August 15, 2017 11:34 AM
> To: Xing, Beilei
> Cc: Wu, Jingjing ; dev@dpdk.org; Li, Xiaoyun
> ; sta...@dpdk.org
> Subject: [PATCH] net/i40e: fix PF notify issue when VF is not up
>
> This patch stops PF from sending message to VF w
Hi Ferruh,
On Thu, Aug 10, 2017 at 10:50:02AM +0100, Ferruh Yigit wrote:
> On 8/10/2017 3:50 AM, Jiayu Hu wrote:
> > The GRO library provides two reassembly modes: lightweight mode and
> > heavyweight mode. This patch is to support the heavyweight mode in
> > csum forwarding engine.
> >
> > With
v4:
Include
- mempool deprecation changes, refer [1],
- patches are rebased against v17.11-rc0.
v3:
In order to support octeontx HW mempool manager, the common mempool layer must
meet below condition.
- Object start address should be block size (total elem size) aligned.
- Object must have the p
xmem_size and xmem_usage need to know the status of mp->flag.
Following patch will make use of that.
Signed-off-by: Santosh Shukla
---
drivers/net/xenvirt/rte_mempool_gntalloc.c | 5 +++--
lib/librte_mempool/rte_mempool.c | 10 ++
lib/librte_mempool/rte_mempool.h |
mp->flags is int and mempool API updates unsigned int
value in 'flags', so fix the 'flags' data type.
Patch also does mp->flags cleanup like:
* Remove redundant 'flags' API description from
- __rte_mempool_generic_put
- __rte_mempool_generic_get
* Remove unused 'flags' param from
- rte_memp
Removed mempool api change deprecation notice and
updated change info in release_17.11.
Signed-off-by: Santosh Shukla
---
doc/guides/rel_notes/deprecation.rst | 9 -
doc/guides/rel_notes/release_17_11.rst | 7 +++
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/doc/g
The memory area containing all the objects must be physically
contiguous.
Introducing MEMPOOL_F_CAPA_PHYS_CONTIG flag for such use-case.
The flag useful to detect whether pool area has sufficient space
to fit all objects. If not then return -ENOSPC.
This way, we make sure that all object within a
Some mempool hw like octeontx/fpa block, demands block size
(/total_elem_sz) aligned object start address.
Introducing an MEMPOOL_F_POOL_BLK_SZ_ALIGNED flag.
If this flag is set:
- Align object start address to a multiple of total_elt_sz.
- Allocate one additional object. Additional object is need
Allow mempool to advertise its capability.
A handler been introduced called rte_mempool_ops_get_capabilities.
- Upon ->get_capabilities call, mempool driver will advertise
capability by updating to 'mp->flags'.
Signed-off-by: Santosh Shukla
Signed-off-by: Jerin Jacob
---
lib/librte_mempool/rte_
HW pool manager e.g. Octeontx SoC demands s/w to program start and end
address of pool. Currently, there is no such handle in external mempool.
Introducing rte_mempool_update_range handle which will let HW(pool
manager)
know when common layer selects hugepage:
For each hugepage - update its start/e
This patchet showcases the definition and usage of the rte_security
APIs described in the RFC v1 sent earlier.
The data path and configuration path is similar to what was proposed in
version 1. However, rte_security_configure API is removed, as it looked
redundant.
Also the rte_security.x files a
Detailed description is added in the coverletter
Signed-off-by: Akhil Goyal
---
lib/librte_cryptodev/rte_security.c | 171 +++
lib/librte_cryptodev/rte_security.h | 409
2 files changed, 580 insertions(+)
create mode 100644 lib/librte_cryptodev/r
driver implementation to support rte_security APIs
Signed-off-by: Akhil Goyal
---
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 368 +++-
drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 33 +++
2 files changed, 399 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto
cryptodev library is extended to support security APIs
Similar changes needs to be done for ether devices also
to support security APIs
Signed-off-by: Akhil Goyal
---
lib/librte_cryptodev/Makefile| 3 ++-
lib/librte_cryptodev/rte_crypto_sym.h| 15 ++
lib/librte_crypt
ipsec-secgw application is modified so that it can support
following type of actions for crypto operations
1. full protocol offload using crypto devices.
2. inline ipsec using ethernet devices to perform crypto operations
3. full protocol offload using ethernet devices.
4. non protocol offload
act
On 8/14/2017 7:47 PM, De Lara Guarch, Pablo wrote:
Hi Akhil,
-Original Message-
From: Akhil Goyal [mailto:akhil.go...@nxp.com]
Sent: Friday, July 28, 2017 12:08 PM
To: dev@dpdk.org; Doherty, Declan
Cc: De Lara Guarch, Pablo ;
hemant.agra...@nxp.com; Akhil Goyal
Subject: [PATCH] crypto
91 matches
Mail list logo