Re: [dpdk-dev] [Suspected-Phishing][PATCH] net/vhost: add an API for get queue status

2019-06-25 Thread Noa Ezra
> -Original Message- > From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] > Sent: Monday, June 24, 2019 7:47 PM > To: Noa Ezra ; tiwei@intel.com; > zhihong.w...@intel.com > Cc: Matan Azrad ; dev@dpdk.org > Subject: Re: [Suspected-Phishing][PATCH] net/vhost: add an API for get >

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

2019-06-25 Thread Noa Ezra
Hi, What do you think about this patch? Thanks, Noa. > -Original Message- > From: Noa Ezra [mailto:n...@mellanox.com] > Sent: Wednesday, June 19, 2019 9:16 AM > To: maxime.coque...@redhat.com > Cc: Matan Azrad ; dev@dpdk.org; Noa Ezra > ; sta...@dpdk.org > Subject: [Suspected-Phishing][PA

Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics

2019-06-25 Thread Pei, Andy
Hi Marchand, Reply in line. Best Regards, From: David Marchand [mailto:david.march...@redhat.com] Sent: Wednesday, June 19, 2019 5:06 PM To: Pei, Andy Cc: dev ; Xu, Rosen Subject: Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics On Wed, Jun 19, 2019 at 10:56 AM Andy Pe

Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics

2019-06-25 Thread David Marchand
On Tue, Jun 25, 2019 at 9:10 AM Pei, Andy wrote: > *From:* David Marchand [mailto:david.march...@redhat.com] > *Sent:* Wednesday, June 19, 2019 5:06 PM > *To:* Pei, Andy > *Cc:* dev ; Xu, Rosen > *Subject:* Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of > statistics > > > > > > > >

Re: [dpdk-dev] [PATCH] maintainers: claim maintainership of net-mrvl sub tree

2019-06-25 Thread Ferruh Yigit
On 6/25/2019 6:42 AM, jer...@marvell.com wrote: > From: Jerin Jacob > > Claim the maintainership of the sub tree dpdk-next-net-mrvl, > which covers all the Marvell network PMDs. > > Cc: Maciej Czekaj > Cc: Shijith Thotton > Cc: Liron Himi > Cc: Zyta Szpak > Cc: Rasesh Mody > Cc: Shahed Shai

Re: [dpdk-dev] [Suspected-Phishing][PATCH] net/vhost: add an API for get queue status

2019-06-25 Thread Maxime Coquelin
On 6/25/19 9:00 AM, Noa Ezra wrote: -Original Message- From: Maxime Coquelin [mailto:maxime.coque...@redhat.com] Sent: Monday, June 24, 2019 7:47 PM To: Noa Ezra ; tiwei@intel.com; zhihong.w...@intel.com Cc: Matan Azrad ; dev@dpdk.org Subject: Re: [Suspected-Phishing][PATCH] net

Re: [dpdk-dev] [Suspected-Phishing][PATCH] net/vhost: add an API for get queue status

2019-06-25 Thread Maxime Coquelin
And about short term, can't you just call rte_eth_vhost_get_queue_event() in loop at startup until you get -1 and build the states based on that? As states->seen is zero-initialized, you would get all queues that have been enabled before event handler is registered, right? Thanks, Maxime On 6/2

[dpdk-dev] [PATCH v4 2/4] net/ipn3ke: delete MAC register address mask

2019-06-25 Thread Andy Pei
original code is compatible with older device, whose mac register address is no more than 10 bits. Now we have mac register address longer than 10 bits, so we just delete the mask here. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers

[dpdk-dev] [PATCH v4] net/ipn3ke: implementation of statistics

2019-06-25 Thread Andy Pei
This patch implemente statistics read and reset function for ipn3ke. Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- Cc: david.march...@redhat.com v4: * modify elements in ipn3ke_rpst_stats_strings[] tx_dropped -> tx_dropped_packets rx_

[dpdk-dev] [PATCH v4 1/4] net/ipn3ke: add new register address

2019-06-25 Thread Andy Pei
ipn3ke can work on 10G mode and 25G mode. 10G mode and 25G mode has different MAC register address for statistics. This patch implemente statistics registers for 10G mode and 25G mode. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers/

[dpdk-dev] [PATCH v4 3/4] net/ipn3ke: clear statistics when init and start dev

2019-06-25 Thread Andy Pei
clear line side and NIC side statistics registers when HW init and uinit, and when dev start. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 59 - drivers/net/ipn3ke/

[dpdk-dev] [PATCH v4 2/4] net/ipn3ke: delete MAC register address mask

2019-06-25 Thread Andy Pei
original code is compatible with older device, whose mac register address is no more than 10 bits. Now we have mac register address longer than 10 bits, so we just delete the mask here. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers

[dpdk-dev] [PATCH v4 4/4] net/ipn3ke: implementation of statistics

2019-06-25 Thread Andy Pei
This patch implemente statistics read and reset function for ipn3ke. Fixes: 70d6b7f550f4 ("net/ipn3ke: add representor") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- Cc: david.march...@redhat.com v4: * modify elements in ipn3ke_rpst_stats_strings[] tx_dropped -> tx_dropped_packets rx_

[dpdk-dev] [PATCH v4 3/4] net/ipn3ke: clear statistics when init and start dev

2019-06-25 Thread Andy Pei
clear line side and NIC side statistics registers when HW init and uinit, and when dev start. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 59 - drivers/net/ipn3ke/

[dpdk-dev] [PATCH v4 1/4] net/ipn3ke: add new register address

2019-06-25 Thread Andy Pei
ipn3ke can work on 10G mode and 25G mode. 10G mode and 25G mode has different MAC register address for statistics. This patch implemente statistics registers for 10G mode and 25G mode. Fixes: c01c748e4ae6 ("net/ipn3ke: add new driver") Cc: rosen...@intel.com Signed-off-by: Andy Pei --- drivers/

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

2019-06-25 Thread Maxime Coquelin
On 6/25/19 9:04 AM, Noa Ezra wrote: Hi, What do you think about this patch? Thanks, Noa. -Original Message- From: Noa Ezra [mailto:n...@mellanox.com] Sent: Wednesday, June 19, 2019 9:16 AM To: maxime.coque...@redhat.com Cc: Matan Azrad ; dev@dpdk.org; Noa Ezra ; sta...@dpdk.org Subj

Re: [dpdk-dev] [PATCH v2 0/3] net/mvneta: minor updates

2019-06-25 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of lir...@marvell.com > Sent: Thursday, June 13, 2019 7:28 PM > To: dev@dpdk.org > Cc: Liron Himi > Subject: [dpdk-dev] [PATCH v2 0/3] net/mvneta: minor updates > > From: Liron Himi > > Two patches handle statistics issues, the 3rd patch use o

[dpdk-dev] [PATCH] vhost: support inflight share memory protocol feature

2019-06-25 Thread JinYu
This patch introduces two new messages VHOST_USER_GET_INFLIGHT_FD and VHOST_USER_SET_INFLIGHT_FD to support transferring a shared buffer between qemu and backend. Firstly, qemu uses VHOST_USER_GET_INFLIGHT_FD to get the shared buffer from backend. Then qemu should send it back through VHOST_USER_S

Re: [dpdk-dev] [PATCH v2] lib/telemetry: add support to fetch global metrics

2019-06-25 Thread Pattan, Reshma
> -Original Message- > From: Chautru, Nicolas > Sent: Monday, June 24, 2019 6:37 PM > To: Thomas Monjalon ; Pattan, Reshma > > Cc: dev@dpdk.org; Laatz, Kevin > Subject: RE: [dpdk-dev] [PATCH v2] lib/telemetry: add support to fetch global > metrics > > Hi Reshma, > I am still seeing bu

Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics

2019-06-25 Thread Pei, Andy
Hi, Marchand, Reply in line. From: David Marchand [mailto:david.march...@redhat.com] Sent: Tuesday, June 25, 2019 3:17 PM To: Pei, Andy Cc: dev ; Xu, Rosen Subject: Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics On Tue, Jun 25, 2019 at 9:10 AM Pei, Andy mailto:andy..

Re: [dpdk-dev] [PATCH v3 4/4] net/ipn3ke: implementation of statistics

2019-06-25 Thread David Marchand
On Tue, Jun 25, 2019 at 10:53 AM Pei, Andy wrote: > Hi, Marchand, > You can call me David :-). > > Reply in line. > > > > *From:* David Marchand [mailto:david.march...@redhat.com] > *Sent:* Tuesday, June 25, 2019 3:17 PM > *To:* Pei, Andy > *Cc:* dev ; Xu, Rosen > *Subject:* Re: [dpdk-dev] [

Re: [dpdk-dev] [PATCH] net/i40e: i40e rework for ipn3ke

2019-06-25 Thread Pei, Andy
+ Ye Xiaolong -Original Message- From: Xu, Rosen Sent: Tuesday, June 11, 2019 10:35 AM To: Pei, Andy ; dev@dpdk.org Cc: Zhang, Roy Fan ; Zhang, Qi Z ; Wu, Jingjing ; Xing, Beilei ; Yigit, Ferruh Subject: RE: [PATCH] net/i40e: i40e rework for ipn3ke Hi Andy, > -Original Message---

Re: [dpdk-dev] [PATCH v6 0/4] add IOVA = VA support in KNI

2019-06-25 Thread Burakov, Anatoly
On 25-Jun-19 4:56 AM, vattun...@marvell.com wrote: From: Vamsi Attunuru V6 Changes: * Added new mempool flag to ensure mbuf memory is not scattered across page boundaries. * Added KNI kernel module required PCI device information. * Modified KNI example application to create mempool with n

[dpdk-dev] [PATCH v3] net/memif: multi-process support

2019-06-25 Thread Jakub Grajciar
Multi-process support for memif PMD. Primary process handles connection establishment. Secondary process queries for memory regions. Signed-off-by: Jakub Grajciar --- drivers/net/memif/Makefile| 3 + drivers/net/memif/memif_socket.c | 45 +-- drivers/net/memif/meson.build | 3 +

Re: [dpdk-dev] [PATCH v2] cryptodev: add ff_disable field in cryptodev config

2019-06-25 Thread Akhil Goyal
> > Adding a new field, ff_disable, to allow applications to control the > features enabled on the crypto device. This would allow for efficient > usage of HW/SW offloads. > > Signed-off-by: Anoob Joseph > --- > v2: > * Updated test & example applications to incorporate the default setting >

Re: [dpdk-dev] [PATCH] test/eal: add ut cases for in-memory and single-file-segment

2019-06-25 Thread Burakov, Anatoly
On 14-Jun-19 2:37 PM, Pallantla Poornima wrote: Added unit test case for eal command line 'in-memory' option which will cover below functions. get_seg_memfd() test_memfd_create() pagesz_flags() Added unit test case for eal command line 'single-file-segments' option which will cover resize_hugefi

Re: [dpdk-dev] [PATCH v3] net/memif: multi-process support

2019-06-25 Thread Burakov, Anatoly
On 25-Jun-19 11:05 AM, Jakub Grajciar wrote: Multi-process support for memif PMD. Primary process handles connection establishment. Secondary process queries for memory regions. Signed-off-by: Jakub Grajciar --- +/* Message header to synchronize regions */ +struct mp_region_msg { + c

Re: [dpdk-dev] [PATCH 00/39] adding eventmode helper library

2019-06-25 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: Anoob Joseph > Sent: Thursday, June 20, 2019 9:15 AM > To: Mattias Rönnblom ; Jerin Jacob > Kollanukkaran ; Nikhil Rao ; Erik > Gabriel Carrillo ; Abhinandan Gujjar > ; Bruce Richardson > ; Pablo de Lara > > Cc: Narayana Prasad Raju Athreya ; dev@dpdk.org; > Lu

[dpdk-dev] [PATCH v1] app/testpmd: fix setting RSS queue rule failure on fedora30

2019-06-25 Thread Haiyue Wang
Declare a local variable 'arg' to hold the pointer to ARGS_ENTRY_ARB, otherwise, the pop 'arg' in 'parse_int' holds wrong data like 'arg-> offset = 5912737, arg->size = 0', this caused the parse failure. If calling like 'push_args(ctx, ARGS_ENTRY_ARB..)', the below code for assgining 'offset & siz

[dpdk-dev] [PATCH 1/3] bus/dpaa: add plug support and rework parse

2019-06-25 Thread Hemant Agrawal
From: Shreyansh Jain Parse and find_device have specific function - former is for parsing a string passed as argument, whereas the later is for iterating over all the devices in the bus and calling a callback/handler. They have been corrected with their right operations to support hotplugging/dev

[dpdk-dev] [PATCH 2/3] bus/dpaa: update dpaa mempool for secondary process

2019-06-25 Thread Hemant Agrawal
1. need to use the bpool with rte_malloc instead of rte_free 2. Option to give portal to the seondary process thread. Signed-off-by: Radu Bulie Signed-off-by: Hemant Agrawal Tested-by: Akhil Goyal --- drivers/bus/dpaa/include/compat.h | 10 ++ drivers/mempool/dpaa/dpaa_mempool.c | 11

[dpdk-dev] [PATCH 3/3] net/dpaa: support interface init for multi process

2019-06-25 Thread Hemant Agrawal
From: Akhil Goyal The existing code is enabling the Tx queues as per the number of lcore count, which is causing issue in case of secondary process running on different number of cores. This patch fixes the Tx queues to number of DPAA cores, which helps in using fixed number of Tx queues across p

[dpdk-dev] [PATCH v2] app/testpmd: fix setting RSS queue rule failure on fedora30

2019-06-25 Thread Haiyue Wang
Declare a local variable 'arg' to hold the pointer to ARGS_ENTRY_ARB, otherwise, the pop 'arg' in 'parse_int' holds wrong data like 'arg-> offset = 5912737, arg->size = 0', this caused the parse failure. If calling like 'push_args(ctx, ARGS_ENTRY_ARB..)', the below code for assgining 'offset & siz

[dpdk-dev] [PATCH 1/5] bus/fslmc: support device iteration

2019-06-25 Thread Hemant Agrawal
From: Shreyansh Jain Recent (18.11+), devargs structure was changed and so was DPDK port usage in applications like OVS. Applications are now allowed to plug/unplug ports (eth) using APIs (hotplug) based on device arguments. This patch enables the plug/unplug function (which are dummy for FSLMC)

[dpdk-dev] [PATCH 2/5] bus/fslmc: enhance error handling for dev parsing

2019-06-25 Thread Hemant Agrawal
From: Shreyansh Jain In case an incorrect device is found, it was quiting further search rather than skipping it. Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_bus.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/bus/fslmc/fsl

[dpdk-dev] [PATCH 3/5] bus/fslmc: dynamic iommu mode detection

2019-06-25 Thread Hemant Agrawal
From: Shreyansh Jain This patch adds following: 1. 'g_container' variable name is not right way to represent the FSLMC container. Renaming it to fslmc_container. 2. dynamic selection of IOMMU mode based on run environment Signed-off-by: Shreyansh Jain --- drivers/bus/fslmc/fslmc_vfio.c | 38 ++

[dpdk-dev] [PATCH 5/5] mempool/dpaa2: vfio dmamap for user allocated memory

2019-06-25 Thread Hemant Agrawal
From: Sachin Saxena Signed-off-by: Sachin Saxena --- drivers/bus/fslmc/fslmc_vfio.c | 39 + drivers/bus/fslmc/fslmc_vfio.h | 4 ++- drivers/bus/fslmc/rte_bus_fslmc_version.map | 6 drivers/mempool/dpaa2/dpaa2_hw_mempool.c| 13 +++ 4 f

[dpdk-dev] [PATCH 4/5] bus/fslmc: use cinh read for eqcr ci on ls1088 platform

2019-06-25 Thread Hemant Agrawal
From: Nipun Gupta LS1088 platform CENA operation are causing issues at high load. CINH (cache inhibited) mode is working fine with minor performance impact. This patch enables CINH mode selectively on LS1088 platform Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h

Re: [dpdk-dev] [PATCH v6 0/4] add IOVA = VA support in KNI

2019-06-25 Thread Jerin Jacob Kollanukkaran
> -Original Message- > From: dev On Behalf Of Burakov, Anatoly > Sent: Tuesday, June 25, 2019 3:30 PM > To: Vamsi Krishna Attunuru ; dev@dpdk.org > Cc: ferruh.yi...@intel.com; olivier.m...@6wind.com; > arybche...@solarflare.com > Subject: Re: [dpdk-dev] [PATCH v6 0/4] add IOVA = VA support

[dpdk-dev] [PATCH v3] eventdev: change Rx adapter callback and stats structure

2019-06-25 Thread Nikhil Rao
Replace the mbuf pointer array in the event eth Rx adapter callback with an event array. Using an event array allows the application to change attributes of the events enqueued by the SW adapter. The callback can drop packets and populate a callback argument with the number of dropped packets. Add

Re: [dpdk-dev] [PATCH v2] lib/telemetry: add support to fetch global metrics

2019-06-25 Thread Pattan, Reshma
> -Original Message- > From: Pattan, Reshma > Sent: Tuesday, June 25, 2019 9:39 AM > To: Chautru, Nicolas ; Thomas Monjalon > > Cc: dev@dpdk.org; Laatz, Kevin > Subject: RE: [dpdk-dev] [PATCH v2] lib/telemetry: add support to fetch global > metrics > > > > > -Original Message---

Re: [dpdk-dev] [PATCH v6 0/4] add IOVA = VA support in KNI

2019-06-25 Thread Burakov, Anatoly
On 25-Jun-19 12:15 PM, Jerin Jacob Kollanukkaran wrote: -Original Message- From: dev On Behalf Of Burakov, Anatoly Sent: Tuesday, June 25, 2019 3:30 PM To: Vamsi Krishna Attunuru ; dev@dpdk.org Cc: ferruh.yi...@intel.com; olivier.m...@6wind.com; arybche...@solarflare.com Subject: Re: [dp

Re: [dpdk-dev] [PATCH v6] baseband/fpga_lte_fec: adding driver for FEC on FPGA

2019-06-25 Thread Akhil Goyal
> > On 6/18/2019 7:40 AM, Chalupnik, KamilX wrote: > >> -Original Message- > >> From: Chautru, Nicolas > >> Sent: Friday, June 14, 2019 6:18 PM > >> To: akhil.go...@nxp.com; dev@dpdk.org > >> Cc: Yigit, Ferruh ; tho...@monjalon.net; Mokhtar, > >> Amr ; Chalupnik, KamilX > >> ; Chautru, N

Re: [dpdk-dev] [PATCH v7 0/3] BBDEV turbo_sw PMD compilation fix

2019-06-25 Thread Akhil Goyal
> > On 6/19/2019 6:48 PM, Nicolas Chautru wrote: > > Update v7: Remove architecture specific reference to RTE_CPUFLAG_SSE4_2 > reported on travis-ci > > Update v6: Cosmetic change to commit message to include previous Acked-by. > > Update v5: Cosmetic change to remove trailing space and to commi

Re: [dpdk-dev] [PATCH v2] cryptodev: add ff_disable field in cryptodev config

2019-06-25 Thread Akhil Goyal
> > > > > Adding a new field, ff_disable, to allow applications to control the > > features enabled on the crypto device. This would allow for efficient > > usage of HW/SW offloads. > > > > Signed-off-by: Anoob Joseph > > --- > > v2: > > * Updated test & example applications to incorporate the

Re: [dpdk-dev] [PATCH v4] cryptodev: make xform key pointer constant

2019-06-25 Thread Akhil Goyal
> > This patch changes the key pointer data types in cipher, auth, > and aead xforms from "uint8_t *" to "const uint8_t *" for a > more intuitive and safe sessionn creation. > > Signed-off-by: Fan Zhang > Acked-by: Arek Kusztal > Acked-by: Akhil Goyal > --- > v4: > - Removed deprecation not

Re: [dpdk-dev] [PATCH v3] aesni_mb: fix out-of-bounds access

2019-06-25 Thread Akhil Goyal
> > This patch fixes the out-of-bounds coverity issue by adding > missed algorithms to the array. > > Coverity issue: 337683 > > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macros") > > Signed-off-by: Fan Zhang > --- > v3: > - fixed a compile issue > > v2: > - added

Re: [dpdk-dev] [PATCH v2 0/3] test/ipsec: fixes and improvements

2019-06-25 Thread Akhil Goyal
> > The following patches contain one fix and > improvements to test_ipsec.c > > Changes in v2: > - > Patch 1 has been dropped as it hides the issue with QAT PMD. > Patch 3 has been dropped as the hang issue with QAT device is not occurring > with the latest DPDK 18.08 code. > The

Re: [dpdk-dev] [PATCH v3] ipsec: include high order bytes of esn in pkt len

2019-06-25 Thread Akhil Goyal
> > > > > > > When esn is used then high-order 32 bits are included in ICV > > > calculation however are not transmitted. Update packet length > > > to be consistent with auth data offset and length before crypto > > > operation. High-order 32 bits of esn will be removed from packet > > > length

Re: [dpdk-dev] [PATCH v2] ipsec: support multi-segment packets

2019-06-25 Thread Akhil Goyal
> > Hi Akhil, > > > Hi Konstantin, > > > > > > > > Add support for packets that consist of multiple segments. > > > Take into account that trailer bytes (padding, ESP tail, ICV) > > > can spawn across multiple segments. > > > > > > Signed-off-by: Konstantin Ananyev > > > --- > > > > Which all

Re: [dpdk-dev] [PATCH] doc/cryptodev: clarify that full xform struct should be zeroed before use

2019-06-25 Thread Akhil Goyal
> > Hi Fiona, > > > > > > Hi Akhil, etc, > > Is a deprecation notice necessary for this patch? > > If this patch is accepted I will send a follow-up patchset zeroing the > > xforms in > > crypto apps. > > Fiona > > > > Sorry for late reply. > > I don't think this patch need deprecation notice

Re: [dpdk-dev] [PATCH] test/crypto: added NULL algo tests to loop test mechanism

2019-06-25 Thread Akhil Goyal
> > Hi Akhil, > > > > > Hi Fiona, > > > > I believe this patch is for 19.08, we normally do not accept such changes in > RC4. > [Fiona] Yes, it's for 19.08. Sorry, I should probably have indicated this in > the > header. > > > Also the patch > > > http://patches.dpdk.org/patch/53117/ > > loo

Re: [dpdk-dev] [PATCH 1/3] net: new ipv6 header extension parsing function

2019-06-25 Thread Akhil Goyal
Hi Marcin, > > Hi Akhil, > I've double checked and there is no problem with linking application against > shared libraries, because inline functions are being inlined during > compilation > and before linking is done. To be more specific: there is not such symbol as > rte_ipv6_get_next_ext in ip

Re: [dpdk-dev] [PATCH v2 0/4] IPv6 with options support for IPsec transport

2019-06-25 Thread Akhil Goyal
> > Add support for IPv6 with header extensions (IPv6 options) and IPsec > transport mode: > 1. Add IPv6 header extension parsing method in librte_net > 2. Fix IPv6 header with extension parsing in both librte_ipsec and >ipsec sample application using abovementioned function > 3. Add new te

Re: [dpdk-dev] [PATCH v2 1/5] examples/ipsec-secgw: fix invalid packet length

2019-06-25 Thread Akhil Goyal
Hi Konstantin, Could you please rebase this patchset. There are some conflicting changes because of Marcin's patches. Also could you please squash your doc patch with " examples/ipsec-secgw: support packet fragmentation and reassembly " As per convention followed, there should not be separate do

Re: [dpdk-dev] [PATCH v2 1/5] examples/ipsec-secgw: fix invalid packet length

2019-06-25 Thread Ananyev, Konstantin
Hi Akhil, > > Hi Konstantin, > > Could you please rebase this patchset. There are some conflicting changes > because of Marcin's patches. > Also could you please squash your doc patch with " examples/ipsec-secgw: > support packet fragmentation and reassembly " > As per convention followed,

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix not working inline ipsec modes

2019-06-25 Thread Akhil Goyal
Hi Marius, Could you please send the updated patch soon, so that they can be applied before RC1. Thanks, Akhil > > Hi Marius, > > > > Application ipsec-secgw is not working for IPv4 transport mode and for > > IPv6 both transport and tunnel mode. > > > > IPv6 tunnel mode is not working due to

Re: [dpdk-dev] [PATCH v6 0/4] add IOVA = VA support in KNI

2019-06-25 Thread Burakov, Anatoly
On 25-Jun-19 12:30 PM, Burakov, Anatoly wrote: On 25-Jun-19 12:15 PM, Jerin Jacob Kollanukkaran wrote: -Original Message- From: dev On Behalf Of Burakov, Anatoly Sent: Tuesday, June 25, 2019 3:30 PM To: Vamsi Krishna Attunuru ; dev@dpdk.org Cc: ferruh.yi...@intel.com; olivier.m...@6wind

[dpdk-dev] [PATCH] net/qede: remove interrupt reconfigure in handler

2019-06-25 Thread David Marchand
rte_intr_enable/rte_intr_disable configure the interrupt context on the kernel side (either uio or vfio). In VFIO case, calling it from the interrupt handlers triggers an unneeded interrupt handlers reconfiguration. During this reconfiguration window, the device can trigger interrupts which are lef

Re: [dpdk-dev] [PATCH 2/2] examples/ipsec-secgw: fix not working inline ipsec modes

2019-06-25 Thread Drost, MariuszX
Hi, About your comments: 1) I used macros around sa->flags where it was needed. Not all checks for that set of flags use information if it is transport mode. As for macro WITHOUT_TRANSPORT_VERSION, it was set only for checks that required information from set of flags without taking into accou

[dpdk-dev] [PATCH v2 2/2] examples/ipsec-secgw: support header reconstruction

2019-06-25 Thread Fan Zhang
This patch updates the ipsec-secgw application to support header reconstruction. In addition a series of tests have been added to prove the implementation's correctness. Signed-off-by: Fan Zhang --- doc/guides/rel_notes/release_19_08.rst | 6 + examples/ipsec-secgw/sa.c

[dpdk-dev] [PATCH v2 1/2] lib/ipsec: add support for header construction

2019-06-25 Thread Fan Zhang
From: Marko Kovacevic Add support for RFC 4301(5.1.2) to update of Type of service field and Traffic class field bits inside ipv4/ipv6 packets for outbound cases and inbound cases which deals with the update of the DSCP/ENC bits inside each of the fields. Signed-off-by: Marko Kovacevic Signed-o

[dpdk-dev] [PATCH v2 0/2] ipsec: ECN and DSCP header reconstruction.

2019-06-25 Thread Fan Zhang
This patchset adds the ECN and DSCP tunnel mode header reconstruction support for rte_ipsec library. The ipsec-secgw sample application is updated with the feature's enabling and a python3 script for testing the correctness of the implementation. This patchset depends on the following patchset "[v

[dpdk-dev] [PATCH v2 3/8] raw/ioat: add register definition file

2019-06-25 Thread Bruce Richardson
Add in the list of registers for the device. File is taken from the SPDK project: https://github.com/spdk/spdk/blob/master/include/spdk/ioat_spec.h Signed-off-by: Bruce Richardson --- drivers/raw/ioat/Makefile| 1 + drivers/raw/ioat/meson.build | 3 +- drivers/raw/ioat/rte_ioa

[dpdk-dev] [PATCH v2 2/8] usertools/dpdk-devbind.py: add support for IOAT devices

2019-06-25 Thread Bruce Richardson
In order to allow binding/unbinding of devices for use by the ioat_rawdev, we need to update the devbind script to add a new class of device, and add device ids for the specific HW instances. Signed-off-by: Bruce Richardson --- V2: rather than adding a DMA section, add to "misc (rawdev)" sectio

[dpdk-dev] [PATCH v2 0/8] raw/ioat: driver for Intel QuickData Technology

2019-06-25 Thread Bruce Richardson
This patch series adds support for the Intel QuickData Technology device, part of the Intel I/O Acceleration Technology (Intel I/OAT). It is a raw device for allowing hardware DMA i.e. data copies in hardware. Performing the copies in hardware can provide performance improvements for applications

[dpdk-dev] [PATCH v2 1/8] raw/ioat: add initial support for ioat rawdev driver

2019-06-25 Thread Bruce Richardson
Add stubs for ioat rawdev driver support in DPDK, specifically: * makefile and meson build hooks * initial public header file * rawdev main C file, with probe and release functions * release note update announcing the driver * initial documentation for the new section in the rawdev doc

Re: [dpdk-dev] [PATCH v7 0/3] Enable rte_flow API in ice driver

2019-06-25 Thread Aaron Conole
Qiming Yang writes: > This patch set enables the backend of rte_flow, and the generic > filter related functions in ice driver. Supported flows include > ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6, tunnel, etc. This patch > set depends on shared code update. > > --- > v2 changes: > - added UDP tunne

[dpdk-dev] [PATCH v2 4/8] raw/ioat: create device on probe and destroy on release

2019-06-25 Thread Bruce Richardson
Add the create/destroy driver functions so that we can actually allocate a rawdev and destroy it when done. No rawdev API functions are actually implemented at this point. Signed-off-by: Bruce Richardson --- doc/guides/rawdevs/ioat_rawdev.rst | 11 drivers/raw/ioat/ioat_rawdev.c | 93 ++

[dpdk-dev] [PATCH v2 6/8] raw/ioat: add configure, start and stop functions

2019-06-25 Thread Bruce Richardson
Allow initializing a driver instance. Include selftest to validate these functions. Signed-off-by: Bruce Richardson --- V2: test cases placed in self-test routine --- app/test/test_rawdev.c | 2 +- doc/guides/rawdevs/ioat_rawdev.rst | 32 drivers/raw/ioat/Makefile

[dpdk-dev] [PATCH v2 5/8] raw/ioat: add device info function

2019-06-25 Thread Bruce Richardson
Add in the "info_get" function to the driver, to allow us to query the device. This allows us to have the unit test pick up the presence of supported hardware or not. Signed-off-by: Bruce Richardson --- V2: Test case is placed in driver self-test routine --- app/test/test_rawdev.c

[dpdk-dev] [PATCH v2 7/8] raw/ioat: add statistics functions

2019-06-25 Thread Bruce Richardson
Add stats functions to track what is happening in the driver, and put unit tests to check those. Signed-off-by: Bruce Richardson --- V2: test cases moved to self-test routine --- doc/guides/rawdevs/ioat_rawdev.rst | 14 + drivers/raw/ioat/ioat_rawdev.c | 44 +++

[dpdk-dev] [PATCH v2 8/8] raw/ioat: add local API to perform copies

2019-06-25 Thread Bruce Richardson
Add local APIs to trigger data copies, and retrieve handle values once those copies are completed. Included are unit tests to validate the data is copies correctly. Signed-off-by: Bruce Richardson --- V2: test cases moved to self-test routine --- doc/guides/rawdevs/ioat_rawdev.rst | 100 +

[dpdk-dev] [PATCH v3] kni: fix possible kernel crash with va2pa

2019-06-25 Thread Yangchao Zhou
va2pa depends on the physical address and virtual address offset of current mbuf. It may get the wrong physical address of next mbuf which allocated in another hugepage segment. In rte_mempool_populate_default(), trying to allocate whole block of contiguous memory could be failed. Then, it would r

[dpdk-dev] [PATCH v2 00/28] sched: feature enhancements

2019-06-25 Thread Jasvinder Singh
This patchset refactors the dpdk qos sched library to add following features to enhance the scheduler functionality. 1. flexibile configuration of the pipe traffic classes and queues; Currently, each pipe has 16 queues hardwired into 4 TCs scheduled with strict priority, and each TC has exa

[dpdk-dev] [PATCH v2 02/28] sched: update subport and pipe data structures

2019-06-25 Thread Jasvinder Singh
Update subport and pipe data structures to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c|

[dpdk-dev] [PATCH v2 03/28] sched: update internal data structures

2019-06-25 Thread Jasvinder Singh
Update internal data structures of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_s

[dpdk-dev] [PATCH v2 01/28] sched: update macros for flexible config

2019-06-25 Thread Jasvinder Singh
Update macros to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.h | 36 +++

[dpdk-dev] [PATCH v2 04/28] sched: update port config API

2019-06-25 Thread Jasvinder Singh
Update port configuration api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched

[dpdk-dev] [PATCH v2 05/28] sched: update port free API

2019-06-25 Thread Jasvinder Singh
Update port free api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 71 +

[dpdk-dev] [PATCH v2 06/28] sched: update subport config API

2019-06-25 Thread Jasvinder Singh
Update suport configuration api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sch

[dpdk-dev] [PATCH v2 07/28] sched: update pipe profile add API

2019-06-25 Thread Jasvinder Singh
Update the pipe profile add api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sch

[dpdk-dev] [PATCH v2 08/28] sched: update pipe config API

2019-06-25 Thread Jasvinder Singh
Update pipe configuration api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched

[dpdk-dev] [PATCH v2 09/28] sched: update pkt read and write API

2019-06-25 Thread Jasvinder Singh
Update run time packet read and write api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sch

[dpdk-dev] [PATCH v2 10/28] sched: update subport and tc queue stats

2019-06-25 Thread Jasvinder Singh
Update subport and tc queue stats api mplementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rt

[dpdk-dev] [PATCH v2 12/28] sched: update packet enqueue API

2019-06-25 Thread Jasvinder Singh
Update packet enqueue api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c |

[dpdk-dev] [PATCH v2 14/28] sched: update grinder next pipe and tc functions

2019-06-25 Thread Jasvinder Singh
Update grinder next pipe and tc functions to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c

[dpdk-dev] [PATCH v2 11/28] sched: update port memory footprint API

2019-06-25 Thread Jasvinder Singh
Update port memory footprint api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sc

[dpdk-dev] [PATCH v2 13/28] sched: update grinder pipe and tc cache

2019-06-25 Thread Jasvinder Singh
Update grinder pipe and tc cache population to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.

[dpdk-dev] [PATCH v2 15/28] sched: update pipe and tc queues prefetch

2019-06-25 Thread Jasvinder Singh
Update pipe and tc queues prefetch functions to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched

[dpdk-dev] [PATCH v2 16/28] sched: update grinder wrr compute function

2019-06-25 Thread Jasvinder Singh
Update weighted round robin function for best-effort traffic class queues to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --

[dpdk-dev] [PATCH v2 17/28] sched: modify credits update function

2019-06-25 Thread Jasvinder Singh
Modify credits update function of scheduler grinder to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rt

[dpdk-dev] [PATCH v2 18/28] sched: update mbuf prefetch function

2019-06-25 Thread Jasvinder Singh
Update mbuf prefetch function of the scheduler grinder to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched

[dpdk-dev] [PATCH v2 19/28] sched: update grinder schedule function

2019-06-25 Thread Jasvinder Singh
Update grinder schedule function to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c | 82

[dpdk-dev] [PATCH v2 20/28] sched: update grinder handle function

2019-06-25 Thread Jasvinder Singh
Update grinder handle function implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sche

[dpdk-dev] [PATCH v2 24/28] net/softnic: update softnic tm function

2019-06-25 Thread Jasvinder Singh
Update softnic tm function to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- drivers/net/softnic/rte_eth_softnic.c

[dpdk-dev] [PATCH v2 22/28] sched: update sched queue stats API

2019-06-25 Thread Jasvinder Singh
Update queue stats read api implementation of the scheduler to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_

[dpdk-dev] [PATCH v2 23/28] test/sched: update unit test

2019-06-25 Thread Jasvinder Singh
Update unit test to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- app/test/test_sched.c | 37 ---

[dpdk-dev] [PATCH v2 21/28] sched: update packet dequeue API

2019-06-25 Thread Jasvinder Singh
Update packet dequeue api implementation to allow configuration flexiblity for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- lib/librte_sched/rte_sched.c |

[dpdk-dev] [PATCH v2 25/28] examples/qos_sched: update qos sched sample app

2019-06-25 Thread Jasvinder Singh
Update qos sched sample app to allow configuration flexibility for pipe traffic classes and queues, and subport level configuration of the pipe parameters. Signed-off-by: Jasvinder Singh Signed-off-by: Abraham Tovar Signed-off-by: Lukasz Krakowiak --- examples/qos_sched/app_thread.c | 11 +-

  1   2   >