Offload following modify TTL actions to E-Switch via
TC-Flower driver
- RTE_FLOW_ACTION_TYPE_SET_TTL
- RTE_FLOW_ACTION_TYPE_DEC_TTL
The corresponding IP protocol rte_flow_item_ipv[4|6]
must be present in rte_flow pattern otherwith PMD
return error
The example testpmd commands are:
flow crea
add commands which supports following TTL actions:
- RTE_FLOW_ACTION_TYPE_DEC_TTL
- RTE_FLOW_ACTION_TYPE_SET_TTL
Signed-off-by: Xiaoyu Min
Acked-by: Yongseok Koh
---
app/test-pmd/cmdline_flow.c | 34 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 5 +++
2 f
rewrite TTL by decrease or just set it directly
it's not necessary to check if the final result
is zero or not
This is slightly different from the one defined
by openflow and more generic
Signed-off-by: Xiaoyu Min
Acked-by: Yongseok Koh
---
doc/guides/prog_guide/rte_flow.rst | 30 +
This patch series is for RFC[1] and depends on patch[2]
Patch 1 adds generic TTL rewrite actions to flow API
Patch 2 adds corresponding testpmd commands
Patch 3 implements the offloading logic of E-Switch rules on Mellanox MLX5
[1]: https://patches.dpdk.org/patch/43617/
[2]: http://patches.dpdk.o
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
On 18-10-12 15:12:06, Ferruh Yigit wrote:
> On 10/11/2018 2:27 PM, Jack Min wrote:
> > rewrite TTL by decrease or just set it directly
> > it's not necessary to check if the final result
> > is zero or not
> >
> > This is slightly different from the one defined
> > by openflow and more generic
> >
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
When I applied this commit:
fatal: sha1 information is lacking or useless
(lib/librte_hash/rte_cuckoo_hash.c).
Please double check.
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
>-Original Message-
>From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com]
>Sent: Thursday, October 11, 2018 11:32 PM
>To: Richardson, Bruce ; De Lara Guarch, Pablo
>
>Cc: dev@dpdk.org; Wang, Yipeng1 ;
>honnappa.nagaraha...@arm.com; dharmik.thak...@arm.com;
>gavin...@arm.com; n
The ena driver has used dynamic log type to enable init debugging since 18.05
but the documentation still has leftover mention of the config option.
Signed-off-by: Stephen Hemminger
---
doc/guides/nics/ena.rst | 4
1 file changed, 4 deletions(-)
diff --git a/doc/guides/nics/ena.rst b/doc/g
Now that logging of initialization is controlled by dynamic debug
level, remove the #ifdef for RTE_LIBRTE_QEDE_DEBUG_INIT since that
config option does not exist in common_base and is not documented.
Signed-off-by: Stephen Hemminger
---
drivers/net/qede/qede_ethdev.c | 9 +
1 file change
The config options for init and debug driver were replaced by
dynamic log levels.
Signed-off-by: Stephen Hemminger
---
doc/guides/nics/liquidio.rst | 8
1 file changed, 8 deletions(-)
diff --git a/doc/guides/nics/liquidio.rst b/doc/guides/nics/liquidio.rst
index 87b42cdc4835..e2a38004d
Was looking around and found some leftover references to
old INIT_DEBUG configurations.
Stephen Hemminger (3):
doc: remove INIT_DEBUG from ena
doc: liquidio remove documentation for old config options
qede: remove #ifdef for INIT_DEBUG
doc/guides/nics/ena.rst| 4
doc/guides/ni
On October 12, 2018 20:21:32 Thomas Monjalon wrote:
12/10/2018 19:18, Thomas Monjalon:
12/10/2018 18:46, Andrew Rybchenko:
> On 10/12/18 7:42 PM, Andrew Rybchenko wrote:
> > On 10/12/18 7:40 PM, Thomas Monjalon wrote:
> >> 12/10/2018 09:53, Andrew Rybchenko:
> >>> On 10/12/18 12:02 AM, Thom
On Fri, 2018-10-12 at 16:34 +0100, Bruce Richardson wrote:
> When running unit tests automatically, either via script, from meson,
> or otherwise, the same set of options may be used for each run, for
> example to set a standard coremask to be used for all tests.
>
> To facilitate this, this patch
Hi Ferruh,
On 12.10.2018 19:22, Ferruh Yigit wrote:
> On 10/12/2018 12:09 PM, Igor Russkikh wrote:
>> Hello DPDK community!
>>
>> Aquantia would like to contribute PMD for aQtion AQC10X NIC family:
>> https://www.aquantia.com/products/aqtion/chips/
>> These are 10G ethernet NICs with various featu
12/10/2018 19:18, Thomas Monjalon:
> 12/10/2018 18:46, Andrew Rybchenko:
> > On 10/12/18 7:42 PM, Andrew Rybchenko wrote:
> > > On 10/12/18 7:40 PM, Thomas Monjalon wrote:
> > >> 12/10/2018 09:53, Andrew Rybchenko:
> > >>> On 10/12/18 12:02 AM, Thomas Monjalon wrote:
> > The helper rte_eth_dma
12/10/2018 18:46, Andrew Rybchenko:
> On 10/12/18 7:42 PM, Andrew Rybchenko wrote:
> > On 10/12/18 7:40 PM, Thomas Monjalon wrote:
> >> 12/10/2018 09:53, Andrew Rybchenko:
> >>> On 10/12/18 12:02 AM, Thomas Monjalon wrote:
> The helper rte_eth_dma_zone_reserve() is called by PMDs
> when p
On 10/12/2018 10:34 AM, phil.y...@arm.com wrote:
> The cmdline settings of port-numa-config and rxring-numa-config have been
> flushed by the following init_config. If we don't configure the
> port-numa-config, the virtual device will allocate the device ports to
> socket 0. It will cause failure w
On Fri, 2018-10-12 at 17:29 +0100, Bruce Richardson wrote:
> On Fri, Oct 12, 2018 at 04:12:21PM +0100, Luca Boccassi wrote:
> > A Kbuild is also included to allow users to use DKMS natively
> > without
> > additional code.
> >
> > Signed-off-by: Luca Boccassi
> > ---
> > v2: add local directory t
A Kbuild is also included to allow users to use DKMS natively without
additional code.
Signed-off-by: Luca Boccassi
Tested-by: Bruce Richardson
Acked-by: Bruce Richardson
---
v2: add local directory to -I and build sources list recursively to
fix build on Fedora
v3: add console: true so tha
On 10/12/18 7:42 PM, Andrew Rybchenko wrote:
On 10/12/18 7:40 PM, Thomas Monjalon wrote:
12/10/2018 09:53, Andrew Rybchenko:
On 10/12/18 12:02 AM, Thomas Monjalon wrote:
The helper rte_eth_dma_zone_reserve() is called by PMDs
when probing a new port.
It creates a new memzone with an unique nam
On 10/12/18 7:40 PM, Thomas Monjalon wrote:
12/10/2018 09:53, Andrew Rybchenko:
On 10/12/18 12:02 AM, Thomas Monjalon wrote:
The helper rte_eth_dma_zone_reserve() is called by PMDs
when probing a new port.
It creates a new memzone with an unique name.
The name of this memzone was using the name
12/10/2018 09:53, Andrew Rybchenko:
> On 10/12/18 12:02 AM, Thomas Monjalon wrote:
> > The helper rte_eth_dma_zone_reserve() is called by PMDs
> > when probing a new port.
> > It creates a new memzone with an unique name.
> > The name of this memzone was using the name of the driver
> > doing the p
On Fri, Oct 12, 2018 at 04:12:21PM +0100, Luca Boccassi wrote:
> A Kbuild is also included to allow users to use DKMS natively without
> additional code.
>
> Signed-off-by: Luca Boccassi
> ---
> v2: add local directory to -I and build sources list recursively to
> fix build on Fedora
>
Yep,
On Fri, Oct 12, 2018 at 04:14:36PM +0530, Shreyansh Jain wrote:
> On Friday 12 October 2018 02:31 PM, Pavan Nikhilesh wrote:
> > Hi Shreyansh,
> >
> > On Tue, Oct 09, 2018 at 04:55:44PM +0530, Shreyansh Jain wrote:
> > > In case RTE_LIBRTE_DPAA2_USE_PHYS_IOVA is enabled, only supported
> > > class
On 10/12/2018 12:09 PM, Igor Russkikh wrote:
> Hello DPDK community!
>
> Aquantia would like to contribute PMD for aQtion AQC10X NIC family:
> https://www.aquantia.com/products/aqtion/chips/
> These are 10G ethernet NICs with various features.
>
> We do base this work on parts of the existing nat
On 10/12/2018 10:52 AM, Xiaolong Ye wrote:
As APIs in rte_vdpa.h are public, we need to add doxygen comments
to all APIs and structures.
Signed-off-by: Xiaolong Ye
Reviewed-by: Maxime Coquelin
---
changes from v1:
1. add descriptions for all fields of structs
2. add warning section for
12/10/2018 09:44, Andrew Rybchenko:
> Hi, Thomas,
>
> On 10/12/18 12:02 AM, Thomas Monjalon wrote:
> > The PCI mapping requires to know the PCI driver to use,
> > even before the probing is done. That's why the PCI driver is
> > referenced early inside the PCI device structure. See
> > commit 1d20
When running unit tests automatically, either via script, from meson,
or otherwise, the same set of options may be used for each run, for
example to set a standard coremask to be used for all tests.
To facilitate this, this patch adds support for the test binary taking
additional EAL parameters fr
Added support to handle vxlan action of rte flow rule.
Signed-off-by: Reshma Pattan
Acked-by: Dumitrescu Cristian
---
drivers/net/softnic/rte_eth_softnic_flow.c | 192 +
1 file changed, 192 insertions(+)
diff --git a/drivers/net/softnic/rte_eth_softnic_flow.c
b/drivers/net
On Fri, 2018-10-12 at 15:09 +0100, Bruce Richardson wrote:
> On Thu, Oct 11, 2018 at 08:46:29PM +0100, Luca Boccassi wrote:
> > A Kbuild is also included to allow users to use DKMS natively
> > without
> > additional code.
> >
> > Signed-off-by: Luca Boccassi
> > ---
> > build-tested on debian si
A Kbuild is also included to allow users to use DKMS natively without
additional code.
Signed-off-by: Luca Boccassi
---
v2: add local directory to -I and build sources list recursively to
fix build on Fedora
kernel/linux/kni/Kbuild| 8 ++
kernel/linux/kni/ethtool/ig
On Fri, 12 Oct 2018 14:43:57 +0200
Adrien Mazarguil wrote:
> On Fri, Oct 12, 2018 at 11:45:01AM +0100, Ferruh Yigit wrote:
> > On 10/12/2018 11:42 AM, Ferruh Yigit wrote:
> > > On 10/11/2018 6:59 PM, Stephen Hemminger wrote:
> > >> @@ -161,8 +161,9 @@ extern "C" {
> > >>
> > >> extern int
Document explains how to run the fips sample app
and instructions users need to parser all the request
files and generate the response files.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
doc/guides/rel_notes/release_18_11.rst | 6 ++
doc/guides/sample_app_ug/fips_validati
Added enablement for CCM parser, to allow the
application to parser the ccm request files and to validate all
test types supported.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_ccm.c
Added enablement for CMAC parser, to allow the
application to parser the cmac request files and to validate all
test types supported.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_cmac.c
Added enablement for HMAC parser, to allow the
application to parser the hmac request files and to validate all
tests supported
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_hmac.c
Added enablement for GCM parser, to allow the
application to parser the GCM request file and to validate all
tests supported.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_gcm.c
Added enablement for TDES parser, to allow the
application to parser the TDES request files and to validate all
test types supported.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_3des.c
Added FIPS application into the examples to allow
users to use a simple sample app to validate
their systems and be able to get FIPS certification.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 69 +++
.../cryptodev_fips_parse_
Added enablement for AES-CBC parser, to allow the
application to parser the aes request file and to validate all
test types supported.
Signed-off-by: Marko Kovacevic
Signed-off-by: Fan Zhang
---
examples/cryptodev_fips_validate/Makefile | 1 +
.../cryptodev_fips_parse_aes.c
This sample application is made for the purpose so that users of DPDK
who wish to get FIPS certification for their platforms, this sample app enables
users to parse test vectors that is gotten from NIST and be able to get
a generated response file which they can then verify and be sure their
system
From: Hemant Agrawal
add caam jr driver details, supported features and algorithms
in the document.
release note and MAINTAINERS are also updated.
Signed-off-by: Hemant Agrawal
---
MAINTAINERS| 7 +
doc/guides/cryptodevs/caam_jr.rst | 150 +++
From: Hemant Agrawal
This patch adds the following statistics operations:
- stats_get
- stats_reset
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 54
1 file changed, 54 insertions(+)
diff --git a/drivers
From: Hemant Agrawal
This patch provides the support for protocol offload
to the hardware. following security operations are
added:
- session_create
- session_destroy
- capabilities_get
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 360 ++-
From: Hemant Agrawal
add following ops for configuring queues
- queue_pair_setup
- queue_pair_release
- queue_pair_count
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 64
1 file changed, 64 insertions(+)
add device capabilities for supported algorithms,
key length etc.
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/Makefile | 1 +
drivers/crypto/caam_jr/caam_jr.h | 18 ++
drivers/crypto/caam_jr/caam_jr_capabilities.c | 266 +
This patch add support for :
1. creating run time sec hw decriptors for a given request.
2. enqueue operation to the caam jr ring
3. dequeue operation from the caam jr ring in poll mode
4. creating a crypto protocol descriptor for session - first time.
Signed-off-by: Gagandeep Singh
Signed-off-by
This patch add the scatter gather feature
for auth-only, cipher-only and cipher-auth
operations
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 375 ++-
1 file changed, 374 insertions(+), 1 deletion(-)
diff --git a
This patch add support to create session configuration
of various types i.e. cipher, auth and aead etc.
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 215 +++
1 file changed, 215 insertions(+)
diff --git a/driver
caam_jr hardware can be tuned for multiple settings
like ring depth, coalescing, notification types, cache
size etc.
These parameter can be used for performance tuning
for various platforms.
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr_config.
caam_jr need support from kernel caam driver for
job ring initialisation. So to access register space
for job ring and allow re configure and map to userspace
UIO interface is used. This also allows to handle the
caam interrupts from the user space.
This patch adds UIO specific operations
Signed-
This patch adds following device operations
- dev_configure
- dev_start
- dev_stop
- dev_close
- dev_infos_get
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 98 +++-
1 file changed, 97 insertions(+), 1 deleti
This patch adds following job ring routines
- init_job_ring (configure hw/sw resources)
- shutdown_job_ring (releases hw/sw resources)
- close_job_ring (flush job ring)
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/caam_jr.c | 329 +++
This patch add routines for configuring the hw
to support various features.
These routines will be used by the PMD ops.
The patch also defines structure and macros used
to access hw capabilities.
Signed-off-by: Gagandeep Singh
Signed-off-by: Hemant Agrawal
---
drivers/crypto/caam_jr/Makefile
The caam_jr poll mode crypto driver is supported for
NXP SEC 4.x+ (CAAM) hardware accelerator.
This driver is by default supported on LE platforms,
if it is used on BE platforms like LS104X,
config option CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE can be
enabled.
This patch add skeleton for caam jobring dri
v1->v2 change-log:
* Most of the checkpatch warnings and erros are removed
* CONFIG_RTE_CAAM_JR_PMD_MAX_NB_SESSIONS and
CONFIG_RTE_PMD_CAAM_JR_DEBUG flags removed
* local unlikely macro removed
* extra spaces removed and functions format fixed
* indentation fixed
* documentation is updated
* dead
From: Hari Kumar Vemula
Grouped performace test cases under test-perf category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 34 ++
1 file changed, 34 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index b6443c88a..c69fe
From: Hari Kumar Vemula
Grouped logging or dump related test cases to test-dump category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 22 ++
1 file changed, 22 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index 4668eed81..007c810
From: Hari Kumar Vemula
Added test cases that depend on library as cryptodev
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 27 +++
1 file changed, 27 insertions(+)
diff --git a/test/test/meson.build b/test/test/meson.build
index c69fe0007..4668eed81 1006
From: Hari Kumar Vemula
Removed testcase list from meson build to categorize testcases
into suites
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 110 --
1 file changed, 110 deletions(-)
diff --git a/test/test/meson.build b/test/te
From: Hari Kumar Vemula
Added test cases that runs quickly under test fast category
Signed-off-by: Hari Kumar Vemula
---
test/test/meson.build | 102 +++---
1 file changed, 97 insertions(+), 5 deletions(-)
diff --git a/test/test/meson.build b/test/t
From: Hari Kumar Vemula
1/5: remove existing test cases to reorganize further
2/5: add test-fast suite to meson targets
3/5: add test-perf suite to meson targets
4/5: add test-driver suite to meson targets
5/5: add test-dump suite to meson targets
--
v2: Divided fast-test list into two lists
--
On 10/12/2018 12:35 PM, Vipin Varghese wrote:
> With the latest release, support for vdev ethernet devices like pcap,
> tun and tap are been added. Hence collecting statistics using proc-info
> is possible now.
This support is enabled when device shared between primary & secondary. The
capability
On 10/11/2018 2:27 PM, Jack Min wrote:
> rewrite TTL by decrease or just set it directly
> it's not necessary to check if the final result
> is zero or not
>
> This is slightly different from the one defined
> by openflow and more generic
>
> Signed-off-by: Xiaoyu Min
> Acked-by: Yongseok Koh
>
On Thu, Oct 11, 2018 at 08:46:29PM +0100, Luca Boccassi wrote:
> A Kbuild is also included to allow users to use DKMS natively without
> additional code.
>
> Signed-off-by: Luca Boccassi
> ---
> build-tested on debian sid am64
>
> kernel/linux/kni/Kbuild | 8 ++
> kernel/linux/kni/mes
THe change adds special note for colour blind and porfile_table
actions. In colour blind mode, the previous colour value is
always 0. For DROP action, one needs to edit the profile_table
entries apporpiately.
Signed-off-by: Vipin Varghese
---
doc/guides/sample_app_ug/qos_metering.rst | 5 +
Hi,
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, September 18, 2018 7:35 PM
> To: Gagandeep Singh ; dev@dpdk.org
> Cc: Hemant Agrawal
> Subject: Re: [dpdk-dev] [PATCH 05/10] crypto/caam_jr: add queue config
> functions
>
> Hi Gagan,
>
> On 9/13/2018 11:38 AM, Gagandeep Sing
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, September 18, 2018 7:30 PM
> To: Gagandeep Singh ; dev@dpdk.org
> Cc: Hemant Agrawal
> Subject: Re: [dpdk-dev] [PATCH 04/10] crypto/caam_jr: add device configuration
> routines
>
> Hi Gagan,
>
> On 9/13/2018 11:38 AM, Gagandeep
Hi Akhil,
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, September 18, 2018 7:07 PM
> To: Gagandeep Singh ; dev@dpdk.org
> Cc: Hemant Agrawal
> Subject: Re: [dpdk-dev] [PATCH 03/10] crypto/caam_jr: add HW config for job
> rings
>
> Hi Gagan,
>
> On 9/13/2018 11:38 AM, Gagande
Hi,
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, September 18, 2018 5:57 PM
> To: Gagandeep Singh ; dev@dpdk.org
> Cc: Hemant Agrawal ; john.mcnam...@intel.com
> Subject: Re: [dpdk-dev] [PATCH 01/10] doc: add caam jr cryptodev details
>
> ++John
>
> Hi Gagan,
>
> Please mak
> -Original Message-
> From: Ma, Liang J
> Sent: Friday, October 12, 2018 6:03 PM
> To: Yao, Lei A
> Cc: Hunt, David ; dev@dpdk.org;
> ktray...@redhat.com; Kovacevic, Marko
> Subject: Re: [PATCH v10 1/4] lib/librte_power: traffic pattern aware power
> control
>
> On 11 Oct 18:59, Yao,
The service core samples has varied profiles created to run on specified
lcore count. The patch adds the check before each run, to ensure
example has sufficent lcores to be added as service cores on given run
profile. If sufficent cores are not found, the run is skipped with user
notification.
Sig
Hi
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, September 18, 2018 5:44 PM
> To: Gagandeep Singh ; dev@dpdk.org
> Cc: Hemant Agrawal
> Subject: Re: [dpdk-dev] [PATCH 02/10] crypto/caam_jr: introduce basic driver
>
> Hi Gagan,
>
> On 9/13/2018 11:38 AM, Gagandeep Singh wrote
On Fri, Oct 12, 2018 at 11:45:01AM +0100, Ferruh Yigit wrote:
> On 10/12/2018 11:42 AM, Ferruh Yigit wrote:
> > On 10/11/2018 6:59 PM, Stephen Hemminger wrote:
> >> @@ -161,8 +161,9 @@ extern "C" {
> >>
> >> extern int rte_eth_dev_logtype;
> >>
> >> -#define RTE_ETHDEV_LOG(level, ...) \
> >> -
Postcopy live-migration feature requires the application to
not populate the guest memory. As the vhost library cannot
prevent the application to that (e.g. preventing the
application to call mlockall()), the feature is disabled by
default.
The application should only enable the feature if it does
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost_user.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost_user.h b/lib/librte_vhost/vhost_user.h
index 73b1fe2b9..dc97be843 100644
--- a/lib/librte_vhost/vhos
The master sends this message before stopping handling
userfaults, so that the backend closes the userfaultfd.
The master waits for the slave to acknowledge the request
with an empty 64bits payload for synchronization purpose.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
Introduce a new postcopy-support parameter to Vhost PMD that
passes the RTE_VHOST_USER_POSTCOPY_SUPPORT flag at vhost
device register time.
Flag should only be set if application does not prefault guest
memory using, for example, mlockall() syscall.
Default value is 0, meaning that postcopy suppo
The VHOST_USER_SET_MEM_TABLE payload is copied when handled,
whereas it could directly be referenced.
This is not very important, but next, we'll need to update the
payload and send it back to Qemu.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
Acked-by: Ilya Maximets
--
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost_user.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c
index 051589297..91c301ae2 100644
--- a/lib/librte_
This patch opens a userfaultfd and sends it back to Qemu's
VHOST_USER_POSTCOPY_ADVISE request.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 2 ++
lib/librte_vhost/vhost_user.c | 50 +++
lib/librte_vhost
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost_user.c | 47 ---
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c
index d17c3b0ec..8890abbe8
Postcopy live-migration features relies on userfaultfd,
which was only introduced in kernel v4.3.
This patch introduces a new define to allow building vhost
library on kernels not supporting userfaultfd.
With legacy build system, user has to explicitly set
CONFIG_RTE_LIBRTE_VHOST_POSTCOPY to 'y'.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost.h | 1 +
lib/librte_vhost/vhost_user.c | 21 +
lib/librte_vhost/vhost_user.h | 3 ++-
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/lib/librte_vhost/vhost.h
Passing userfault fds to Qemu will be required for postcopy
live-migration feature.
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost_crypto.c | 1 +
lib/librte_vhost/vhost_user.c | 27 +++
2 files changed, 16 insertions(+
This is not used for now, but will be needed for the
special handling of VHOST_USER_SET_MEM_TABLE message
once postcopy will be supported.
Signed-off-by: Maxime Coquelin
---
lib/librte_vhost/vhost_user.c | 71 +++
1 file changed, 47 insertions(+), 24 deletions(-)
As soon as some ancillary data (fds) are received, it is copied
without checking its length.
This patch adds the number of fds received to the message,
which is set in read_vhost_message().
This is preliminary work to support sending fds to Qemu.
Signed-off-by: Dr. David Alan Gilbert
Signed-off
Signed-off-by: Dr. David Alan Gilbert
Signed-off-by: Maxime Coquelin
Acked-by: Ilya Maximets
Reviewed-by: Tiwei Bie
---
lib/librte_vhost/rte_vhost.h | 4
1 file changed, 4 insertions(+)
diff --git a/lib/librte_vhost/rte_vhost.h b/lib/librte_vhost/rte_vhost.h
index b02673d4a..9292c89c5 10
For messages that require a reply, a second ack should not be
sent when reply-ack protocol feature is negotiated, even if
the corresponding flag is set in the message.
The code is compliant with the spec but it isn't clear it is,
so this patch adds a comment to make it explicit.
Suggested-by: Ily
QEMU doesn't expect any payload for the reply of
VHOST_USER_SET_LOG_BASE request, so don't send any.
Note that the Vhost-user specification isn't clear about
it and would need to be fixed.
Fixes: 54f9e32305d4 ("vhost: handle dirty pages logging request")
Cc: sta...@dpdk.org
Reported-by: Ilya Maxi
When the memory table gets updated, the rings addresses need
to be translated again. If it fails, we need to exit cleanly
by unmapping memory regions.
Fixes: d5022533c20a ("vhost: retranslate vring addr when memory table changes")
Cc: sta...@dpdk.org
Signed-off-by: Maxime Coquelin
Acked-by: Ilya
VHOST_USER_GET_PROTOCOL_FEATURES, VHOST_USER_GET_VRING_BASE
and VHOST_USER_SET_LOG_BASE require replies, so their handlers
should return VH_RESULT_REPLY, not VH_RESULT_OK.
Fixes: 0bff510b5ea6 ("vhost: unify message handling function signature")
Signed-off-by: Maxime Coquelin
Acked-by: Ilya Maxim
Return of message handling has now changed to an enum that can
take non-negative value that is not zero in case a reply is
needed. But the code checking the variable afterwards has not
been updated, leading to success messages handling being
treated as errors.
External post and pre callbacks retur
In this v7:
- Move vh_result enum declaration to vhost.h (Ilya)
- Remove check in read_fd_message() for more fds received
than requested as already checked with MSG_CTRUNC (Ilya)
- Don't return an error in vhost-crypto post message handler
if not a crypto message as all messages go through it.
Add CLI support for VXLAN encap.
Signed-off-by: Cristian Dumitrescu
---
drivers/net/softnic/rte_eth_softnic_cli.c | 179 +-
1 file changed, 176 insertions(+), 3 deletions(-)
diff --git a/drivers/net/softnic/rte_eth_softnic_cli.c
b/drivers/net/softnic/rte_eth_softnic
1 - 100 of 181 matches
Mail list logo