Re: [dpdk-dev] [dpdk-stable] [PATCH v2 07/13] app/testpmd: fix lack of flow action configuration

2018-04-04 Thread Nélio Laranjeiro
On Wed, Apr 04, 2018 at 04:57:58PM +0200, Adrien Mazarguil wrote: > Configuration structure is not optional with flow rule actions that expect > one; this pointer is not supposed to be NULL and PMDs should not have to > verify it. > > Like pattern item spec/last/mask fields, it is currently set wh

Re: [dpdk-dev] [PATCH v2 03/13] net/mlx5: fix RSS flow action bounds check

2018-04-04 Thread Nélio Laranjeiro
On Wed, Apr 04, 2018 at 04:57:50PM +0200, Adrien Mazarguil wrote: > The number of queues provided by the application is not checked against > parser's supported maximum. > > Fixes: 3d821d6fea40 ("net/mlx5: support RSS action flow rule") > Cc: sta...@dpdk.org > Cc: Nelio Laranjeiro > > Signed-off

Re: [dpdk-dev] [PATCH] net/mlx5: fix link status initialization

2018-04-04 Thread Nélio Laranjeiro
On Thu, Apr 05, 2018 at 05:35:57AM +, Shahaf Shuler wrote: > Wednesday, April 4, 2018 3:11 PM, Nélio Laranjeiro: > > Subject: Re: [PATCH] net/mlx5: fix link status initialization > > > > On Wed, Apr 04, 2018 at 09:58:33AM +, Shahaf Shuler wrote: > > > Wednesday, April 4, 2018 10:30 AM, Nél

[dpdk-dev] [PATCH v4 14/17] net/axgbe: add promiscuous mode support

2018-04-04 Thread Ravi Kumar
This patch enables promiscous and multicast support for AXGBE PMD Signed-off-by: Ravi Kumar --- doc/guides/nics/axgbe.rst | 2 ++ doc/guides/nics/features/axgbe.ini | 2 ++ drivers/net/axgbe/axgbe_ethdev.c | 48 ++ 3 files changed, 52 insertions(+

[dpdk-dev] [PATCH v4 16/17] net/axgbe: add support for build 32-bit mode

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- doc/guides/nics/features/axgbe.ini | 1 + drivers/net/axgbe/axgbe_common.h | 53 ++ drivers/net/axgbe/axgbe_ethdev.c | 10 --- drivers/net/axgbe/axgbe_ethdev.h | 8 +++--- drivers/net/axgbe/axgbe_rxtx.c | 12 ---

[dpdk-dev] [PATCH v4 17/17] net/axgbe: add workaround for axgbe ethernet training bug

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_common.h | 8 +++ drivers/net/axgbe/axgbe_ethdev.c | 2 + drivers/net/axgbe/axgbe_ethdev.h | 6 ++ drivers/net/axgbe/axgbe_mdio.c | 13 - drivers/net/axgbe/axgbe_phy_impl.c | 117 + 5 fi

[dpdk-dev] [PATCH v4 15/17] net/axgbe: support generic transmit and receive stats api

2018-04-04 Thread Ravi Kumar
This patch adds support for port statistics api defined for ethernet PMDs Signed-off-by: Ravi Kumar --- doc/guides/nics/axgbe.rst | 1 + doc/guides/nics/features/axgbe.ini | 1 + drivers/net/axgbe/axgbe_ethdev.c | 52 ++ 3 files changed, 54 insert

[dpdk-dev] [PATCH v4 13/17] net/axgbe: add configure flow control while link adjustment

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_mdio.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/net/axgbe/axgbe_mdio.c b/drivers/net/axgbe/axgbe_mdio.c index 914f34f..2296de7 100644 --- a/drivers/net/axgbe/axgbe_mdio.c +++ b/drivers/net/axgbe/axgbe_mdio.c @

[dpdk-dev] [PATCH v4 12/17] net/axgbe: add link status update

2018-04-04 Thread Ravi Kumar
Added support to update device link status atomically Signed-off-by: Ravi Kumar --- doc/guides/nics/features/axgbe.ini | 1 + drivers/net/axgbe/axgbe_ethdev.c | 30 ++ 2 files changed, 31 insertions(+) diff --git a/doc/guides/nics/features/axgbe.ini b/doc/guides/

[dpdk-dev] [PATCH v4 11/17] doc: add documents for AMD axgbe Ethernet PMD

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- doc/guides/nics/axgbe.rst | 89 ++ doc/guides/nics/features/axgbe.ini | 14 ++ doc/guides/nics/index.rst | 1 + 3 files changed, 104 insertions(+) create mode 100644 doc/guides/nics/axgbe.rst create mode 10

[dpdk-dev] [PATCH v4 10/17] net/axgbe: add transmit and receive data path apis

2018-04-04 Thread Ravi Kumar
Supported scalar implementation for RX data path Supported scalar and vector implementation for TX data path Signed-off-by: Ravi Kumar --- drivers/net/axgbe/Makefile | 1 + drivers/net/axgbe/axgbe_ethdev.c | 22 +- drivers/net/axgbe/axgbe_rxtx.c | 429 +++

[dpdk-dev] [PATCH v4 09/17] net/axgbe: add DMA programming and dev start and stop apis

2018-04-04 Thread Ravi Kumar
This patch adds support to program DMA and DPDK device start and stop apis. Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_dev.c| 844 +++ drivers/net/axgbe/axgbe_ethdev.c | 96 + 2 files changed, 940 insertions(+) diff --git a/drivers/net/axg

[dpdk-dev] [PATCH v4 07/17] net/axgbe: add interrupt handler for autonegotiation

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_ethdev.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/net/axgbe/axgbe_ethdev.c b/drivers/net/axgbe/axgbe_ethdev.c index d4cf279..7d2efa3 100644 --- a/drivers/net/axgbe/axgbe_ethdev.c +++ b/

[dpdk-dev] [PATCH v4 08/17] net/axgbe: add transmit and receive queue setup apis

2018-04-04 Thread Ravi Kumar
add support for data path setup apis defined for PMDs Signed-off-by: Ravi Kumar --- drivers/net/axgbe/Makefile | 1 + drivers/net/axgbe/axgbe_ethdev.c | 82 + drivers/net/axgbe/axgbe_ethdev.h | 36 ++ drivers/net/axgbe/axgbe_rxtx.c | 241 ++

[dpdk-dev] [PATCH v4 04/17] net/axgbe: add structures for MAC initialization and reset

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- drivers/net/axgbe/Makefile | 1 + drivers/net/axgbe/axgbe_dev.c| 45 + drivers/net/axgbe/axgbe_ethdev.c | 301 - drivers/net/axgbe/axgbe_ethdev.h | 349 +++ 4 files changed, 694 inse

[dpdk-dev] [PATCH v4 06/17] net/axgbe: add phy programming apis

2018-04-04 Thread Ravi Kumar
Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_dev.c | 27 + drivers/net/axgbe/axgbe_mdio.c | 963 + drivers/net/axgbe/axgbe_phy_impl.c | 1397 3 files changed, 2387 insertions(+) diff --git a/drivers/net/axgbe/axgbe

[dpdk-dev] [PATCH v4 02/17] net/axgbe: add register map and related macros

2018-04-04 Thread Ravi Kumar
added DMA and MAC related register definitions Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_common.h | 1644 ++ 1 file changed, 1644 insertions(+) diff --git a/drivers/net/axgbe/axgbe_common.h b/drivers/net/axgbe/axgbe_common.h index 3591d77..298e794

[dpdk-dev] [PATCH v4 05/17] net/axgbe: add phy initialization and related apis

2018-04-04 Thread Ravi Kumar
added device phy initialization, read/write and other maintenance apis to be used within PMD Signed-off-by: Ravi Kumar --- drivers/net/axgbe/Makefile | 3 + drivers/net/axgbe/axgbe_dev.c | 188 ++ drivers/net/axgbe/axgbe_ethdev.c | 11 + drivers/net/axgbe/axgbe_ethdev.h

[dpdk-dev] [PATCH v4 03/17] net/axgbe: add phy register map and helper macros

2018-04-04 Thread Ravi Kumar
added phy related register definitions Signed-off-by: Ravi Kumar --- drivers/net/axgbe/axgbe_phy.h | 192 ++ 1 file changed, 192 insertions(+) create mode 100644 drivers/net/axgbe/axgbe_phy.h diff --git a/drivers/net/axgbe/axgbe_phy.h b/drivers/net/axgbe

[dpdk-dev] [PATCH v4 01/17] net/axgbe: add minimal dev init and uninit support

2018-04-04 Thread Ravi Kumar
add ethernet poll mode driver for AMD 10G devices embedded in AMD EPYC™ EMBEDDED 3000 family processors Signed-off-by: Ravi Kumar --- MAINTAINERS | 6 ++ config/common_base | 6 ++ doc/guides/rel_notes/release_18_05.rst | 5 ++ dri

Re: [dpdk-dev] [PATCH V18 3/4] eal/linux: uevent parse and process

2018-04-04 Thread Guo, Jia
thanks for review. On 4/4/2018 11:15 AM, Tan, Jianfeng wrote: Hi Jeff, Looks much better now, but still have some issues to address. -Original Message- From: Guo, Jia Sent: Tuesday, April 3, 2018 6:34 PM To: step...@networkplumber.org; Richardson, Bruce; Yigit, Ferruh; Ananyev, Konst

[dpdk-dev] [PATCH v3] event/sw: code refractor to reduce the fetch stall

2018-04-04 Thread Vipin Varghese
With rearranging the code to prefetch the contents before loop check increases performance from single and multistage atomic pipeline. Signed-off-by: Vipin Varghese Acked-by: Harry van Haaren --- Changes in V3: - fix compilation for initial element - Vipin - fix the time and date for email se

[dpdk-dev] [PATCH v2] event/sw: code refractor to reduce the fetch stall

2018-04-04 Thread Vipin Varghese
With rearranging the code to prefetch the contents before loop check increases performance from single and multistage atomic pipeline. Signed-off-by: Vipin Varghese Acked-by: Harry van Haaren --- Changes in V2: - compilation fix for const flowid - Harry - Removal of sw_refill_pp_buf logic - H

Re: [dpdk-dev] [PATCH] net/mlx5: fix link status initialization

2018-04-04 Thread Shahaf Shuler
Wednesday, April 4, 2018 3:11 PM, Nélio Laranjeiro: > Subject: Re: [PATCH] net/mlx5: fix link status initialization > > On Wed, Apr 04, 2018 at 09:58:33AM +, Shahaf Shuler wrote: > > Wednesday, April 4, 2018 10:30 AM, Nélio Laranjeiro: > > > Subject: Re: [PATCH] net/mlx5: fix link status initi

Re: [dpdk-dev] [PATCH V18 2/4] eal: add device event monitor framework

2018-04-04 Thread Guo, Jia
On 4/4/2018 10:53 AM, Tan, Jianfeng wrote: -Original Message- From: Guo, Jia Sent: Tuesday, April 3, 2018 6:34 PM To: step...@networkplumber.org; Richardson, Bruce; Yigit, Ferruh; Ananyev, Konstantin; gaetan.ri...@6wind.com; Wu, Jingjing; tho...@monjalon.net; mo...@mellanox.com; Van H

Re: [dpdk-dev] [PATCH v11 0/9] eventtimer: introduce event timer adapter

2018-04-04 Thread Jerin Jacob
-Original Message- > Date: Wed, 4 Apr 2018 16:51:05 -0500 > From: Erik Gabriel Carrillo > To: pbhagavat...@caviumnetworks.com, jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org > Subject: [PATCH v11 0/9] eventtimer: introduce event timer adapter > X-Mailer: git-send-email 1.7.10 > > This

Re: [dpdk-dev] [pull-request] next-pipeline 18.05 PRE-RC1

2018-04-04 Thread Thomas Monjalon
> > Hi, > > > > 30/03/2018 14:45, Cristian Dumitrescu: > > > http://dpdk.org/git/next/dpdk-next-pipeline > > > > I saw 2 issues: > > - table_index is wrongly placed in doxygen index > > - compilation error with clang: status_data is used uninitialized > > > > Hi Thomas, > > All the a

[dpdk-dev] [PATCH] doc: update the enic guide and features

2018-04-04 Thread John Daley
From: Hyong Youb Kim Documentation updates including for 1400 series VIC adapters. Remove VLAN filter from the features file as the driver does not support that API. Hardware does support VLAN filtering, but it is not controlled through the driver. Signed-off-by: Hyong Youb Kim Reviewed-by: Jo

[dpdk-dev] [PATCH] net/enic: support the drop flow action

2018-04-04 Thread John Daley
From: Hyong Youb Kim 1330 and 1400 series adapters support the drop action. Check for its availability and set the necessary flag when creating NIC filters. Signed-off-by: Hyong Youb Kim Reviewed-by: John Daley --- doc/guides/nics/enic.rst| 2 +- drivers/net/enic/base/vnic_dev.c

[dpdk-dev] [PATCH] net/enic: support UDP RSS on 1400 series adapters

2018-04-04 Thread John Daley
Recent models support IPv4/IPv6 UDP RSS. There is no control bit to enable UDP RSS alone. Instead, the NIC enables/disables TCP and UDP RSS together. Signed-off-by: John Daley Reviewed-by: Hyong Youb Kim --- doc/guides/nics/enic.rst | 2 +- drivers/net/enic/base/vnic_dev.c | 18 +++

[dpdk-dev] [PATCH] net/enic: fix seg fault on MTU update with non-setup queues

2018-04-04 Thread John Daley
The enic code called from rte_eth_dev_set_mtu() was assuming that the Rx queues are already set up via a call to rte_eth_tx_queue_setup(). OVS calls rte_eth_dev_set_mtu() before rte_eth_rx_queue_setup() and a null pointer was dereferenced. Fixes: c3e09182bcd6 ("net/enic: support scatter Rx in MTU

[dpdk-dev] [PATCH] net/enic: enable overlay offload for VXLAN and GENEVE

2018-04-04 Thread John Daley
From: Hyong Youb Kim Recent NIC models support overlay offload. The overlay offload feature enables the following on the NIC. - Rx/Tx checksum offloads for both inner and outer packets. - Rx inner packet type classification. - TSO. - Inner RSS. TX descriptors do not require any changes, except t

[dpdk-dev] [PATCH] net/enic: do not flush descriptor cache when opening vNIC

2018-04-04 Thread John Daley
From: Hyong Youb Kim The firmware on new hardware models flushes the global descriptor cache by default. Use CMD_OPENF_IG_DESCCACHE to avoid cache flushing. This flag has no effect on older models. Signed-off-by: Hyong Youb Kim Suggested-by: Govindarajulu Varadarajan Reviewed-by: John Daley -

Re: [dpdk-dev] [PATCH] ring: relax alignment constraint on ring structure

2018-04-04 Thread Ananyev, Konstantin
Hi lads, > -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 5:43 PM > To: Olivier Matz > Cc: dev@dpdk.org; Ananyev, Konstantin ; > Richardson, Bruce > Subject: Re: [dpdk-dev] [PATCH] ring: relax alignment constraint on ring >

Re: [dpdk-dev] [PATCH v1] bus/fslmc: fix find device start condition

2018-04-04 Thread Thomas Monjalon
23/03/2018 09:52, Shreyansh Jain: > On Thu, Mar 22, 2018 at 3:58 PM, Gaetan Rivet wrote: > > If start is set and a device before it matches the data, > > this device is returned. > > > > Fixes: c7fe1eea8a74 ("bus: simplify finding starting point") > > Cc: sta...@dpdk.org > > > > Cc: Hemant Agrawal

Re: [dpdk-dev] [PATCH v4 0/3] timer library enhancement

2018-04-04 Thread Thomas Monjalon
Let's revive these patches. Erik, could you rebase them with experimental tag, please? Someone for a review? 11/10/2017 22:42, Thomas Monjalon: > This patchset is waiting for review. > > Robert, are you available? > > 19/09/2017 19:02, Erik Gabriel Carrillo: > > In the current implementation o

Re: [dpdk-dev] [PATCH v7] eal: provide API for querying valid socket id's

2018-04-04 Thread Thomas Monjalon
31/03/2018 19:08, Anatoly Burakov: > During lcore scan, find all socket ID's and store them, and > provide public API to query valid socket id's. This will break > the ABI, so bump ABI version. > > Also, remove deprecation notice corresponding to this change. > > Signed-off-by: Anatoly Burakov >

Re: [dpdk-dev] [PATCH v7 3/3] eal: add asynchronous request API to DPDK IPC

2018-04-04 Thread Thomas Monjalon
31/03/2018 19:06, Anatoly Burakov: > This API is similar to the blocking API that is already present, > but reply will be received in a separate callback by the caller > (callback specified at the time of request, rather than registering > for it in advance). > > Under the hood, we create a separa

[dpdk-dev] [PATCH v2 01/13] crypto: replace rte_panic instances in crypto driver

2018-04-04 Thread Arnon Warshavsky
replace panic calls with log and return value. -- v2: - reformat error message to include literal string in a single line Signed-off-by: Arnon Warshavsky --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 8 +--- drivers/crypto/dpaa_sec/dpaa_sec.c | 8 +--- 2 files changed, 10 i

[dpdk-dev] [PATCH v2 09/13] eal: replace rte_panic instances in common_memzone

2018-04-04 Thread Arnon Warshavsky
replace panic calls with log and return value. -- v2: - update doxigen to include new error value - reformat error message to include literal string in a single line Signed-off-by: Arnon Warshavsky --- lib/librte_eal/common/eal_common_memzone.c | 3 ++- lib/librte_eal/common/include/rte_memzone

[dpdk-dev] [PATCH v2 00/13] eal: replace calls to rte_panic and refrain from new instances

2018-04-04 Thread Arnon Warshavsky
The purpose of this patch series is to cleanup the library code from paths that end up aborting the process, and move to checking error values, in order to allow the running process perform an orderly teardown or other mitigation of the event. This patch modifies the majority of rte_panic calls u

[dpdk-dev] [PATCH v11 9/9] doc: add event timer adapter documentation

2018-04-04 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Acked-by: Jerin Jacob --- MAINTAINERS| 7 +++ doc/api/doxy-api-index.md | 32 +++- doc/guides/rel_notes/release_18_05.rst | 6 ++ 3 files changed, 16 insertions(+), 29 deletions(-)

[dpdk-dev] [PATCH v11 3/9] eventtimer: add common code

2018-04-04 Thread Erik Gabriel Carrillo
This commit adds the logic that is shared by all event timer adapter drivers; the common code handles instance allocation and some initialization. Signed-off-by: Erik Gabriel Carrillo Acked-by: Pavan Nikhilesh --- config/common_base| 1 + drivers/event/sw/sw_ev

[dpdk-dev] [PATCH v11 8/9] doc: add event timer adapter section to programmer's guide

2018-04-04 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Signed-off-by: Jerin Jacob Signed-off-by: Pavan Nikhilesh Acked-by: Jerin Jacob --- doc/guides/prog_guide/event_timer_adapter.rst | 296 ++ doc/guides/prog_guide/index.rst | 1 + 2 files changed, 297 insertions(+) cr

[dpdk-dev] [PATCH v11 4/9] mk: update library order in static build

2018-04-04 Thread Erik Gabriel Carrillo
The introduction of the event timer adapter library adds a dependency on the rte_timer library from the rte_eventdev library. Update the order so that the timer library comes after the eventdev library in the linker command when statically linking applications. Signed-off-by: Erik Gabriel Carrill

[dpdk-dev] [PATCH v11 7/9] test: add event timer adapter auto-test

2018-04-04 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Acked-by: Pavan Nikhilesh --- test/test/Makefile |1 + test/test/test_event_timer_adapter.c | 1830 ++ 2 files changed, 1831 insertions(+) create mode 100644 test/test/test_event_timer_adapter.c diff --g

[dpdk-dev] [PATCH v11 6/9] eventtimer: add support for meson build system

2018-04-04 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Acked-by: Pavan Nikhilesh --- config/rte_config.h | 1 + lib/librte_eventdev/meson.build | 9 ++--- lib/meson.build | 3 ++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config/rte_config.h b/config/rte_config

[dpdk-dev] [PATCH v11 5/9] eventtimer: add default software driver

2018-04-04 Thread Erik Gabriel Carrillo
If an eventdev PMD does not wish to provide event timer adapter ops definitions, the library will fall back to a default software implementation whose entry points are added by this commit. Signed-off-by: Erik Gabriel Carrillo Acked-by: Pavan Nikhilesh --- lib/Makefile

[dpdk-dev] [PATCH v11 2/9] eventdev: convert to SPDX license tag in header

2018-04-04 Thread Erik Gabriel Carrillo
Signed-off-by: Erik Gabriel Carrillo Acked-by: Hemant Agrawal Acked-by: Jerin Jacob --- lib/librte_eventdev/rte_eventdev.h | 37 + 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eve

[dpdk-dev] [PATCH v11 0/9] eventtimer: introduce event timer adapter

2018-04-04 Thread Erik Gabriel Carrillo
This patch series contains the next iteration of the Event Timer Adapter library, which abstracts timer mechanisms that are tightly coupled with event devices, and extends the event based programming model so that timer expirations are represented as an event. v11 - fix build error (Jerin) - fix w

[dpdk-dev] [PATCH v11 1/9] eventtimer: introduce event timer adapter

2018-04-04 Thread Erik Gabriel Carrillo
Event devices can be coupled with various components to provide new event sources by using event adapters. The event timer adapter is one such adapter; it bridges event devices and timer mechanisms. This library extends the event-driven programming model by introducing a new type of event that rep

Re: [dpdk-dev] [PATCH v2 1/4] app/eventdev: add event timer adapter as a producer

2018-04-04 Thread Carrillo, Erik G
> -Original Message- > From: Carrillo, Erik G > Sent: Tuesday, April 3, 2018 3:21 PM > To: Pavan Nikhilesh ; > jerin.ja...@caviumnetworks.com; santosh.shu...@caviumnetworks.com > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/4] app/eventdev: add event timer > adapter as a producer

Re: [dpdk-dev] [PATCH v5 2/2] octeontx: move mbox to common folder

2018-04-04 Thread Thomas Monjalon
04/04/2018 16:30, Pavan Nikhilesh: > Move commonly used functions across mempool, event and net devices to a > common folder in drivers. > > Signed-off-by: Pavan Nikhilesh > Acked-by: Jerin Jacob > Acked-by: Santosh Shukla Series applied, thanks

Re: [dpdk-dev] [PATCH v2 4/4] doc: update test eventdev documentation

2018-04-04 Thread Carrillo, Erik G
> -Original Message- > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 11:02 AM > To: jerin.ja...@caviumnetworks.com; > santosh.shu...@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v2

Re: [dpdk-dev] [PATCH v2 3/4] app/eventdev: add options to configure event timer adapter

2018-04-04 Thread Carrillo, Erik G
> -Original Message- > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 11:02 AM > To: jerin.ja...@caviumnetworks.com; > santosh.shu...@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v2 3

Re: [dpdk-dev] [PATCH v2 2/4] app/eventdev: add burst mode for event timer adapter

2018-04-04 Thread Carrillo, Erik G
> -Original Message- > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > Sent: Tuesday, April 3, 2018 11:02 AM > To: jerin.ja...@caviumnetworks.com; > santosh.shu...@caviumnetworks.com; Carrillo, Erik G > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH v2 2

Re: [dpdk-dev] [PATCH 09/13] eal: replace rte_panic instances in common_memzone

2018-04-04 Thread Arnon Warshavsky
Thanks. Will update the doxigen On Wed, Apr 4, 2018 at 3:34 PM, Thomas Monjalon wrote: > 04/04/2018 14:09, Burakov, Anatoly: > > On 04-Apr-18 12:27 PM, Arnon Warshavsky wrote: > > > replace panic calls with log and retrun value. > > > > > > Signed-off-by: Arnon Warshavsky > > > --- > > > lib/

Re: [dpdk-dev] [PATCH 01/13] crypto: replace rte_panic instances in crypto driver

2018-04-04 Thread Arnon Warshavsky
Cool.I assumed worst than needed when the checkpatches lady was not satisfied. Will fix that. On Wed, Apr 4, 2018 at 4:10 PM, Bruce Richardson wrote: > On Wed, Apr 04, 2018 at 02:27:25PM +0300, Arnon Warshavsky wrote: > > Signed-off-by: Arnon Warshavsky > > --- > > drivers/crypto/dpaa2_sec/dpa

Re: [dpdk-dev] [PATCH] build: remove checks for non-optional libraries

2018-04-04 Thread Bruce Richardson
On Thu, Mar 29, 2018 at 02:48:47PM +0100, Bruce Richardson wrote: > Unless a library cannot be built for a specific platform (generally > BSD), it will always be available. Therefore remove checks for IP > fragmentation and ACL libraries, since these are built for all > platforms. > > Signed-off-b

Re: [dpdk-dev] [PATCH v2] build: clean up building kernel modules using meson

2018-04-04 Thread Bruce Richardson
On Wed, Apr 04, 2018 at 05:04:52PM +0100, Bruce Richardson wrote: > The meson.build files for building the kernel modules directory could > be improved now that it is extracted from the EAL. For example, no > global processing is necessary inside the kernel folder, just need to > subdir to the appr

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Matan Azrad
Hi Pavan From: Pavan Nikhilesh, Wednesday, April 4, 2018 9:36 PM > On Wed, Apr 04, 2018 at 06:23:19PM +, Matan Azrad wrote: > > Hi Pavan > > > > From: Pavan Nikhilesh, Wednesday, April 4, 2018 9:16 PM > > > Hi Matan, > > > > > > > > > > > Got you. > > > > Looks like you found issue here... > >

Re: [dpdk-dev] [PATCH v6 0/8] vhost: introduce vhost crypto backend

2018-04-04 Thread Maxime Coquelin
On 04/04/2018 06:50 PM, Zhoujian (jay) wrote: Hi Maxime, -Original Message- From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] Sent: Wednesday, April 04, 2018 11:37 PM To: Fan Zhang ; dev@dpdk.org; Zhoujian (jay) Cc: jianfeng@intel.com; pawelx.wodkow...@intel.com Subject:

Re: [dpdk-dev] [PATCH v3 1/4] ethdev: add support for PMD-tuned Tx/Rx parameters

2018-04-04 Thread De Lara Guarch, Pablo
Hi Remy, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Remy Horton > Sent: Wednesday, April 4, 2018 6:18 PM > To: dev@dpdk.org > Cc: Mcnamara, John ; Lu, Wenzhuo > ; Wu, Jingjing ; Zhang, Qi Z > ; Xing, Beilei ; Shreyansh Jain > ; Thomas Monjalon > Subject: [

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Pavan Nikhilesh
On Wed, Apr 04, 2018 at 06:23:19PM +, Matan Azrad wrote: > Hi Pavan > > From: Pavan Nikhilesh, Wednesday, April 4, 2018 9:16 PM > > Hi Matan, > > > > > > > > Got you. > > > Looks like you found issue here... > > > The experimental tag probably should be in a root .h file. > > > Probably, need a

Re: [dpdk-dev] [PATCH v2] build: clean up building kernel modules using meson

2018-04-04 Thread Bruce Richardson
On Wed, Apr 04, 2018 at 04:47:25PM +, Hemant Agrawal wrote: > Just checked. Your V2 got build without any warnings for me. > > Regards, > Hemant > Thanks. /Bruce > > -Original Message- > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Wednesday, April 04, 2018

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Matan Azrad
Hi Pavan From: Pavan Nikhilesh, Wednesday, April 4, 2018 9:16 PM > Hi Matan, > > > > > Got you. > > Looks like you found issue here... > > The experimental tag probably should be in a root .h file. > > Probably, need a fix patch to move it for a different\new .h file. > > > > What do you think? >

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Pavan Nikhilesh
Hi Matan, > > Got you. > Looks like you found issue here... > The experimental tag probably should be in a root .h file. > Probably, need a fix patch to move it for a different\new .h file. > > What do you think? > Actually thats just start of the rabbit hole, if we succeed to tag a inline functi

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Matan Azrad
Hi Pavan From: Pavan Nikhilesh, Wednesday, April 4, 2018 8:52 PM > On Wed, Apr 04, 2018 at 05:11:22PM +, Matan Azrad wrote: > > > > > > From: Pavan Nikhilesh, Wednesday, April 4, 2018 7:42 PM > > > Hi Matan, > > > > > > On Wed, Apr 04, 2018 at 04:10:36PM +, Matan Azrad wrote: > > > > Hi Pa

Re: [dpdk-dev] [PATCH v4] ethdev: replace bus specific struct with generic dev

2018-04-04 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ferruh Yigit > Sent: Tuesday, April 3, 2018 10:50 AM > To: David Marchand ; santosh > > Cc: dev@dpdk.org; Shreyansh Jain ; Legacy, Allain > (Wind River) ; Tomasz Duszynski > ; Thomas Monjalon > Subject: Re: [dpd

Re: [dpdk-dev] [PATCH v2 5/7] bpf: introduce basic RX/TX BPF filters

2018-04-04 Thread Jerin Jacob
-Original Message- > Date: Wed, 4 Apr 2018 11:39:59 + > From: "Ananyev, Konstantin" > To: Jerin Jacob > CC: "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH v2 5/7] bpf: introduce basic RX/TX BPF > filters > Hi Konstantin, > > > > > > > > > > +/* > > > > > + * Marks given callbac

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Pavan Nikhilesh
On Wed, Apr 04, 2018 at 05:11:22PM +, Matan Azrad wrote: > > > From: Pavan Nikhilesh, Wednesday, April 4, 2018 7:42 PM > > Hi Matan, > > > > On Wed, Apr 04, 2018 at 04:10:36PM +, Matan Azrad wrote: > > > Hi Pavan > > > > > > Shouldn't the new APIs be tagged with the experimental tag as agre

[dpdk-dev] [PATCH v3 3/4] net/i40e: add TxRx tuning parameters

2018-04-04 Thread Remy Horton
The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patch allows individual PMDs to specify preferred parameter values. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v3 2/4] net/e1000: add TxRx tuning parameters

2018-04-04 Thread Remy Horton
The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patch allows individual PMDs to specify preferred parameter values. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v3 4/4] testpmd: make use of per-PMD TxRx parameters

2018-04-04 Thread Remy Horton
The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patch allows testpmd to make use of per-PMD tuned parameter values. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v5] net/virtio-user: add support for server mode

2018-04-04 Thread zhiyong . yang
In a container environment if the vhost-user backend restarts, there's no way for it to reconnect to virtio-user. To address this, support for server mode is added. In this mode the socket file is created by virtio- user, which the backend then connects to. This means that if the backend restarts,

[dpdk-dev] [PATCH v3 1/4] ethdev: add support for PMD-tuned Tx/Rx parameters

2018-04-04 Thread Remy Horton
The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patch allows individual PMDs to specify preferred parameter values. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v3 0/4] ethdev: add per-PMD tuning of RxTx parmeters

2018-04-04 Thread Remy Horton
The optimal values of several transmission & reception related parameters, such as burst sizes, descriptor ring sizes, and number of queues, varies between different network interface devices. This patchset allows individual PMDs to specify their preferred parameter values, and if so indicated by a

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Matan Azrad
From: Pavan Nikhilesh, Wednesday, April 4, 2018 7:42 PM > Hi Matan, > > On Wed, Apr 04, 2018 at 04:10:36PM +, Matan Azrad wrote: > > Hi Pavan > > > > Shouldn't the new APIs be tagged with the experimental tag as agreed? > > Can't tag it experimental as it causes cyclic dependency (need to i

[dpdk-dev] [PATCH v7 10/10] doc: add virtio crypto PMD guide

2018-04-04 Thread Jay Zhou
This patch adds the guide for virtio crypto PMD. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- MAINTAINERS | 2 + doc/guides/cryptodevs/features/virtio.ini | 26 +++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryp

[dpdk-dev] [PATCH v7 02/10] crypto/virtio: support virtio device init

2018-04-04 Thread Jay Zhou
This patch implements the initialization of the virtio crypto device. The virtio crypto device conforms to virtio-1.0, so this patch only supports modern mode operation. The cryptodev is created at the virtio crypto pci device probing stage. The function of virtio_crypto_pkt_tx_burst() is used to b

[dpdk-dev] [PATCH v7 05/10] crypto/virtio: support crypto enqueue/dequeue burst API

2018-04-04 Thread Jay Zhou
This patch implements the functions of virtio_crypto_pkt_tx_burst() and virtio_crypto_pkt_rx_burst(). The encryption and decryption requests are placed in the data queue and are ultimately handled by the backend crypto accelerators. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zh

[dpdk-dev] [PATCH v7 06/10] crypto/virtio: support stats related ops

2018-04-04 Thread Jay Zhou
This patch implements the statistics of the packets. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_cryptodev.c | 66 +++- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/virtio/virti

[dpdk-dev] [PATCH v7 04/10] crypto/virtio: support session related ops

2018-04-04 Thread Jay Zhou
This patch implements session related operations, which includes creating and destroying the session. For now, it only supports the session-oriented API implementation. The control queue used to create or destroy sessions for symmetric algorithms. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang A

[dpdk-dev] [PATCH v7 01/10] crypto/virtio: add virtio crypto PMD

2018-04-04 Thread Jay Zhou
The virtio crypto device is a virtual cryptography device as well as a kind of virtual hardware accelerator for virtual machines. The linux kernel virtio-crypto driver has been merged, and this patch introduces virtio crypto PMD to achieve better performance. Signed-off-by: Jay Zhou Reviewed-by:

[dpdk-dev] [PATCH v7 09/10] test/crypto: add function tests for virtio crypto PMD

2018-04-04 Thread Jay Zhou
Only RTE_CRYPTO_CIPHER_AES_CBC cipher algorithm are tested as unit test, it is supported both by the cryptodev-backend-builtin and cryptodev-vhost-user of qemu side. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- test/test/test_cryptodev.c | 48

[dpdk-dev] [PATCH v7 08/10] crypto/virtio: support HMAC-SHA1

2018-04-04 Thread Jay Zhou
The AES-CBC with HMAC-SHA1 has been supported now. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_crypto_capabilities.h | 21 + drivers/crypto/virtio/virtio_cryptodev.c | 4 +++- 2 files changed, 24 insertions(

[dpdk-dev] [PATCH v7 07/10] crypto/virtio: support AES-CBC

2018-04-04 Thread Jay Zhou
The AES-CBC cipher only algorithm has been supported now. Signed-off-by: Jay Zhou Reviewed-by: Fan Zhang Acked-by: Fan Zhang --- drivers/crypto/virtio/virtio_crypto_capabilities.h | 30 ++ drivers/crypto/virtio/virtio_cryptodev.c | 11 2 files changed, 41

[dpdk-dev] [PATCH v7 00/10] crypto: add virtio poll mode driver

2018-04-04 Thread Jay Zhou
This patch series introduce virtio crypto poll mode driver. Since it is limited by the vhost crypto backend of the virtio-crypto, this patch series only supports a limited subset of crypto services. Only the following algorithms are tested: Cipher algorithms: - RTE_CRYPTO_CIPHER_AES_CBC (128-bi

[dpdk-dev] [PATCH v7 03/10] crypto/virtio: support basic PMD ops

2018-04-04 Thread Jay Zhou
This patch implements the basic operations of virtio crypto PMD, which includes start, stop, close, information getting, queue setup and release of the device. The virtio crypto device has two types of queues, data queue and control queue. It has one data queue at least and has one and only one con

Re: [dpdk-dev] [PATCH v10 6/9] eventtimer: add support for meson build system

2018-04-04 Thread Pavan Nikhilesh
On Tue, Apr 03, 2018 at 04:44:20PM -0500, Erik Gabriel Carrillo wrote: > Signed-off-by: Erik Gabriel Carrillo > --- > config/rte_config.h | 1 + > lib/librte_eventdev/meson.build | 9 ++--- > lib/meson.build | 3 ++- > 3 files changed, 9 insertions(+), 4 deletions(

Re: [dpdk-dev] [PATCH v6 0/8] vhost: introduce vhost crypto backend

2018-04-04 Thread Zhoujian (jay)
Hi Maxime, > -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Wednesday, April 04, 2018 11:37 PM > To: Fan Zhang ; dev@dpdk.org; Zhoujian (jay) > > Cc: jianfeng@intel.com; pawelx.wodkow...@intel.com > Subject: Re: [PATCH v6 0/8] vhost: introduce v

Re: [dpdk-dev] [PATCH v10 3/9] eventtimer: add common code

2018-04-04 Thread Pavan Nikhilesh
On Tue, Apr 03, 2018 at 04:44:17PM -0500, Erik Gabriel Carrillo wrote: > This commit adds the logic that is shared by all event timer adapter > drivers; the common code handles instance allocation and some > initialization. > > Signed-off-by: Erik Gabriel Carrillo > --- > config/common_base

Re: [dpdk-dev] [PATCH v2] build: clean up building kernel modules using meson

2018-04-04 Thread Hemant Agrawal
Just checked. Your V2 got build without any warnings for me. Regards, Hemant > -Original Message- > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, April 04, 2018 9:27 PM > To: Hemant Agrawal > Cc: dev@dpdk.org > Subject: Re: [PATCH v2] build: clean up build

Re: [dpdk-dev] [PATCH v6 8/8] doc: update for vhost crypto support

2018-04-04 Thread Zhoujian (jay)
Hi Fan, > -Original Message- > From: Fan Zhang [mailto:roy.fan.zh...@intel.com] > Sent: Wednesday, April 04, 2018 10:25 PM > To: dev@dpdk.org > Cc: Zhoujian (jay) ; roy.fan.zh...@intel.com; > maxime.coque...@redhat.com; jianfeng@intel.com; > pawelx.wodkow...@intel.com > Subject: [PATCH

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Pavan Nikhilesh
Hi Matan, On Wed, Apr 04, 2018 at 04:10:36PM +, Matan Azrad wrote: > Hi Pavan > > Shouldn't the new APIs be tagged with the experimental tag as agreed? Can't tag it experimental as it causes cyclic dependency (need to include rte_compact.h). Besides it's a simple proven math API I don't think

Re: [dpdk-dev] [PATCH V18 4/4] app/testpmd: enable device hotplug monitoring

2018-04-04 Thread Matan Azrad
Hi all What do you think about adding the "--hotplug" parameter as a new EAL command line parameter? From: Tan, Jianfeng, Wednesday, April 4, 2018 6:23 AM > > -Original Message- > > From: Guo, Jia > > Sent: Tuesday, April 3, 2018 6:34 PM > > To: step...@networkplumber.org; Richardson, Br

Re: [dpdk-dev] [PATCH v2 1/2] net/fm10k: convert to new Rx offloads API

2018-04-04 Thread Ferruh Yigit
On 4/3/2018 11:48 AM, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Dai, Wei >> Sent: Tuesday, April 3, 2018 8:11 AM >> To: Ananyev, Konstantin ; Zhang, Qi Z >> ; Wang, Xiao W >> Cc: 'dev@dpdk.org' >> Subject: RE: [dpdk-dev] [PATCH v2 1/2] net/fm10k: convert to new Rx o

Re: [dpdk-dev] [PATCH v3 1/2] eal: add API to align integer to previous power of 2

2018-04-04 Thread Matan Azrad
Hi Pavan Shouldn't the new APIs be tagged with the experimental tag as agreed? Besides that, Acked-by: Matan Azrad From: Pavan Nikhilesh, Wednesday, April 4, 2018 1:16 PM > Add 32b and 64b API's to align the given integer to the previous power of 2. > > Signed-off-by: Pavan Nikhilesh > --- >

Re: [dpdk-dev] [PATCH v2 05/13] net/sfc: fix endian conversions in flow API

2018-04-04 Thread Adrien Mazarguil
Hi Andrew, On Wed, Apr 04, 2018 at 06:30:24PM +0300, Andrew Rybchenko wrote: > Adrien, > > On 04/04/2018 05:57 PM, Adrien Mazarguil wrote: > > These conversions do not use the adequate function. > > > > Fixes: a9825ccf5bb8 ("net/sfc: support flow API filters") > > Fixes: 894080975e1e ("net/sfc:

[dpdk-dev] [PATCH v2] build: clean up building kernel modules using meson

2018-04-04 Thread Bruce Richardson
The meson.build files for building the kernel modules directory could be improved now that it is extracted from the EAL. For example, no global processing is necessary inside the kernel folder, just need to subdir to the appropriate bsd or linux folder to do the actual work. To avoid potential rac

  1   2   3   >