Re: [dpdk-dev] [dpdk-techboard] [PATCH 0/3] RFC: Support disabling DPDK drivers in meson builds

2019-09-27 Thread Maxime Coquelin
On 9/25/19 4:55 PM, Bruce Richardson wrote: > Following on from the discussion about meson at userspace 2019, here is > a patchset which allows a user to disable drivers in a DPDK build. This > set also includes the changes necessary to recursively disable any > drivers that depend upon the disa

Re: [dpdk-dev] [PATCH v2] doc: add oss-security to the security process

2019-09-27 Thread Maxime Coquelin
On 9/21/19 4:52 PM, luca.bocca...@gmail.com wrote: > From: Luca Boccassi > > The OSS-security project functions as a single point of contact for > pre-release, embargoed security notifications. Distributions and major > vendors are subscribed to this private list, so that they can be warned >

Re: [dpdk-dev] [PATCH 00/11] example/l3fwd: introduce event device support

2019-09-27 Thread Pavan Nikhilesh Bhagavatula
Hi Konstantin, We have actually sent v1 before the cutoff date http://patches.dpdk.org/patch/58806/. I missed versioning the patchset as v2. If it's not feasible to review for current release we could push it to 20.02. We at least want to push l2fwd-event example for this release. http://patche

Re: [dpdk-dev] [PATCH v2] vhost: add experimental flag

2019-09-27 Thread Maxime Coquelin
On 9/24/19 11:23 AM, Jim Harris wrote: > This function is listed under EXPERIMENTAL in the > rte_vhost_version.map, so it needs to be marked > with __rte_experimental in the header file as well. > > Found by check-experimental-syms.sh when trying to compile > DPDK with -finstrument-functions.

Re: [dpdk-dev] [PATCH 00/11] add OCTEON TX2 crypto PMD

2019-09-27 Thread Akhil Goyal
Hi Anoob, The series is in my pipeline for the coming week. I have given some comments on nitrox PMD. Please have a look in case they are valid for your PMD as well and send a v2. Regards, Akhil > -Original Message- > From: Anoob Joseph > Sent: Thursday, September 26, 2019 4:34 PM > To

Re: [dpdk-dev] [PATCH 2/3] vhost: fix vring addr handling during live migration

2019-09-27 Thread Maxime Coquelin
On 8/19/19 1:34 PM, Tiwei Bie wrote: > When live migration starts, QEMU will set ring addrs again for > each virtqueue. In this case, we should try to translate ring > addrs after we invalidating the ring, otherwise virtqueues can > be enabled with the addrs untranslated. Besides, also leverage

Re: [dpdk-dev] [PATCH v2 3/9] eal: add windows compatible header files

2019-09-27 Thread Jerin Jacob
On Fri, Sep 27, 2019 at 2:24 AM Pallavi Kadam wrote: > > Adding dlfcn.h on Windows to support common code. > > Adding eal_filesystem.h to support functions and > path defines for files and directories on Windows. > > Adding getopt.h to support parsing options on Windows. > > Adding rte_vect.h as W

[dpdk-dev] [PATCH 2/6] event/dpaa2: remove conditional compilation

2019-09-27 Thread Hemant Agrawal
This patch removes the conditional compilation for cryptodev event support from RTE_LIBRTE_SECURITY flag. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/Makefile | 2 -- drivers/event/dpaa2/dpaa2_eventdev.c | 6 -- 2 files changed, 8 deletions(-) diff --git a/drivers/event/dp

[dpdk-dev] [PATCH 0/6] NXP DPAA2 EVENTDEV enhancements

2019-09-27 Thread Hemant Agrawal
This patch series has minor fixes in dpaa2 eventdev support - default queue and cleanup logic - introducing selftest for dpaa2 v3: review comment cleanup and support retry timeout in enq v2: fix compilation issue wit meson and missing selftest file Hemant Agrawal (5): event/dpaa2: fix def que

[dpdk-dev] [PATCH 1/6] event/dpaa2: fix def queue conf

2019-09-27 Thread Hemant Agrawal
Test vector expect only one type of scheduling as default. The old code is provide support scheduling types instead of default. Fixes: 13370a3877a5 ("eventdev: fix inconsistency in queue config") Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 7 ++---

[dpdk-dev] [PATCH 3/6] event/dpaa2: add destroy support

2019-09-27 Thread Hemant Agrawal
This patch add support to destroy the event device Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/dpaa2_eventdev.c | 35 1 file changed, 35 insertions(+) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index 98b487603

[dpdk-dev] [PATCH 6/6] test/event: enable dpaa2 self test

2019-09-27 Thread Hemant Agrawal
This patch add the support to include dpaa2 event test from the test framework. Signed-off-by: Hemant Agrawal --- app/test/test_eventdev.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index 783140dfe..427dbbf77 100644 --- a/app/te

[dpdk-dev] [PATCH 5/6] event/dpaa2: add selftest cases

2019-09-27 Thread Hemant Agrawal
This patch add support for testing dpaa2 eventdev self test for basic sanity for parallel and atomic queues. Signed-off-by: Hemant Agrawal --- drivers/event/dpaa2/Makefile | 1 + drivers/event/dpaa2/dpaa2_eventdev.c | 1 + drivers/event/dpaa2/dpaa2_eventdev.h

[dpdk-dev] [PATCH 4/6] event/dpaa2: add retry break in packet enqueue

2019-09-27 Thread Hemant Agrawal
From: Nipun Gupta The patch adds the break in the TX function, if it is failing to send the packets out. Previously the system was trying infinitely to send packet out. Signed-off-by: Nipun Gupta --- drivers/event/dpaa2/dpaa2_eventdev.c | 21 + 1 file changed, 17 insertions

[dpdk-dev] [PATCH 3/3] app/crypto-perf: add check for out-of-place case

2019-09-27 Thread Hemant Agrawal
Segmented frames not supported for out-of-place case. This patch returns err if such config is requested. Signed-off-by: Hemant Agrawal --- app/test-crypto-perf/cperf_options_parsing.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app/test-crypto-perf/cperf_options_parsing.c b/app/

Re: [dpdk-dev] [PATCH v2 5/9] eal: add additional function overrides in windows header files

2019-09-27 Thread Jerin Jacob
On Fri, Sep 27, 2019 at 2:25 AM Pallavi Kadam wrote: > > Adding additional function definitions for pthread, cpuset > implementation, asprintf implementation, in order to support > common code. > > Signed-off-by: Pallavi Kadam > Signed-off-by: Antara Ganesh Kolar > Reviewed-by: Ranjit Menon > R

Re: [dpdk-dev] [PATCH] net/ena: change license clause to SPDX tags

2019-09-27 Thread Michał Krawczyk
+ Igor pt., 27 wrz 2019 o 07:32 Hemant Agrawal napisał(a): > > > > -Original Message- > > From: dev On Behalf Of Ferruh Yigit > > Sent: Thursday, September 26, 2019 11:17 PM > > To: Maciej Bielski ; dev@dpdk.org > > Cc: Marcin Wojtas ; Michal Krawczyk > > ; Guy Tzalik ; Evgeny Schemeilin

Re: [dpdk-dev] [PATCH v2 0/4] get Rx/Tx packet burst mode information

2019-09-27 Thread Ye Xiaolong
On 09/26, Haiyue Wang wrote: >v1 -> v2: > 1). Change the return type of dev_ops callback from 'void' to > 'int'. > 2). Update the ice/i40 PMD patches with clear git commit log. > >RFCv3 -> v1: > https://patchwork.dpdk.org/patch/59103/ > https://patchwork.dpdk.org/p

[dpdk-dev] [PATCH] test/event_crypto: change the SEC cipher algo

2019-09-27 Thread Hemant Agrawal
The existing code usages NULL as the cipher algo for testing crypto event adapter. DPAA1/DPAA2 do not support NULL algo. Hence changing is to the most common algo AES-CBC, which is supported by all crypto drivers implementing event crypto adapter. Signed-off-by: Hemant Agrawal --- app/test/test_

[dpdk-dev] [PATCH] test/event_crypto: add check for adapter failure

2019-09-27 Thread Hemant Agrawal
Return err if the adapter creation is failed. Signed-off-by: Hemant Agrawal --- app/test/test_event_crypto_adapter.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index 83f3214ca..275729ba6

[dpdk-dev] [PATCH] test/event_crypto: fix mempool name

2019-09-27 Thread Hemant Agrawal
The longer mempool name size is causing error in rte_mempool_create_empty for dpaa1 ret = snprintf(mz_name, sizeof(mz_name), RTE_MEMPOOL_MZ_FORMAT, name); This patch reduce the size of mempool name string Fixes: 24054e3640a2 ("test/crypto: use separate session mempools") Cc: sta...@dpdk.org Sign

Re: [dpdk-dev] [PATCH v7 1/7] bus/fslmc: fix the conflicting dmb function

2019-09-27 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH 3/3] vhost: protect vring access done by application

2019-09-27 Thread Maxime Coquelin
On 8/19/19 1:34 PM, Tiwei Bie wrote: > Besides the enqueue/dequeue API, other APIs of the builtin net > backend should also be protected. > > Fixes: a3688046995f ("vhost: protect active rings from async ring changes") > Cc: sta...@dpdk.org > > Reported-by: Peng He > Signed-off-by: Tiwei Bie

Re: [dpdk-dev] [PATCH] net/ena: change license clause to SPDX tags

2019-09-27 Thread Ferruh Yigit
On 9/27/2019 6:32 AM, Hemant Agrawal wrote: > >> -Original Message- >> From: dev On Behalf Of Ferruh Yigit >> Sent: Thursday, September 26, 2019 11:17 PM >> To: Maciej Bielski ; dev@dpdk.org >> Cc: Marcin Wojtas ; Michal Krawczyk >> ; Guy Tzalik ; Evgeny Schemeilin >> >> Subject: Re: [dp

[dpdk-dev] [PATCH] net/nfp: replace license text with SPDX tag

2019-09-27 Thread Hemant Agrawal
Signed-off-by: Hemant Agrawal --- drivers/net/nfp/nfp_net.c | 28 +--- drivers/net/nfp/nfp_net_ctrl.h | 28 +--- drivers/net/nfp/nfp_net_logs.h | 28 +--- drivers/net/nfp/nfp_net_pmd.h | 28 +---

[dpdk-dev] [PATCH v2] pmdinfogen: add SPDX license tag

2019-09-27 Thread Hemant Agrawal
This patch adds SPDX license tag to pmdinfogen files. These files are originally drived from kernel. They are being used as binary tool to support internal build. This patch requires license exception approval from DPDK Technical Board and Governing Board. Signed-off-by: Hemant Agrawal Acked-by

[dpdk-dev] [PATCH v6 2/4] power: extend guest channel API for reading

2019-09-27 Thread Marcin Hajkowski
Added new experimental API rte_power_guest_channel_receive_msg which gives possibility to receive messages send to guest. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- lib/librte_power/channel_commands.h| 5 +++ lib/librte_power/guest_channel.c | 60 ++

[dpdk-dev] [PATCH v6 3/4] power: process incoming confirmation cmds

2019-09-27 Thread Marcin Hajkowski
Extend vm_power_guest to check incoming confirmations of messages previously sent to host. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- examples/vm_power_manager/guest_cli/Makefile | 1 + .../guest_cli/vm_power_cli_guest.c| 73 +++

[dpdk-dev] [PATCH v6 1/4] power: fix invalid socket indicator value

2019-09-27 Thread Marcin Hajkowski
Currently 0 is being used for not connected slot indication. This is not consistent with linux doc which identifies 0 as valid (connected) slot, thus modification was done to change it. Fixes: cd0d5547 ("power: vm communication channels in guest") Cc: sta...@dpdk.org Signed-off-by: Marcin Hajkows

[dpdk-dev] [PATCH v6 0/4] bidirectional guest channel

2019-09-27 Thread Marcin Hajkowski
Extend guest channel API to allow bidirectional communication. Modify power manager host and guest side to communicate in both directions. --- v6: * put map file api's in alphabetical order * fix checkpatch issue around experimental tag v5: * enhance logging v4: * [vm_power_manager] treat 0 as

[dpdk-dev] [PATCH v6 4/4] power: send confirmation cmd to vm guest

2019-09-27 Thread Marcin Hajkowski
Use new guest channel API to send confirmation message for received power command. Signed-off-by: Marcin Hajkowski Tested-by: David Hunt Acked-by: Lee Daly --- examples/vm_power_manager/channel_monitor.c | 68 +++-- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a

Re: [dpdk-dev] [PATCH v3 00/22] add hns3 ethernet PMD driver

2019-09-27 Thread Ferruh Yigit
On 9/27/2019 7:52 AM, Wei Hu (Xavier) wrote: > Hi, Ferruh Yigit > > I sent out PATCH V3 to fix the conflict that occurs in > doc/guides/rel_notes/release_19_11.rst when performing > 'git am patch(PATCH V2 series)' operation based on the latest > dpdk-next-net because of the recent change in the

Re: [dpdk-dev] [PATCH v2] net/vhost: fix redundant queue state event

2019-09-27 Thread Maxime Coquelin
On 6/20/19 8:33 AM, Noa Ezra wrote: > In some situations, when a virtual machine is starting, > vring_state_changed can be called while there was no change in the > queue state. This fix makes sure that there was really a change in the > queue state before calling the callback for EVENT_QUEUE_ST

Re: [dpdk-dev] [PATCH] net/ena: change license clause to SPDX tags

2019-09-27 Thread Hemant Agrawal
Hi Michal, You also missed doc/guides/nics/ena.rst Regards, Hemant > -Original Message- > From: Michał Krawczyk > Sent: Friday, September 27, 2019 1:46 PM > To: Hemant Agrawal > Cc: Ferruh Yigit ; Maciej Bielski > ; dev@dpdk.org; Marcin Wojtas > ; Guy Tzalik ; Evgeny Schemeilin

[dpdk-dev] [PATCH v4 0/3] extend RSS offload types

2019-09-27 Thread Simei Su
[PATCH v4 1/3] ethdev: decouple flow types and RSS offload types. [PATCH v4 2/3] ethdev: add several bits for extending rss offload types. [PATCH v4 3/3] app/testpmd: add cmdline support for extending rss types. v4: * divide one patch into two patches. * delete ETH_RSS_L2_SRC/DST_ONLY. v3: * upda

[dpdk-dev] [PATCH v4 1/3] ethdev: decouple flow types and RSS offload types

2019-09-27 Thread Simei Su
This patch decouples RTE_ETH_FLOW_* and ETH_RSS_*. Both serves different purposes. The former defines flow types. The later defines RSS offload types. Signed-off-by: Simei Su --- lib/librte_ethdev/rte_ethdev.h | 49 -- 1 file changed, 23 insertions(+), 26

[dpdk-dev] [PATCH v4 2/3] ethdev: extend RSS offload types

2019-09-27 Thread Simei Su
This patch reserves several bits as input set selection from the high end of the 64 bits. It is combined with exisiting ETH_RSS_* to represent rss types. for example: ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY: hash on src ip address only ETH_RSS_IPV4_UDP | ETH_RSS_L4_DST_ONLY: hash on src/dst IP and

[dpdk-dev] [PATCH v4 3/3] app/testpmd: add RSS offload types extending support

2019-09-27 Thread Simei Su
This patch adds cmdline support for extended rss types configuration. Signed-off-by: Simei Su --- app/test-pmd/config.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index 1a5a5c1..a59a69e 100644 --- a/app/test-pmd/config.c +++ b/app/test-p

Re: [dpdk-dev] [PATCH v3 1/2] net/virtio: update stats when in order xmit done

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > When doing xmit in-order enqueue, packets are buffered and then flushed > into avail ring. Buffered packets can be dropped due to insufficient > space. Moving stats update action just after successful avail ring > updates can guarantee correctness. > > Fi

Re: [dpdk-dev] [PATCH v3 2/2] net/virtio: on demand cleanup when in order xmit

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > Check whether space are enough before burst enqueue operation. If more > space is needed, will try to clean up used descriptors for space on > demand. It can give more chances to free used descriptors, thus will > help RFC2544 performance. Also deduct fail

[dpdk-dev] [PATCH] eal/ppc_64: add SPDX license tag

2019-09-27 Thread Hemant Agrawal
Cc: Gowrishankar Muthukrishnan Signed-off-by: Hemant Agrawal --- lib/librte_eal/common/arch/ppc_64/rte_cycles.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/librte_eal/common/arch/ppc_64/rte_cycles.c b/lib/librte_eal/common/arch/ppc_64/rte_cycles.c index 851fd0255..c96a2143b 100

[dpdk-dev] [PATCH] net/sfc: add SPDX tag in meson build

2019-09-27 Thread Hemant Agrawal
Cc: gda...@solarflare.com Signed-off-by: Hemant Agrawal --- drivers/net/sfc/base/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/sfc/base/meson.build b/drivers/net/sfc/base/meson.build index 6c8030582..074112f16 100644 --- a/drivers/net/sfc/base/meson.build +++ b/driv

[dpdk-dev] [PATCH] doc: replace license text with SPDX tag for AVP nic

2019-09-27 Thread Hemant Agrawal
Cc: Allain Legacy Cc: Matt Peters Signed-off-by: Hemant Agrawal --- doc/guides/nics/avp.rst | 28 +--- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/doc/guides/nics/avp.rst b/doc/guides/nics/avp.rst index 1fcba66ce..b724d97dd 100644 --- a/doc/guides/nics

[dpdk-dev] [PATCH] doc: replace license text with SPDX tag in ARK nic

2019-09-27 Thread Hemant Agrawal
Cc: Ed Czeck Cc: John Miller Signed-off-by: Hemant Agrawal --- doc/guides/nics/ark.rst | 29 + 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/doc/guides/nics/ark.rst b/doc/guides/nics/ark.rst index 6c135eeba..06e8c3374 100644 --- a/doc/guides/nics/ark

[dpdk-dev] [PATCH] examples/netmap_compat: replace license text with SPDX tag

2019-09-27 Thread Hemant Agrawal
Cc: bruce.richard...@intel.com Signed-off-by: Hemant Agrawal --- examples/netmap_compat/netmap/netmap.h | 30 + examples/netmap_compat/netmap/netmap_user.h | 30 + 2 files changed, 2 insertions(+), 58 deletions(-) diff --git a/examples/netmap_compat/

[dpdk-dev] [PATCH] doc: replace license text with SPDX tag for NFP nic

2019-09-27 Thread Hemant Agrawal
Cc: Alejandro Lucero Signed-off-by: Hemant Agrawal --- doc/guides/nics/nfp.rst | 28 +--- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/doc/guides/nics/nfp.rst b/doc/guides/nics/nfp.rst index 309fa5d39..5f2a0698f 100644 --- a/doc/guides/nics/nfp.rst +++ b

Re: [dpdk-dev] [PATCH 1/2] virtio: fix rx stats with vectorized functions

2019-09-27 Thread Maxime Coquelin
On 9/11/19 6:04 PM, Thierry Herbelot wrote: > From: Thibaut Collet > > With vectorized functions, only the rx stats for number of packets is > incremented. > Update also the other statistics. > Performance impact is about 2% > > Fixes: fc3d66212fed ("virtio: add vector Rx") > Cc: sta...@dpdk.

Re: [dpdk-dev] [PATCH v2 2/2] mbuf: add bulk free function

2019-09-27 Thread Bruce Richardson
On Thu, Sep 26, 2019 at 10:11:06PM +0200, Mattias Rönnblom wrote: > On 2019-09-26 10:30, Bruce Richardson wrote: > > On Wed, Sep 25, 2019 at 09:02:28PM +0200, Mattias Rönnblom wrote: > > > On 2019-09-25 14:03, Morten Brørup wrote: > > > > Add function for freeing a bulk of mbufs. > > > > > > > > S

Re: [dpdk-dev] [PATCH 2/2] virtio: get all pending rx packets with vectorized functions

2019-09-27 Thread Maxime Coquelin
On 9/11/19 6:04 PM, Thierry Herbelot wrote: > From: Thibaut Collet > > The loop to read packets does not take all packets as the number of > available packets (nb_used) is decremented in the loop. > Take all available packets provides a performance improvement of 3%. > > Fixes: fc3d66212fed (

[dpdk-dev] [PATCH v4 1/4] examples/ipsec-secgw: ipsec_sa structure cleanup

2019-09-27 Thread Marcin Smoczynski
Cleanup ipsec_sa structure by removing every field that is already in the rte_ipsec_session structure: * cryptodev/security session union * action type * offload flags * security context References to abovementioned fields are changed to direct references to matching fields of rte_ipsec_session

[dpdk-dev] [PATCH v4 2/4] examples/ipsec-secgw: add fallback session feature

2019-09-27 Thread Marcin Smoczynski
Inline processing is limited to a specified subset of traffic. It is often unable to handle more complicated situations, such as fragmented traffic. When using inline processing such traffic is dropped. Introduce fallback session for inline processing allowing processing packets that normally woul

Re: [dpdk-dev] [PATCH 0/2] Fixes in virtio vectorized functions

2019-09-27 Thread Maxime Coquelin
Hi David, On 9/11/19 6:04 PM, Thierry Herbelot wrote: > Two fixes in the vectorized functions of virtio. > > Thibaut Collet (2): > virtio: fix rx stats with vectorized functions > virtio: get all pending rx packets with vectorized functions > > drivers/net/virtio/virtio_rxtx.c |

[dpdk-dev] [PATCH v4 0/4] add fallback session

2019-09-27 Thread Marcin Smoczynski
Add fallback session feature allowing to process packets that inline processor is unable to handle (e.g. fragmented traffic). Processing takes place in a secondary session defined for SA in a configuration file. This feature is limited to ingress IPsec traffic only. IPsec anti-replay window and ES

[dpdk-dev] [PATCH v4 4/4] examples/ipsec-secgw: add offload fallback tests

2019-09-27 Thread Marcin Smoczynski
Add tests for offload fallback feature; add inbound config modificator SGW_CFG_XPRM_IN (offload fallback setting can be set only for inbound SAs). Tests are using cryptodev for outbound SA. To test fragmentation with QAT set: MULTI_SEG_TEST="--reassemble=4096 --cryptodev_mask=0x" Acked-by: Ko

[dpdk-dev] [PATCH v4 3/4] examples/ipsec-secgw: add frag TTL cmdline option

2019-09-27 Thread Marcin Smoczynski
Due to fragment loss on highly saturated links and long fragment lifetime, ipsec-secgw application quickly runs out of free reassembly buckets. As a result new fragments are being dropped. Introduce --frag-ttl option which allow user to lower default fragment lifitime which solves problem of satur

[dpdk-dev] [PATCH v4 1/8] net/ice: enable flow director engine

2019-09-27 Thread Yahui Cao
From: Beilei Xing Enable flow director engine, including initialization and teardown. - Control VSI create and release. - Queue pair allocated, set up and release. - Programming packet create and release. - FDIR profile create and release. Signed-off-by: Beilei Xing --- drivers/net/ice/Mak

[dpdk-dev] [PATCH v4 2/8] net/ice: configure HW FDIR rule

2019-09-27 Thread Yahui Cao
From: Beilei Xing This patch adds a HW FDIR rule to the FDIR HW table without adding a FDIR filter. Signed-off-by: Beilei Xing --- drivers/net/ice/ice_ethdev.h | 1 + drivers/net/ice/ice_fdir_filter.c | 255 +- 2 files changed, 255 insertions(+), 1 deletion(-

[dpdk-dev] [PATCH v4 0/8] net/ice: add ice Flow Director driver

2019-09-27 Thread Yahui Cao
This patch series adds Flow Director support for Intel Ethernet Controller E810 series using RTE_FLOW - Patch 01-02 are FDIR init,teardown and configuration - Remaining patches are FDIR RTE_FLOW enablement The patchset depends on: http://patchwork.dpdk.org/project/dpdk/list/?series=6557 --- v4: *

[dpdk-dev] [PATCH v4 3/8] net/ice: add FDIR create and destroy

2019-09-27 Thread Yahui Cao
Add ice_create_fdir_filter to create a rule. If a flow is matched by flow director filter, filter rule will be set to HW. For now common pattern and queue/passthru/drop/mark actions are supported. Signed-off-by: Yahui Cao --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/ice_et

[dpdk-dev] [PATCH v4 5/8] net/ice: add FDIR counter resource init/release

2019-09-27 Thread Yahui Cao
The patch integrates the counter resource init/release into fdir's init/release scenario Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 33 +++ drivers/net/ice/ice_fdir_filter.c | 92 +++ 2 files changed, 125 insertions(+) diff --git a/drive

[dpdk-dev] [PATCH v4 6/8] net/ice: add FDIR counter support

2019-09-27 Thread Yahui Cao
This patch add FDIR statistical counter support and it includes RTE_FLOW count actions support and query support. RTE_FLOW count actions support id and shared. RTE_FLOW query record packet hits by default. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 7 ++ drivers/net/ice/

[dpdk-dev] [PATCH v4 4/8] net/ice: enable FDIR queue group

2019-09-27 Thread Yahui Cao
FDIR can send packet to a group of queues and distruibte it by RSS. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_fdir_filter.c | 68 +++ 1 file changed, 68 insertions(+) diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c index 8d1

[dpdk-dev] [PATCH v4 7/8] net/ice: reject duplicate flow for FDIR

2019-09-27 Thread Yahui Cao
Enable duplication lookup for existing flow director rule entry. Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 17 +++ drivers/net/ice/ice_fdir_filter.c | 186 -- 2 files changed, 196 insertions(+), 7 deletions(-) diff --git a/drivers/net/ice/ice_

[dpdk-dev] [PATCH v4 8/8] net/ice: add FDIR vxlan tunnel support

2019-09-27 Thread Yahui Cao
Enable FDIR vxlan tunnel matching for RTE_FLOW Signed-off-by: Yahui Cao --- drivers/net/ice/ice_ethdev.h | 8 +++ drivers/net/ice/ice_fdir_filter.c | 101 +++--- 2 files changed, 99 insertions(+), 10 deletions(-) diff --git a/drivers/net/ice/ice_ethdev.h b/drivers

Re: [dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API

2019-09-27 Thread Akhil Goyal
Hi Konstantin, > -Original Message- > From: Ananyev, Konstantin > Sent: Wednesday, September 25, 2019 11:54 PM > To: Akhil Goyal ; 'dev@dpdk.org' ; De > Lara Guarch, Pablo ; 'Thomas Monjalon' > > Cc: Zhang, Roy Fan ; Doherty, Declan > ; 'Anoob Joseph' > Subject: RE: [RFC PATCH 1/9] secu

Re: [dpdk-dev] [PATCH] net/virtio: fix mbuf data and pkt length mismatch

2019-09-27 Thread Maxime Coquelin
On 9/23/19 4:05 PM, Marvin Liu wrote: > If reserve virtio header room by function rte_pktmbuf_prepend, both > segment data length and packet length of mbuf will be increased. > Data length will be equal to descriptor length, while packet length > should be decreased as virtio-net header won't be

Re: [dpdk-dev] [PATCH] doc: virtio MAC/VLAN filtering is best effort

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:00 AM, Tiwei Bie wrote: > Explicitly document that the MAC/VLAN filtering in virtio > is best effort to help users understand why unwanted packets > could still arrive. > > Signed-off-by: Tiwei Bie > --- > doc/guides/nics/virtio.rst | 2 +- > 1 file changed, 1 insertion(+), 1 del

Re: [dpdk-dev] [PATCH 0/3] Some fixes for vhost

2019-09-27 Thread Maxime Coquelin
On 8/19/19 1:34 PM, Tiwei Bie wrote: > Tiwei Bie (3): > vhost: do not realloc device and queues during running > vhost: fix vring addr handling during live migration > vhost: protect vring access done by application > > lib/librte_vhost/vhost.c | 53 ++---

Re: [dpdk-dev] [PATCH v2] vhost: add experimental flag

2019-09-27 Thread Maxime Coquelin
On 9/24/19 11:23 AM, Jim Harris wrote: > This function is listed under EXPERIMENTAL in the > rte_vhost_version.map, so it needs to be marked > with __rte_experimental in the header file as well. > > Found by check-experimental-syms.sh when trying to compile > DPDK with -finstrument-functions.

Re: [dpdk-dev] [PATCH v2] net/vhost: fix redundant queue state event

2019-09-27 Thread Maxime Coquelin
On 9/27/19 10:49 AM, Maxime Coquelin wrote: > > > On 6/20/19 8:33 AM, Noa Ezra wrote: >> In some situations, when a virtual machine is starting, >> vring_state_changed can be called while there was no change in the >> queue state. This fix makes sure that there was really a change in the >> qu

Re: [dpdk-dev] [PATCH v3 1/2] net/virtio: update stats when in order xmit done

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > When doing xmit in-order enqueue, packets are buffered and then flushed > into avail ring. Buffered packets can be dropped due to insufficient > space. Moving stats update action just after successful avail ring > updates can guarantee correctness. > > Fi

Re: [dpdk-dev] [PATCH v3 2/2] net/virtio: on demand cleanup when in order xmit

2019-09-27 Thread Maxime Coquelin
On 9/18/19 7:06 PM, Marvin Liu wrote: > Check whether space are enough before burst enqueue operation. If more > space is needed, will try to clean up used descriptors for space on > demand. It can give more chances to free used descriptors, thus will > help RFC2544 performance. Also deduct fail

Re: [dpdk-dev] [PATCH 0/2] Fixes in virtio vectorized functions

2019-09-27 Thread Maxime Coquelin
On 9/11/19 6:04 PM, Thierry Herbelot wrote: > Two fixes in the vectorized functions of virtio. > > Thibaut Collet (2): > virtio: fix rx stats with vectorized functions > virtio: get all pending rx packets with vectorized functions > > drivers/net/virtio/virtio_rxtx.c | 2 +- >

Re: [dpdk-dev] [PATCH] net/virtio: fix mbuf data and pkt length mismatch

2019-09-27 Thread Maxime Coquelin
On 9/23/19 4:05 PM, Marvin Liu wrote: > If reserve virtio header room by function rte_pktmbuf_prepend, both > segment data length and packet length of mbuf will be increased. > Data length will be equal to descriptor length, while packet length > should be decreased as virtio-net header won't be

[dpdk-dev] [PATCH v7 1/5] net/e1000: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Di ChenxuX --- doc/guides/rel_notes/release_19_11.rst | 5 + drivers/net/e1000/em_ethdev.c | 33 +++--- drivers/net/e1000/igb_ethdev.c | 144

Re: [dpdk-dev] [PATCH 4/4] power: add cmd to query CPU freq.

2019-09-27 Thread Daly, Lee
> -Original Message- > From: Hajkowski, MarcinX > Sent: Wednesday, April 3, 2019 6:16 PM > To: Hunt, David > Cc: dev@dpdk.org; Hajkowski, MarcinX > Subject: [PATCH 4/4] power: add cmd to query CPU freq. > > From: Marcin Hajkowski > > Add command and related logic to query CPU freque

Re: [dpdk-dev] [PATCH] doc: virtio MAC/VLAN filtering is best effort

2019-09-27 Thread Maxime Coquelin
On 9/27/19 11:38 AM, Maxime Coquelin wrote: > > > On 9/18/19 7:00 AM, Tiwei Bie wrote: >> Explicitly document that the MAC/VLAN filtering in virtio >> is best effort to help users understand why unwanted packets >> could still arrive. >> >> Signed-off-by: Tiwei Bie >> --- >> doc/guides/nics/

[dpdk-dev] [PATCH v7 0/5] drivers/net: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). This patch cover all the intel drivers. --- V7 changes: Modified code on the last commit. V6 changes: Fixed check error. V5 changes: Added code in em_ethdev.c. Separated

[dpdk-dev] [PATCH v7 2/5] net/fm10k: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Di ChenxuX --- doc/guides/rel_notes/release_19_11.rst | 4 + drivers/net/fm10k/fm10k_ethdev.c | 100 + 2 files changed, 56 insert

[dpdk-dev] [PATCH v7 3/5] net/i40e: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Di ChenxuX --- doc/guides/rel_notes/release_19_11.rst | 4 + drivers/net/i40e/i40e_ethdev.c | 128 - drivers/net/i40e/i40e_ethd

[dpdk-dev] [PATCH v4 0/2] enable advanced RSS

2019-09-27 Thread Simei Su
[PATCH v4 1/2] add teid hash for gtupu and session id hash for pppoe/pppod. [PATCH v4 2/2] support input set change and symmetric hash by rte_flow RSS action. [PTACH v4 2/2] depends on the following patches on patchwork: (1)net/ice: rework for generic flow enabling (2)https://patchwork.dpdk.o

[dpdk-dev] [PATCH v4 1/2] net/ice: add RSS configuration for gtpu/pppoe

2019-09-27 Thread Simei Su
This patch adds rss support for gtpu with input set teid and pppoe/pppod with input set source mac and session id. Signed-off-by: Simei Su --- drivers/net/ice/ice_ethdev.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_et

[dpdk-dev] [PATCH v7 4/5] net/ice: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Di ChenxuX --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/ice_ethdev.c | 30 -- 2 files changed, 15 inserti

[dpdk-dev] [PATCH v7 5/5] net/ixgbe: release port upon close

2019-09-27 Thread Di ChenxuX
Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Di ChenxuX --- doc/guides/rel_notes/release_19_11.rst | 4 + drivers/net/ixgbe/ixgbe_ethdev.c | 167 + 2 files changed, 89 insert

[dpdk-dev] [PATCH v4 2/2] net/ice: enable advanced RSS

2019-09-27 Thread Simei Su
This patch supports the following features: (1)inner header hash for tunnel packets, including comms package. (2)symmetric hash by rte_flow RSS action. (3)input set change by rte_flow RSS action. Signed-off-by: Simei Su --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/ice/Ma

Re: [dpdk-dev] [PATCH] vhost: fix vring memory partially mapped

2019-09-27 Thread Maxime Coquelin
On 9/17/19 9:03 PM, Adrian Moreno wrote: > On 9/6/19 2:50 PM, Adrian Moreno wrote: >> Only the mapping of the vring addresses is being ensured. This causes >> errors when the vring size is larger than the IOTLB page size. E.g: >> queue sizes > 256 for 4K IOTLB pages >> >> Ensure the entire vring

Re: [dpdk-dev] [PATCH v5 1/6] examples/ioat: create sample app on ioat driver usage

2019-09-27 Thread Bruce Richardson
On Fri, Sep 20, 2019 at 09:37:09AM +0200, Marcin Baran wrote: > From: Pawel Modrak > > A new sample app demonstrating use of driver for CBDMA. > The app receives packets, performs software or hardware > copy, changes packets' MAC addresses (if enabled) and > forwards them. The change covers ports

Re: [dpdk-dev] [PATCH v5 2/6] examples/ioat: add software copy support

2019-09-27 Thread Bruce Richardson
On Fri, Sep 20, 2019 at 09:37:10AM +0200, Marcin Baran wrote: > Added support for copying packets > using software copy mode and MAC address > changing. The copies are processed using > one lcore. > > Signed-off-by: Marcin Baran > Signed-off-by: Pawel Modrak > --- > examples/ioat/ioatfwd.c | 21

[dpdk-dev] [PATCH v3 1/3] mbuf: add bulk free function

2019-09-27 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup --- lib/librte_mbuf/rte_mbuf.h | 17 + 1 file changed, 17 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index 98225ec80..f2e174da1 100644 --- a/lib/librte_mbuf/rte_mbuf.h

[dpdk-dev] [PATCH v3 0/3] mbuf: add bulk free function

2019-09-27 Thread Morten Brørup
Add function for freeing a bulk of mbufs. v3: * Bugfix: Handle pakets with multiple segments. * Added inline helper function, mainly for readability. * Fix source code formatting regarding indentation. v2: * Function is not inline. * Optimized to free multible mbufs belonging to the same mempool i

[dpdk-dev] [PATCH v3 3/3] mbuf: add bulk free function

2019-09-27 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup --- lib/librte_mbuf/rte_mbuf.c | 41 ++ 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c index b63a0eced..008891720 10

[dpdk-dev] [PATCH v3 2/3] mbuf: add bulk free function

2019-09-27 Thread Morten Brørup
Add function for freeing a bulk of mbufs. Signed-off-by: Morten Brørup --- lib/librte_mbuf/rte_mbuf.c | 35 +++ lib/librte_mbuf/rte_mbuf.h | 16 +--- 2 files changed, 40 insertions(+), 11 deletions(-) diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/libr

Re: [dpdk-dev] [PATCH v5 3/6] examples/ioat: add rawdev copy mode support

2019-09-27 Thread Bruce Richardson
On Fri, Sep 20, 2019 at 09:37:11AM +0200, Marcin Baran wrote: > Added support for copying packets using > rawdev device. Each port's Rx queue is > assigned DMA channel for copy. > > Signed-off-by: Marcin Baran > Signed-off-by: Pawel Modrak > --- > examples/ioat/ioatfwd.c | 236 +

Re: [dpdk-dev] [PATCH v5 4/6] examples/ioat: add two threads configuration

2019-09-27 Thread Bruce Richardson
On Fri, Sep 20, 2019 at 09:37:12AM +0200, Marcin Baran wrote: > From: Pawel Modrak > > Added possibility to use two lcores: first for > packet receiving and copying, second for packets > sending. > > Signed-off-by: Pawel Modrak > Signed-off-by: Marcin Baran > --- > examples/ioat/ioatfwd.c | 9

Re: [dpdk-dev] [PATCH] test/event_crypto: add check for adapter failure

2019-09-27 Thread Gujjar, Abhinandan S
Acked-by: abhinandan.guj...@intel.com > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 1:46 PM > To: dev@dpdk.org; Gujjar, Abhinandan S > Cc: Hemant Agrawal > Subject: [PATCH] test/event_crypto: add check for adapter failure > > Return err if the adapter c

Re: [dpdk-dev] [PATCH] test/event_crypto: change the SEC cipher algo

2019-09-27 Thread Gujjar, Abhinandan S
Acked-by: abhinandan.guj...@intel.com > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 1:46 PM > To: dev@dpdk.org; Gujjar, Abhinandan S > Cc: Hemant Agrawal > Subject: [PATCH] test/event_crypto: change the SEC cipher algo > > The existing code usages NULL

Re: [dpdk-dev] [PATCH v5 5/6] examples/ioat: add stats printing for each port

2019-09-27 Thread Bruce Richardson
On Fri, Sep 20, 2019 at 09:37:13AM +0200, Marcin Baran wrote: > Added printing stats of ports each second. > The stats printing is done using master core. > The information provided informs about packets > received, dropped and send as well as statistics > of rawdev devices. > > Signed-off-by: Mar

Re: [dpdk-dev] [PATCH] test/event_crypto: fix mempool name

2019-09-27 Thread Gujjar, Abhinandan S
Acked-by: abhinandan.guj...@intel.com > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 1:46 PM > To: dev@dpdk.org; Gujjar, Abhinandan S > Cc: sta...@dpdk.org; Hemant Agrawal > Subject: [PATCH] test/event_crypto: fix mempool name > > The longer mempool nam

Re: [dpdk-dev] [PATCH 4/4] power: add cmd to query CPU freq.

2019-09-27 Thread Ferruh Yigit
On 9/27/2019 10:52 AM, Daly, Lee wrote: > > >> -Original Message- >> From: Hajkowski, MarcinX >> Sent: Wednesday, April 3, 2019 6:16 PM >> To: Hunt, David >> Cc: dev@dpdk.org; Hajkowski, MarcinX >> Subject: [PATCH 4/4] power: add cmd to query CPU freq. >> >> From: Marcin Hajkowski >> >

Re: [dpdk-dev] [PATCH v2 2/2] mbuf: add bulk free function

2019-09-27 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Thursday, September 26, 2019 12:23 PM > > > Hi Morten, > > > > > Add function for freeing a bulk of mbufs. > > > > Signed-off-by: Morten Brørup > > --- > > lib/librte_mbuf/rte_mbuf

  1   2   3   >