From: Gowrishankar Muthukrishnan
Below changes adds pci probing support for vfio-pci devices in power8.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 88 ++
lib/librte_eal/linuxapp/eal/eal_vfio.h | 1
From: Gowrishankar Muthukrishnan
At present, creating bonding devices using --vdev is broken for PMD like
mlx5 as it is neither UIO nor VFIO based and hence PMD driver is unknown
to find_port_id_by_pci_addr(), as below.
testpmd --vdev 'net_bonding0,mode=1,slave=,socket_id=0&
From: Gowrishankar Muthukrishnan
mlx5 pmd does not correctly retrieve link speed and duplex values
in linksetting struct through ETHTOOL_GLINKSETTINGS ioctl call.
Due to which pktgen application could not correctly calculate tx/rx
rate and hence, very few packets (of count 32) only sent all the
From: Gowrishankar Muthukrishnan
ETHTOOL_GLINKSETTINGS ioctl call in mlx5 pmd returns inconsistent
link status due to which any application relying on it would not
function correctly.
Changes:
v2 - coding style update
Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds"
From: Gowrishankar Muthukrishnan
ETHTOOL_GLINKSETTINGS ioctl call in mlx5 pmd returns inconsistent
link status due to which any application relying on it would not
function correctly.
Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds")
Cc: sta...@dpdk.org
Sig
From: Gowrishankar Muthukrishnan
ETHTOOL_GLINKSETTINGS ioctl call in mlx5 pmd returns inconsistent
link status due to which any application relying on it would not
function correctly.
Fixes: 188408719888 ("net/mlx5: fix support for newer link speeds")
Cc: sta...@dpdk.org
Sig
From: Gowrishankar Muthukrishnan
Earlier bonding pmd was disabled in default config for ppc64le.
Hence, removing it as it has been verified.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- remove configuration variable for default enablement
config/defconfig_ppc_64-power8-linuxapp-gcc
From: Gowrishankar Muthukrishnan
This patch enables i40e driver in powerpc along with its altivec
intrinsic support.
Signed-off-by: Gowrishankar Muthukrishnan
---
MAINTAINERS | 1 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 +-
doc/guides/nics
From: Gowrishankar Muthukrishnan
Changes:
v2 - minor corrections for gcc strict aliasing and coding style standard.
This patch enables i40e driver in powerpc along with its altivec
intrinsic support.
Signed-off-by: Gowrishankar Muthukrishnan
---
MAINTAINERS
From: Gowrishankar Muthukrishnan
Changes:
v3 - minor corrections for coding style standard.
v2 - minor corrections for gcc strict aliasing and coding style standard.
This patch enables i40e driver in powerpc along with its altivec
intrinsic support.
Signed-off-by: Gowrishankar Muthukrishnan
From: Gowrishankar Muthukrishnan
This patch enables i40e driver in powerpc along with its altivec
intrinsic support.
Changes:
v4 - docs and config update.
v3 - minor corrections for coding style standard.
v2 - minor corrections for gcc strict aliasing and coding style standard.
Signed-off-by
From: Gowrishankar Muthukrishnan
Below changes adds pci probing support for vfio-pci devices in power8.
Changes:
v2 - kernel version checked and doc updated
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/rel_notes/release_17_05.rst | 4 ++
lib/librte_eal/linuxapp/eal/eal_vfio.c
From: Gowrishankar Muthukrishnan
Below changes adds pci probing support for vfio-pci devices in power8.
v3 - better validation for kernel not implementing few iocts called
v2 - kernel version checked and doc updated
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/rel_notes
From: Gowrishankar Muthukrishnan
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
app/test/test_xmmt_ops.h | 16 +++
config/defconfig_ppc_64-power8-linuxapp-gcc| 1 -
.../common/include
From: Gowrishankar Muthukrishnan
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Konstantin Ananyev
Acked-by: Chao Zhu
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib
From: Gowrishankar Muthukrishnan
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
examples/l3fwd/l3fwd_em.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/examples/l3fwd/l3fwd_em.c b
From: Gowrishankar Muthukrishnan
This patch enables librte_table in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config
From: Gowrishankar Muthukrishnan
This patch enables librte_port in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config
From: Gowrishankar Muthukrishnan
This patch enables librte_pipeline for ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b
From: Gowrishankar Muthukrishnan
This patch fixes ip_pipeline panic in app_init_core_map while preparing cpu
core map in powerpc with SMT off. cpu_core_map_compute_linux currently prepares
core mapping based on file existence in sysfs ie.
/sys/devices/system/cpu/cpu/topology/physical_package_id
From: Gowrishankar Muthukrishnan
In powerpc systems, rte table hash structs rte_bucket_4_8, rte_bucket_4_16 and
rte_bucket_4_32 are not cache aligned and hence verification on same would fail.
Instead of checking alignment on cpu cacheline, it could equally be tested as
multiple of 64 bytes
From: Gowrishankar Muthukrishnan
This patchset enables LPM, ACL and other few missing libs in ppc64le and also
address few patches in related examples (ip_pipeline and l3fwd).
Test report:
1. LPM and ACL unit tests passed.
Steps:
compile test app and run (with any needed params
From: Gowrishankar Muthukrishnan
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Chao Zhu
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
1 file changed, 1 deletion(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config
From: Gowrishankar Muthukrishnan
There is typo in init.c of ip_pipeline example due to which,
invalid file path is added to -d option of EAL i.e path starting
with =.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/ip_pipeline/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
From: Gowrishankar Muthukrishnan
Earlier bonding pmd was disabled in default config for ppc64le. Same has
been verified, with active-backup mode for an instance (to bond two VFs in each
phy port):
testpmd-bonding-cmd.txt:
create bonded device 1 0
create bonded device 1 0
add bonding slave 0 4
From: Gowrishankar Muthukrishnan
At present, creating bonding devices using --vdev is broken for PMD like
mlx5 as it is neither UIO nor VFIO based and hence PMD driver is unknown
to find_port_id_by_pci_addr(), as below.
testpmd --vdev 'net_bonding0,mode=1,slave=,socket_id=0&
From: Gowrishankar Muthukrishnan
A typo introduced in i40e_rxtx_vec_altivec.c from commit 67f038076657
("net/i40e: enable per-device packet type mapping"). This patch is to
address compilation error in ppc64le.
Signed-off-by: Gowrishankar Muthukrishnan
---
driver
From: Gowrishankar Muthukrishnan
Current usertools/cpu_layout.py is broken to handle multithreads of count more
than 2 as in IBM powerpc P8 servers. Below patch addressed this issue. Also,
added minor exception catch on failing to open unavailable sys file in case of
multithread=off
From: Gowrishankar Muthukrishnan
In kni_allocate_mbufs(), we attempt to add max_burst (32) count of mbuf always
into alloc_q, which is excessively leading too many rte_pktmbuf_free() when
alloc_q is contending at high packet rate (for eg 10Gig data). In a situation
when alloc_q fifo can only
From: Gowrishankar Muthukrishnan
In kni_allocate_mbufs(), we attempt to add max_burst (32) count of mbuf
always into alloc_q, which is excessively leading too many rte_pktmbuf_
free() when alloc_q is contending at high packet rate (for eg 10Gig data).
In a situation when alloc_q fifo can only
From: Gowrishankar Muthukrishnan
When there are multiple memsegs (each per hugepage), there are couple of
problems observed:
1. Same heap size index is always chosen to add new malloc_elems
again and again, while there is an increasing heap size actually.
Hence, when there is
From: Gowrishankar Muthukrishnan
During malloc heap init, if there are malloc_elems contiguous in
virt addresses, they could be merged so that, merged malloc_elem
would guarantee larger free memory size than its actual hugepage
size, it was created for.
Fixes: fafcc11985 ("mem: rework me
From: Gowrishankar Muthukrishnan
When there are multiple memsegs created and adding new memseg would
cause bigger heap size, its index in free_head list should be based
on new size of heap. Currently, only the size of elem is accounted
as in malloc_elem_free_list_insert. As heap total size gets
From: Gowrishankar Muthukrishnan
Instead of llX, use C99 standard "PRIu64" in format specifier. Former one
breaks compile in ppc64le.
Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO")
Signed-off-by: Gowrishankar Muthukrishnan
--
In file included f
From: Gowrishankar Muthukrishnan
dev_info->max_event_ports is uint8_t. dpaa_event_dev_info_get assigns
DPAA_EVENT_MAX_EVENT_PORT (which is RTE_MAX_LCORE, upto 256 in ppc64le)
into this variable, which breaks compile in ppc64le.
Fixes: 9caac5dd1e ("event/dpaa: introduce PMD")
From: Gowrishankar Muthukrishnan
Instead of llX, use C99 standard "PRIu64" in format specifier. Former one
breaks compile in ppc64le.
Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO")
Signed-off-by: Gowrishankar Muthukrishnan
--
v2:
- corrected
From: Gowrishankar Muthukrishnan
Instead of llX, use C99 standard "PRIu64" in format specifier. Former one
breaks compile in ppc64le.
Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO")
Signed-off-by: Gowrishankar Muthukrishnan
--
v2:
- corrected
From: Gowrishankar Muthukrishnan
Instead of llX, use C99 standard "PRIu64" in format specifier. Former one
breaks compile in ppc64le.
Fixes: c2c167fdb3 ("bus/fslmc: support memory event callbacks for VFIO")
Signed-off-by: Gowrishankar Muthukrishnan
--
v3:
- correction to
From: Gowrishankar Muthukrishnan
Below patch adds powerpc arch specific changes.
Signed-off-by: Gowrishankar Muthukrishnan
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 63 +-
1 file changed, 47 insertions(+), 16 deletions(-)
diff --git a/lib/librte_eal
From: Gowrishankar Muthukrishnan
Below patch adds powerpc arch specific changes.
Signed-off-by: Gowrishankar Muthukrishnan
---
lib/librte_eal/linuxapp/eal/eal_vfio.c | 110 +++--
1 file changed, 105 insertions(+), 5 deletions(-)
diff --git a/lib/librte_eal
From: Gowrishankar Muthukrishnan
At present, creating bonding devices using --vdev is broken for PMD like
mlx5 as it is neither UIO nor VFIO based and hence PMD driver is unknown
to find_port_id_by_pci_addr(), as below.
testpmd --vdev 'net_bonding0,mode=1,slave=,socket_id=0&
From: Gowrishankar Muthukrishnan
This patch adds altivec support for lpm packet processing in powerpc.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/l3fwd/l3fwd_altivec.h | 279 +
examples/l3fwd/l3fwd_lpm.c | 4 +-
examples/l3fwd
From: Gowrishankar Muthukrishnan
This patch adds altivec support for lpm packet processing in powerpc.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
* coding style standards
MAINTAINERS| 1 +
examples/l3fwd/l3fwd_altivec.h | 284
From: Gowrishankar Muthukrishnan
In ppc_64, rte_rdtsc() returns timebase register value which increments
at independent timebase frequency and hence not related to lcore cpu
frequency to derive into. In this patch, we fix get_tsc_freq() to not
depend upon rte_rdtsc(), but obtain cpu current
: Gowrishankar Muthukrishnan
---
v2:
* add ppc_64 specific implementation
.../common/include/arch/ppc_64/rte_cycles.h| 24 ++
1 file changed, 24 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
b/lib/librte_eal/common/include/arch/ppc_64
From: Gowrishankar Muthukrishnan
Some architecture like armv8 provides an architecture specific function
to get the rdtsc frequency. The existing rdtsc calibration scheme uses
OS serivce like sleep(1) to calibrate the frequency which may not
produce the accurate result. Introducing an
From: Jerin Jacob
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
Acked-by: Jianbo Liu
---
.../common/incl
From: Jerin Jacob
When calibrating the tsc frequency, first, probe the architecture specific
rdtsc hz function. if not available, use the existing calibrate scheme
to calibrate the tsc frequency.
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/eal_common_timer.c | 5 -
1 file changed,
From: Jerin Jacob
CC: Jan Viktorin
CC: Jianbo Liu
Signed-off-by: Jerin Jacob
---
lib/librte_eal/common/include/arch/arm/rte_cycles_32.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/arm/rte_cycles_32.h
b/lib/librte_eal/common/include/ar
From: Jerin Jacob
CC: Bruce Richardson
CC: Konstantin Ananyev
Signed-off-by: Jerin Jacob
Acked-by: Anatoly Burakov
---
lib/librte_eal/common/include/arch/x86/rte_cycles.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/lib/librte_eal/common/include/arch/x86/rte_cycles.h
From: Gowrishankar Muthukrishnan
This patch defines __NR_bpf for powerpc architecture and hence,
fixes compiling tap driver for this architecture.
Fixes: b02d85e1 ("net/tap: add eBPF API")
Signed-off-by: Gowrishankar Muthukrishnan
---
drivers/net/tap/tap_bpf.h | 2 ++
1 file
From: Gowrishankar Muthukrishnan
Calling rte_smp_wmb macro expands into a compound block, which
would break compiling a else clause following it, if that calling
place has been terminated already with ";", as in below code.
This patch adds { } around this macro to allow compilin
From: Gowrishankar Muthukrishnan
This reverts commit 15692396fd68932b6a81f00f12d4b0da12baa7d3
(eal/ppc64: implement arch-specific TSC freq query). We intended
to derive pkt/sec estimation with cpu clock frequency. As timebase
register serves the timer purpose, we need to stick with it for
From: Gowrishankar Muthukrishnan
Calling rte_smp_{w/r}mb macro expands into a compound block, which
would break compiling a else clause following it, if that calling
place has been terminated already with ";", as in below code.
This patch adds { } around this macro to allow compilin
From: Gowrishankar Muthukrishnan
This patch fixes the compilation problem with rte_smp_mb,
when there is else clause following it, as in test_barrier.c.
Fixes: 05c3fd7110 ("eal/ppc: atomic operations for IBM Power")
Cc: sta...@dpdk.org
Signed-off-by: Gowrishankar Muthukrishnan
From: Gowrishankar Muthukrishnan
primary_slave_port_id is uint16_t which needs to be correctly stored
with the same data type of input parameter in bond_ethdev_configure.
Fixes: f8244c6399 ("ethdev: increase port id range")
Cc: sta...@dpdk.org
Signed-off-by: Gowrishankar Muthukrishna
t; /home/ubuntu/raja2/dpdk-2.2.0/lib
You need to have CONFIG_RTE_BUILD_COMBINE_LIBS=y if you are trying
dpdk-2.2.0 or less.
As Ferruh replied earlier, refer to dpdk version what INSTALL.DPDK.md
suggests.
Thanks,
Gowrishankar
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> --wi
decrementing addresses.
Signed-off-by: Gowrishankar
---
lib/librte_eal/linuxapp/eal/eal_memory.c | 26 --
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c
b/lib/librte_eal/linuxapp/eal/eal_memory.c
index 5b9132c..6aea5d0
From: gowrishankar
In this patch, DPDK libraries such as LPM, port, table, pipeline, ACL,
and sched are enabled for ppc64le.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/config
This patchset enables LPM, ACL and other few missing libs in ppc64le and also
address few patches in related examples (ip_pipeline and l3fwd).
Test report:
LPM autotest test results as below.
RTE>>lpm_autotest
No. routes = 1076806
Route distribution per prefix width:
DEPTHQUANTITY (PERCEN
From: gowrishankar
In this patch, DPDK libraries such as LPM, port, table, pipeline, ACL,
and sched are enabled for ppc64le.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/config
From: gowrishankar
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar
---
app/test/test_xmmt_ops.h | 16 +++
.../common/include/arch/ppc_64/rte_vect.h | 60
lib/librte_lpm/Makefile| 2
From: gowrishankar
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar
---
app/test-acl/main.c | 4 +
lib/librte_acl/Makefile | 2 +
lib/librte_acl/acl.h | 4 +
lib/librte_acl/acl_run.h | 2 +
lib/librte_acl
From: gowrishankar
Align rte_bucket_4_8 for cache line.
Signed-off-by: Gowrishankar
---
lib/librte_table/rte_table_hash_key8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_hash_key8.c
b/lib/librte_table/rte_table_hash_key8.c
index e2e2bdc
From: gowrishankar
offline lcore would still refer to original core id and this has to
be considered while creating cpu core mask.
Signed-off-by: Gowrishankar
---
examples/ip_pipeline/cpu_core_map.c | 12 +---
examples/ip_pipeline/init.c | 4
2 files changed, 5
From: gowrishankar
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar
---
examples/l3fwd/l3fwd_em.c | 8
1 file changed, 8 insertions(+)
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c
index fc59243..3e261d1 100644
--- a/examples
u suggest to send individual patchset (or patch) for each
feature being enabled, one by one ?.
Thanks,
Gowrishankar
From: gowrishankar
This patchset enables LPM, ACL and other few missing libs in ppc64le and also
address few patches in related examples (ip_pipeline and l3fwd).
Test report:
LPM and ACL unit tests verified as in patch set v1.
Same results as before observed.
v2 changes:
- enabling libs in
From: gowrishankar
This patch adds ppc64le port for LPM library in DPDK.
Signed-off-by: Gowrishankar
---
app/test/test_xmmt_ops.h | 16 +++
config/defconfig_ppc_64-power8-linuxapp-gcc| 1 -
.../common/include/arch/ppc_64/rte_vect.h | 60
From: gowrishankar
This patch adds port for ACL library in ppc64le.
Signed-off-by: Gowrishankar
---
app/test-acl/main.c | 4 +
config/defconfig_ppc_64-power8-linuxapp-gcc | 1 -
lib/librte_acl/Makefile | 2 +
lib/librte_acl/acl.h
From: gowrishankar
offline lcore would still refer to original core id and this has to
be considered while creating cpu core mask.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 3 ---
examples/ip_pipeline/cpu_core_map.c | 12 +---
examples
From: gowrishankar
Align rte_bucket_4_8 for cache line.
Signed-off-by: Gowrishankar
---
lib/librte_table/rte_table_hash_key8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_table/rte_table_hash_key8.c
b/lib/librte_table/rte_table_hash_key8.c
index e2e2bdc
From: gowrishankar
This patch adds ppc64le port for em_mask_key function.
Signed-off-by: Gowrishankar
---
examples/l3fwd/l3fwd_em.c | 8
1 file changed, 8 insertions(+)
diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c
index fc59243..3e261d1 100644
--- a/examples
From: gowrishankar
This patch enables librte_sched in ppc64le.
Signed-off-by: Gowrishankar
---
config/defconfig_ppc_64-power8-linuxapp-gcc | 2 --
1 file changed, 2 deletions(-)
diff --git a/config/defconfig_ppc_64-power8-linuxapp-gcc
b/config/defconfig_ppc_64-power8-linuxapp-gcc
index
Hi Chao,
On Monday 11 July 2016 02:25 PM, Chao Zhu wrote:
> Gowrishankar,
>
> Nice patches! Do you have some function test result? I need some time to
> verify the patches.
Please find below lpm and acl units tests (Test OK at the end of each
tests).
# ./app/test
< EAL/PMD log
Hi Chao,
I did not face this error. Even I verified today with tip of master
6596554... .
However I had patch conflict for examples/l3fwd/l3fwd_em.c which is
fixed now and v3 patch set sent recently. Could you please check.
Thanks,
Gowrishankar
On Friday 15 July 2016 08:45 AM, Chao Zhu wrote
I remember I came across this problem some time back (not sure on which
tip of
master), but certainly it is no more appearing now (atleast today tip
65965546 ..)
Just an update.
Thanks,
Gowrishankar
On Friday 24 June 2016 03:19 PM, Chao Zhu wrote:
> I can repeat this problem by &quo
Could this patch be reviewed please.
Thanks,
Gowrishankar
On Monday 07 March 2016 07:43 PM, Gowrishankar wrote:
> From: Gowri Shankar
>
> For a secondary process address space to map hugepages from every segment of
> primary process, hugepage_file entries has to be mapped revers
From: Gowrishankar Muthukrishnan
v2: minor correction in patch to avoid space between -d option and driver path
Gowrishankar Muthukrishnan (1):
examples: fix ip_pipeline to load PMD driver correctly
examples/ip_pipeline/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
1.9.1
From: Gowrishankar Muthukrishnan
There is typo in init.c of ip_pipeline example due to which,
invalid file path is added to -d option of EAL i.e path starting
with =.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/ip_pipeline/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion
On Wednesday 17 June 2015 03:19 PM, Du, Fan wrote:
> Hi,
>
> I'm playing dpdkvhostuser ports with latest DPDK and ovs master tree with
> iperf benchmarking.
> When kvm guest1(backed up dpdkvhostuser port)siting on HOST1 is receiving
> packets from either other physical HOST2,
> or similar kvm gue
This patch series fixes SM2 algorithm implementation to
support digest message as input along with plain message
as today.
v3:
- fixed minor issues in code rebase
Gowrishankar Muthukrishnan (7):
crypto/openssl: include SM2 in asymmetric capabilities
cryptodev: add hash algorithms in
Include SM2 algorithm in the asymmetric capabilities supported
by OpenSSL PMD.
Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
---
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 14
already
supports it.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 52 ++--
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 1 +
lib/cryptodev/cryptodev_trace.h | 9
lib/cryptodev/cryptodev_trace_points.c
SM2 curve could use generic EC xform as it is yet another EC.
This would also require SM2 curve ID enumerated
along with other curves, as listed in:
https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
Set EC private and public keys into xform so that, it can be
maintained per session.
Signed-off-by: Gowrishankar Muthukrishnan
Change-Id: Ib8251987c805bc304f819bf13f94f310f225a0e3
---
app/test/test_cryptodev_asym.c | 60 ++--
drivers/common/cnxk/roc_ae.h
Elliptic curve based asymmetric operations use cryptographically
secure random number in its computation. If PMD supports RNG
for such ops, the application could skip computing on its own.
This patch adds new field in asymmetric capability to declare
this capability.
Signed-off-by: Gowrishankar
Check asymmetric capabilities such as SM3 hash support and
internal RNG and accordingly choose op params for SM2 test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 77 +++---
app/test
Add SM2 asymmetric algorithm support in cnxk PMD.
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_23_11.rst| 6 +
drivers/common/cnxk/hw/cpt.h | 3 +-
drivers/common/cnxk/roc_ae.c
This patch series fixes SM2 algorithm implementation to
support digest message as input along with plain message
as today.
v4:
- code rebase on next-crypto
Gowrishankar Muthukrishnan (7):
crypto/openssl: include SM2 in asymmetric capabilities
cryptodev: add hash algorithms in asymmetric
Include SM2 algorithm in the asymmetric capabilities supported
by OpenSSL PMD.
Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
---
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 14
already
supports it.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 52 ++--
drivers/crypto/openssl/rte_openssl_pmd_ops.c | 1 +
lib/cryptodev/cryptodev_trace.h | 9
lib/cryptodev/cryptodev_trace_points.c
SM2 curve could use generic EC xform as it is yet another EC.
This would also require SM2 curve ID enumerated
along with other curves, as listed in:
https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
Set EC private and public keys into xform so that, it can be
maintained per session.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Ciara Power
---
app/test/test_cryptodev_asym.c | 60 ++--
drivers/common/cnxk/roc_ae.h | 18 ++
drivers
Elliptic curve based asymmetric operations use cryptographically
secure random number in its computation. If PMD supports RNG
for such ops, the application could skip computing on its own.
This patch adds new field in asymmetric capability to declare
this capability.
Signed-off-by: Gowrishankar
Add SM2 asymmetric algorithm support in cnxk PMD.
Signed-off-by: Gowrishankar Muthukrishnan
---
doc/guides/cryptodevs/features/cn10k.ini | 1 +
doc/guides/rel_notes/release_23_11.rst| 4 +
drivers/common/cnxk/hw/cpt.h | 2 +-
drivers/common/cnxk/roc_ae.c
Check asymmetric capabilities such as SM3 hash support and
internal RNG and accordingly choose op params for SM2 test.
Signed-off-by: Gowrishankar Muthukrishnan
Acked-by: Arkadiusz Kusztal
---
app/test/test_cryptodev_asym.c | 77 +++---
app/test
Add modexp tests for groups 5, 14, 15, 16, 17 and 18.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- rebase on main
---
app/test/test_cryptodev_asym.c | 48 +
app/test/test_cryptodev_mod_test_vectors.h | 989 -
2 files changed, 1036 insertions(+), 1
This patch series adds ECDH testsuite. It also enables ECDH
support in CNXK PMD.
Gowrishankar Muthukrishnan (4):
test/cryptodev: add ECDH tests
crypto/cnxk: use generic EC opcodes
crypto/cnxk: change order of ECFPM params
crypto/cnxk: add ECDH support
app/test/test_cryptodev_asym.c
Add ECDH tests.
Signed-off-by: Gowrishankar Muthukrishnan
---
app/test/test_cryptodev_asym.c | 729 +++
app/test/test_cryptodev_asym_util.h | 12 +
app/test/test_cryptodev_ecdh_test_vectors.h | 577 +++
app/test
1 - 100 of 871 matches
Mail list logo