Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Maxime Coquelin
On 11/7/19 3:37 PM, Marvin Liu wrote: > After enqueue function finished, packet index has been increased. Batch > enqueue function should retrieve mbuf structure pointed by that index. > > Fixes: 0294211bb6dc ("vhost: optimize packed ring enqueue") > > Signed-off-by: Marvin Liu > --- > lib/l

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Maxime Coquelin
On 11/7/19 3:37 PM, Marvin Liu wrote: > After enqueue function finished, packet index has been increased. Batch > enqueue function should retrieve mbuf structure pointed by that index. > > Fixes: 0294211bb6dc ("vhost: optimize packed ring enqueue") > > Signed-off-by: Marvin Liu > --- > lib/l

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Liu, Yong
> -Original Message- > From: Maxime Coquelin > Sent: Thursday, November 07, 2019 4:20 PM > To: Liu, Yong ; Bie, Tiwei ; Wang, > Zhihong > Cc: dev@dpdk.org > Subject: Re: [PATCH] vhost: fix batch enqueue only handle few packets > > > > On 11/7/19 3:37 PM, Marvin Liu wrote: > > After e

[dpdk-dev] [PATCH] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
This adds new device id to the list of Mellanox devices that runs mlx5 PMD. - ConnectX-6DX device ID - ConnectX-6DX SRIOV device ID Signed-off-by: Raslan Darawsheh --- doc/guides/rel_notes/release_19_11.rst | 1 + drivers/net/mlx5/mlx5.h| 2 ++ 2 files changed, 3

Re: [dpdk-dev] [PATCH v3 07/13] crypto/dpaa_sec: add AES-GCM support for lookaside case

2019-11-07 Thread Hemant Agrawal
Hi Akhil, > -Original Message- > From: dev On Behalf Of Hemant Agrawal > Sent: Wednesday, November 6, 2019 10:47 AM > To: dev@dpdk.org > Cc: Akhil Goyal > Subject: [dpdk-dev] [PATCH v3 07/13] crypto/dpaa_sec: add AES-GCM > support for lookaside case > > This patch add support f

[dpdk-dev] [PATCH v2 0/4] net/ice: fix memory release in FDIR

2019-11-07 Thread Wang ShougangX
These patches include FDIR memory resource fixes related to ICE driver. Patch 1: fix memzone reserve and release in FDIR Patch 2: fix removal of FDIR profile Patch 3: fix FDIR counter resource release Patch 4: fix wild pointer --- v2 changes: Merged patches related to CVL memory resources manage

[dpdk-dev] [PATCH v2 2/4] net/ice: fix removal of FDIR profile

2019-11-07 Thread Wang ShougangX
The removal of FDIR profile should start from ICE_FLTR_PTYPE_NONF_IPV4_UDP. Fixes: 109e8e06249e ("net/ice: configure HW flow director rule") Cc: sta...@dpdk.org Signed-off-by: Wang ShougangX --- drivers/net/ice/ice_fdir_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v2 1/4] net/ice: fix memzone reserve and release in FDIR

2019-11-07 Thread Wang ShougangX
To avoid memzone reserve failure and memory leak, following resources management should be added. - Check if the FDIR Memzone already exists before reserving. - Free FDIR memzone when teardown and other failure scenarios. Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine") Cc: sta...@dpdk

[dpdk-dev] [PATCH v2 3/4] net/ice: fix FDIR counter resource release

2019-11-07 Thread Wang ShougangX
All the counter resources should be cleaned up when teardown. Fixes: 0f880c3df192 ("net/ice: add flow director counter resource init/release") Cc: sta...@dpdk.org Signed-off-by: Wang ShougangX --- drivers/net/ice/ice_fdir_filter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/n

[dpdk-dev] [PATCH v2 4/4] net/ice: fix wild pointer

2019-11-07 Thread Wang ShougangX
To avoid wild pointer, pointers should be set to NULL after free them. Fixes: 1a2fc1799f09 ("net/ice: reject duplicated flow for flow director") Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine") Fixes: 0f880c3df192 ("net/ice: add flow director counter resource init/release") Cc: sta...@

[dpdk-dev] [PATCH v2 2/3] test/event_crypto: fix to avail the mempool entries

2019-11-07 Thread Hemant Agrawal
Added the missed code to avail the mempool entries before pool free. Fixes: 24054e3640a2 ("test/crypto: use separate session mempools"); Cc: sta...@dpdk.org Signed-off-by: Hemant Agrawal --- app/test/test_event_crypto_adapter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test/test_e

[dpdk-dev] [PATCH v2 1/3] test/event_crypto: fix missing IV value for AES algo

2019-11-07 Thread Hemant Agrawal
The IV was not set, which was causing HW based SEC on DPAA1 to fail. Fixes: ce02103ad072 ("test/event_crypto: change the SEC cipher algo") Signed-off-by: Hemant Agrawal --- Sending only the fixes. dropped the functional changes app/test/test_event_crypto_adapter.c | 12 1 file cha

[dpdk-dev] [PATCH v2 3/3] test/event_crypto: fix check for HW support

2019-11-07 Thread Hemant Agrawal
When HW is available but the mode mismatches, it is better to skip the test case. Fixes: cfe599b325e8 ("test/event_crypto: no service core when HW support available") Signed-off-by: Hemant Agrawal --- app/test/test_event_crypto_adapter.c | 16 1 file changed, 16 insertions(+)

Re: [dpdk-dev] [PATCH v2 3/3] lib: use RTE_DIM to calculate array size

2019-11-07 Thread Dumitrescu, Cristian
> -Original Message- > From: pbhagavat...@marvell.com > Sent: Thursday, November 7, 2019 2:58 AM > To: david.march...@redhat.com; Thomas Monjalon > ; Yigit, Ferruh ; Andrew > Rybchenko ; Ananyev, Konstantin > ; Dumitrescu, Cristian > > Cc: dev@dpdk.org; Pavan Nikhilesh > Subject: [dpd

Re: [dpdk-dev] [PATCH] port: fix library build order dependency

2019-11-07 Thread Dumitrescu, Cristian
> -Original Message- > From: Shah, Rahul R > Sent: Tuesday, November 5, 2019 7:42 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: [PATCH] port: fix library build order dependency > > The port library should be build after eventdev library. > > Fixes:5d92c4e5 ("por

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

2019-11-07 Thread Hemant Agrawal
Andrew, can you ack this patch from solarflare side? > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 2:34 PM > To: dev@dpdk.org > Cc: gda...@solarflare.com; Hemant Agrawal > Subject: [PATCH] net/sfc: add SPDX tag in meson build > Importance: High > > Cc:

Re: [dpdk-dev] [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-07 Thread Ye Xiaolong
Hi, Haiyue On 11/07, Haiyue Wang wrote: >The original design is to use rte_mbuf::udata64 to save the metadata of >protocol extraction which has network protocol data fields and type, a >private API is used to decode this metadata. > >Use the dynamic mbuf field and flags to register the needed fiel

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

2019-11-07 Thread Hemant Agrawal
Alejandro, Please ack this patch also. Regards, Hemant > -Original Message- > From: Hemant Agrawal > Sent: Friday, September 27, 2019 2:04 PM > To: alejandro.luc...@netronome.com; dev@dpdk.org > Cc: Hemant Agrawal > Subject: [PATCH] net/nfp: replace license text with SPDX tag >

Re: [dpdk-dev] [PATCH] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Wisam Monther
Hey Raslan, You are missing PCI_DEVICE_ID_MELLANOX_CONNECTX6DXVF in mlx5.c/mlx5_pci_probe() Otherwise the PCI for CX6DXVF will not be recognized correctly BRs, Wisam Jaddo -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Raslan Darawsheh Sent: Thursday, November 7,

Re: [dpdk-dev] [PATCH v2] net/mlx5: introduce mlx5 hash list

2019-11-07 Thread Bing Zhao
Adding Stephen Hi Stephen, would you please help to review the V2? Many thanks in advance. :-) BR. Bing > -Original Message- > From: dev On Behalf Of Bing Zhao > Sent: Wednesday, November 6, 2019 9:08 PM > To: Slava Ovsiienko ; dev@dpdk.org > Cc: Ori Kam ; Raslan Darawsheh > > Subject:

[dpdk-dev] [PATCH v2] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
This adds new device id to the list of Mellanox devices that runs mlx5 PMD. - ConnectX-6DX device ID - ConnectX-6DX SRIOV device ID Signed-off-by: Raslan Darawsheh --- v2: add missing documentation and update pci id map --- doc/guides/nics/mlx5.rst | 36

Re: [dpdk-dev] [PATCH] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
Thanks for noticing this, I forgot to add these in the commit, just sent a v2 with these included. Kindest regards, Raslan Darawsheh > -Original Message- > From: Wisam Monther > Sent: Thursday, November 7, 2019 11:15 AM > To: Raslan Darawsheh ; Slava Ovsiienko > > Cc: dev@dpdk.org; Asa

Re: [dpdk-dev] [PATCH v5 0/5] Some fixes for hinic PMD driver

2019-11-07 Thread Ferruh Yigit
On 11/1/2019 1:36 PM, Xiaoyun wang wrote: > This patch fixes code style check issue, offload info calculating problem > for TSO offload. Replace mbuf alloc function with initialized, remove > Flow Director feature from doc files and add Flow API feature to > hinic.ini, Remove Free Tx mbuf on deman

[dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
This adds new device id to the list of Mellanox devices that runs mlx5 PMD. - ConnectX-6DX device ID - ConnectX-6DX SRIOV device ID Signed-off-by: Raslan Darawsheh --- v3: only set vf bit for CONNECTX6DXVF v2: add missing documentation and update pci id map --- d

[dpdk-dev] [PATCH] net/ice: clear the HW tables when close device

2019-11-07 Thread Qi Zhang
Clear the HW tables during dev_close. Otherwise HW tables will not be initialized correctly after device reset. Fixes: a4c8c48fe3f4 ("net/ice: load OS default package") Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_flex_pipe.c | 55 drivers/net/ice/ba

Re: [dpdk-dev] [PATCH 1/2] raw/dpaa2_qdma: add support for route by port in DMA

2019-11-07 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] vhost: fix batch enqueue only handle few packets

2019-11-07 Thread Liu, Yong
> -Original Message- > From: Liu, Yong > Sent: Thursday, November 07, 2019 4:29 PM > To: Maxime Coquelin ; Bie, Tiwei > ; Wang, Zhihong > Cc: dev@dpdk.org > Subject: RE: [PATCH] vhost: fix batch enqueue only handle few packets > > > > > -Original Message- > > From: Maxime Coqu

Re: [dpdk-dev] [PATCH v3 07/13] crypto/dpaa_sec: add AES-GCM support for lookaside case

2019-11-07 Thread Akhil Goyal
> > Hi Akhil, > > > [Hemant] There is a merge error. I see that you have already applied it. > Can you remove following line from the patch. > >>> start here. > > + if (session->dir == DIR_ENC) { > > + /* todo CCM salt length is 3 bytes, left shift 8 bits */ > > +

Re: [dpdk-dev] [PATCH] drivers/crypto/openssl: use a local copy for the session contexts

2019-11-07 Thread Akhil Goyal
> Session contexts are used for temporary storage when processing a > packet. > If packets for the same session are to be processed simultaneously on > multiple cores, separate contexts must be used. > > Note: with openssl 1.1.1 EVP_CIPHER_CTX can no longer be defined as a > variable on the stac

Re: [dpdk-dev] [PATCH] net/ice: add error cases with a wrong package

2019-11-07 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Thursday, November 7, 2019 3:35 PM > To: Zhang, Qi Z ; Ye, Xiaolong ; > Yang, Qiming > Cc: dev@dpdk.org; Su, Simei > Subject: [PATCH] net/ice: add error cases with a wrong package > > If the switch/fdir/hash module can't resolve a correc

Re: [dpdk-dev] [EXT] Re: [PATCH v12 0/2] add IOVA=VA mode support

2019-11-07 Thread Vamsi Krishna Attunuru
Hi Ferruh, Could you please review v12. Regards, A Vamsi > -Original Message- > From: Vamsi Krishna Attunuru > Sent: Wednesday, November 6, 2019 4:39 PM > To: Thomas Monjalon > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; Kiran > Kumar Kokkilagadda ; olivier.m...@6wind.com; > ferru

Re: [dpdk-dev] [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-07 Thread Wang, Haiyue
Hi Xiaolong, > -Original Message- > From: Ye, Xiaolong > Sent: Thursday, November 7, 2019 17:09 > To: Wang, Haiyue > Cc: dev@dpdk.org; olivier.m...@6wind.com > Subject: Re: [PATCH v8] net/ice: optimize protocol extraction by dynamic mbuf > API > > Hi, Haiyue > > On 11/07, Haiyue Wang

Re: [dpdk-dev] Docker container OVS-dpdk: vhost_user_setup(): connect error

2019-11-07 Thread Deepak Gowda
Also, If i restart the ovs and try running the testpmd again, I see this, from inside the container. EAL: Detected 4 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Probing VFIO support... vhost_user_read(): Failed to recv msg hdr: -1 instead of 12.

[dpdk-dev] [PATCH v9] net/ice: optimize protocol extraction by dynamic mbuf API

2019-11-07 Thread Haiyue Wang
The original design is to use rte_mbuf::udata64 to save the metadata of protocol extraction which has network protocol data fields and type, a private API is used to decode this metadata. Use the dynamic mbuf field and flags to register the needed fields in mbuf, to avoid overwriting 'rte_mbuf::ud

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

2019-11-07 Thread Andrew Rybchenko
On 9/27/19 12:04 PM, Hemant Agrawal wrote: > 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..0741

Re: [dpdk-dev] [PATCH 0/7] net/mlx5: support for flow action on VLAN header

2019-11-07 Thread Hideyuki Yamashita
Hello Slava, About 1, when I turned on "CONFIG_RTE_LIBRTE_MLX5_PMD=y" it worked. About 2, I used the latest dpdk-next-net, creating flow for entag VLAN was successful as following: Configuring Port 0 (socket 0) Port 0: B8:59:9F:C1:4A:CE Configuring Port 1 (socket 0) Port 1: B8:59:9F:C1:4A:CF Chec

[dpdk-dev] [PATCH 2/3] doc: update eventdev feature matrix for octeontx2

2019-11-07 Thread Sunil Kumar Kori
Patch updates eventdev and adapters feature metrices for octeontx2 platform. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/features/octeontx2.ini | 16 .../eventdevs/overview_adptr_feature_table.txt | 4 ++-- doc/guides/eventdevs/overview_feature_table.txt |

[dpdk-dev] [PATCH 3/3] doc: update eventdev feature matrix for octeontx

2019-11-07 Thread Sunil Kumar Kori
Patch updates eventdev and adapters feature metrices for octeontx2 platform. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/features/octeontx.ini| 15 +++ .../eventdevs/overview_adptr_feature_table.txt| 2 +- doc/guides/eventdevs/overview_feature_table.txt |

[dpdk-dev] [PATCH 1/3] doc: add skeleton for eventdevs feature metrices

2019-11-07 Thread Sunil Kumar Kori
Patch adds skeleton for feature metrices for event dev and Rx/Tx adapters. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/index.rst| 1 + doc/guides/eventdevs/overview.rst | 19 + .../overview_adptr_feature_table.txt | 76 + ...

[dpdk-dev] [PATCH 1/3] doc: add skeleton for eventdevs feature metrices

2019-11-07 Thread Sunil Kumar Kori
Patch adds skeleton for feature metrices for event dev and Rx/Tx adapters. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/index.rst| 1 + doc/guides/eventdevs/overview.rst | 19 + .../overview_adptr_feature_table.txt | 76 + ...

[dpdk-dev] [PATCH 3/3] doc: update eventdev feature matrix for octeontx

2019-11-07 Thread Sunil Kumar Kori
Patch updates eventdev and adapters feature metrices for octeontx platform. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/features/octeontx.ini| 15 +++ .../eventdevs/overview_adptr_feature_table.txt| 2 +- doc/guides/eventdevs/overview_feature_table.txt | 1

[dpdk-dev] [PATCH 2/3] doc: update eventdev feature matrix for octeontx2

2019-11-07 Thread Sunil Kumar Kori
Patch updates eventdev and adapters feature metrices for octeontx2 platform. Signed-off-by: Sunil Kumar Kori --- doc/guides/eventdevs/features/octeontx2.ini | 16 .../eventdevs/overview_adptr_feature_table.txt | 4 ++-- doc/guides/eventdevs/overview_feature_table.txt |

Re: [dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Slava Ovsiienko
> -Original Message- > From: Raslan Darawsheh > Sent: Thursday, November 7, 2019 11:36 > To: Slava Ovsiienko > Cc: dev@dpdk.org; Asaf Penso ; Wisam Monther > > Subject: [PATCH v3] net/mlx5: add ConnectX6-DX device id > > This adds new device id to the list of Mellanox devices that runs

Re: [dpdk-dev] [pull-request] next-eventdev 19.11 RC2

2019-11-07 Thread Thomas Monjalon
04/11/2019 18:15, Jerin Jacob Kollanukkaran: > http://dpdk.org/git/next/dpdk-next-eventdev Pulled, thanks

[dpdk-dev] [PATCH] net/mlx5: allow jump to group lower than current

2019-11-07 Thread Dekel Peled
In current implementation, jump action is allowed only if target group is higher than the current flow group, This patch updates function flow_dv_validate_action_jump() to allow jump action if target group is higher or lower than the current flow group. Target group equal to current flow group is

Re: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command to set supported ptype mask

2019-11-07 Thread Iremonger, Bernard
Hi Pavan, > -Original Message- > From: pbhagavat...@marvell.com > Sent: Wednesday, November 6, 2019 7:18 PM > To: Yigit, Ferruh ; arybche...@solarflare.com; > jer...@marvell.com; tho...@monjalon.net; Lu, Wenzhuo > ; Wu, Jingjing ; Iremonger, > Bernard ; Mcnamara, John > ; Kovacevic, Marko

Re: [dpdk-dev] [EXT] [PATCH v3 1/3] ethdev: support API to set max LRO packet size

2019-11-07 Thread Shahed Shaikh
> -Original Message- > From: Dekel Peled > Sent: Wednesday, November 6, 2019 7:58 PM > To: john.mcnam...@intel.com; marko.kovace...@intel.com; > nhor...@tuxdriver.com; ajit.khapa...@broadcom.com; > somnath.ko...@broadcom.com; anatoly.bura...@intel.com; > xuanziya...@huawei.com; cloud.wangx

Re: [dpdk-dev] [EXT] [PATCH v3 1/3] ethdev: support API to set max LRO packet size

2019-11-07 Thread Dekel Peled
Thanks, PSB. > -Original Message- > From: Shahed Shaikh > Sent: Thursday, November 7, 2019 1:57 PM > To: Dekel Peled ; john.mcnam...@intel.com; > marko.kovace...@intel.com; nhor...@tuxdriver.com; > ajit.khapa...@broadcom.com; somnath.ko...@broadcom.com; > anatoly.bura...@intel.com; xuanzi

Re: [dpdk-dev] 答复: [PATCH v2] bus/pci: resolve multiple NICs address conflicts

2019-11-07 Thread Burakov, Anatoly
On 07-Nov-19 5:44 AM, Wangyu (Eric) wrote: Hi, Anatoly Thank you for advices. This problem will happen in both VFIO and UIO, I will modify both according to your advices and test them. I did some tests with mmap() on my system, when I provided address not page-aligned, mmap() could return pag

Re: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command to set supported ptype mask

2019-11-07 Thread Iremonger, Bernard
Hi Pavin, > > Subject: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command to set > > supported ptype mask > > > > From: Pavan Nikhilesh > > > > Add command to set supported ptype mask. > > Usage: > > set port ptype_mask > > > > Disable ptype parsing by default. > > > > Signed-off-by: Pav

[dpdk-dev] [PATCH v4 2/3] net/mlx5: use API to set max LRO packet size

2019-11-07 Thread Dekel Peled
This patch implements use of the API for LRO aggregated packet max size. Rx queue create is updated to use the relevant configuration. Documentation is updated accordingly. Signed-off-by: Dekel Peled --- doc/guides/nics/mlx5.rst| 2 ++ drivers/net/mlx5/mlx5_rxq.c | 4 +++- 2 files changed, 5

[dpdk-dev] [PATCH v4 1/3] ethdev: support API to set max LRO packet size

2019-11-07 Thread Dekel Peled
This patch implements [1], to support API for configuration and validation of max size for LRO aggregated packet. API change notice [2] is removed, and release notes for 19.11 are updated accordingly. Various PMDs using LRO offload are updated, the new data members are initialized to ensure they d

[dpdk-dev] [PATCH v4 3/3] app/testpmd: use API to set max LRO packet size

2019-11-07 Thread Dekel Peled
This patch implements use of the API for LRO aggregated packet max size. It adds command-line and runtime commands to configure this value, and adds option to show the supported value. Documentation is updated accordingly. Signed-off-by: Dekel Peled --- app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v4 0/3] support API to set max LRO packet size

2019-11-07 Thread Dekel Peled
This series implements support and use of API for configuration and validation of max size for LRO aggregated packet. v2: Updated ethdev patch per review comments. v3: Updated ethdev and testpmd patches per review comments. v4: Updated ethdev patch for QEDE PMD per review comments. Dekel Peled (3

Re: [dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Raslan Darawsheh > Sent: Thursday, November 7, 2019 11:36 AM > To: Slava Ovsiienko > Cc: dev@dpdk.org; Asaf Penso ; Wisam Monther > > Subject: [dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id > > This adds new device id to the

Re: [dpdk-dev] Proposed dates for 20.02 release

2019-11-07 Thread Yigit, Ferruh
On 9/11/2019 9:27 PM, Thomas Monjalon wrote: > 11/09/2019 19:55, Ferruh Yigit: >> There are two constraints for the .02 releases which makes it harder to plan, >> the Christmas/New Year's holidays and Chinese Spring Festival Holiday. >> >> This years schedule for them is: >> >> * Christmas/New Year

[dpdk-dev] [PATCH] app/test-crypto-perf: support PDCP

2019-11-07 Thread Akhil Goyal
test-crypto-perf app is updated to calculate PDCP throughput numbers. 2 new params are added for PDCP --pdcp-sn-sz <5/7/12/15/18> --pdcp-domain ./dpdk-test-crypto-perf --master-lcore 0 -l 0,1 --log-level=8 -- --devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr --cipher-op encrypt --au

[dpdk-dev] [PATCH v2] app/test-crypto-perf: support PDCP

2019-11-07 Thread Akhil Goyal
test-crypto-perf app is updated to calculate PDCP throughput numbers. 2 new params are added for PDCP --pdcp-sn-sz <5/7/12/15/18> --pdcp-domain ./dpdk-test-crypto-perf --master-lcore 0 -l 0,1 --log-level=8 -- --devtype crypto_dpaa2_sec --optype pdcp --cipher-algo aes-ctr --cipher-op encrypt --au

[dpdk-dev] [PATCH] net/mlx5: fix asserts for multi-segment Tx offload misconfig

2019-11-07 Thread Viacheslav Ovsiienko
To support multi-segment packet sending the Tx datapath DEV_TX_OFFLOAD_MULTI_SEGS offload must be configured. In debug configuration the asserts arise if the multi-segment packet is being sent and no DEV_TX_OFFLOAD_MULTI_SEGS is set. It was found that in some execution paths asserts were missed, th

[dpdk-dev] [PATCH] net/mlx5: control transmit doorbell register mapping

2019-11-07 Thread Viacheslav Ovsiienko
The rdma core library can map doorbell register in two ways, depending on the environment variable "MLX5_SHUT_UP_BF": - as regular cached memory, the variable is either missing or set to zero. This type of mapping may cause the significant doorbell register writing latency and requires e

[dpdk-dev] [PATCH] net/af_xdp: enforce an MTU of 1500

2019-11-07 Thread Ciara Loftus
Packets larger than this will fail to be transmitted by AF_XDP, so limit the MTU to 1500. Signed-off-by: Ciara Loftus --- drivers/net/af_xdp/rte_eth_af_xdp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_a

Re: [dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Ferruh Yigit
On 11/7/2019 12:39 PM, Raslan Darawsheh wrote: > Hi, > >> -Original Message- >> From: dev On Behalf Of Raslan Darawsheh >> Sent: Thursday, November 7, 2019 11:36 AM >> To: Slava Ovsiienko >> Cc: dev@dpdk.org; Asaf Penso ; Wisam Monther >> >> Subject: [dpdk-dev] [PATCH v3] net/mlx5: add

Re: [dpdk-dev] [PATCH] net/mlx5: improve flow item IP validation

2019-11-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Xiaoyu Min > Sent: Tuesday, November 5, 2019 9:51 AM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; sta...@dpdk.org; Ori Kam > Subject: [dpdk-dev] [PATCH] net/mlx5: improve flow item IP validation > > Currentl

Re: [dpdk-dev] Proposed dates for 20.02 release

2019-11-07 Thread Thomas Monjalon
07/11/2019 14:07, Yigit, Ferruh: > On 9/11/2019 9:27 PM, Thomas Monjalon wrote: > > 11/09/2019 19:55, Ferruh Yigit: > >> There are two constraints for the .02 releases which makes it harder to > >> plan, > >> the Christmas/New Year's holidays and Chinese Spring Festival Holiday. > >> > >> This yea

Re: [dpdk-dev] [PATCH v3] net/mlx5: add ConnectX6-DX device id

2019-11-07 Thread Raslan Darawsheh
Hi Ferruh, Just sent a patch for it. http://mails.dpdk.org/archives/web/2019-November/001249.html Kindest regards, Raslan Darawsheh > -Original Message- > From: Ferruh Yigit > Sent: Thursday, November 7, 2019 3:41 PM > To: Raslan Darawsheh ; Slava Ovsiienko > > Cc: dev@dpdk.org; Asaf P

Re: [dpdk-dev] [PATCH] net/mlx5: allow pattern start from IP

2019-11-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Xiaoyu Min > Sent: Tuesday, November 5, 2019 10:03 AM > To: Ori Kam ; Matan Azrad ; > Shahaf Shuler ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: allow pattern start from IP > > Some applications, i.e. OV

Re: [dpdk-dev] [PATCH] net/af_xdp: enforce an MTU of 1500

2019-11-07 Thread Eelco Chaudron
On 7 Nov 2019, at 14:27, Ciara Loftus wrote: Packets larger than this will fail to be transmitted by AF_XDP, so limit the MTU to 1500. Signed-off-by: Ciara Loftus --- drivers/net/af_xdp/rte_eth_af_xdp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/af_x

Re: [dpdk-dev] [PATCH] net/mlx5: allow jump to group lower than current

2019-11-07 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Thursday, November 7, 2019 13:34 > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko ; > Ori Kam > Cc: dev@dpdk.org > Subject: [PATCH] net/mlx5: allow jump to group lower than current > > In current implementation, jump action is allowed

Re: [dpdk-dev] [PATCH v2] app/test-crypto-perf: support PDCP

2019-11-07 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [dpdk-dev] [PATCH] port: fix library build order dependency

2019-11-07 Thread Ferruh Yigit
On 11/5/2019 7:42 PM, Rahul Shah wrote: > The port library should be build after eventdev library. > > Fixes:5d92c4e5 ("port: add eventdev port type") > > Signed-off-by: Rahul Shah Tested-by: Ferruh Yigit

Re: [dpdk-dev] [PATCH v4 3/3] app/testpmd: use API to set max LRO packet size

2019-11-07 Thread Iremonger, Bernard
> -Original Message- > From: Dekel Peled > Sent: Thursday, November 7, 2019 12:35 PM > To: Mcnamara, John ; Kovacevic, Marko > ; nhor...@tuxdriver.com; > ajit.khapa...@broadcom.com; somnath.ko...@broadcom.com; Burakov, > Anatoly ; xuanziya...@huawei.com; > cloud.wangxiao...@huawei.com;

Re: [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel

2019-11-07 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Wisam Monther > Sent: Wednesday, November 6, 2019 11:39 AM > To: Slava Ovsiienko > Cc: Wisam Monther ; dev@dpdk.org; Moti > Haimovsky > Subject: [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel > > HW ptype are missing T

Re: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command to set supported ptype mask

2019-11-07 Thread Pavan Nikhilesh Bhagavatula
Hi Bernard, >Hi Pavin, > > > >> > Subject: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command >to set >> > supported ptype mask >> > >> > From: Pavan Nikhilesh >> > >> > Add command to set supported ptype mask. >> > Usage: >> >set port ptype_mask >> > >> > Disable ptype parsing by defaul

Re: [dpdk-dev] [PATCH v3] net/ice/base: fix wrong ptype bitmap for GRE

2019-11-07 Thread Ferruh Yigit
On 11/7/2019 3:15 AM, Ye Xiaolong wrote: > On 11/06, Qi Zhang wrote: >> The ptype bitmap calculation for GRE packet is modified by misktake due to >> commit fc845a9d78ce >> ("net/ice/base: fix ptype mapping pollution from GTP flow") >> which is target for GTP packet. The patch rollback that part of

[dpdk-dev] [PATCH v2] port: fix library build order dependency

2019-11-07 Thread Rahul Shah
The port library should be build after eventdev library. Fixes: 5d92c4e5 ("port: add eventdev port type") Signed-off-by: Rahul Shah --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 5d04ab915..1ff00ba8c 100644 --- a/lib/Makef

[dpdk-dev] [PATCH v2] net/enic: re-enable link status change interrupt

2019-11-07 Thread Hyong Youb Kim
When INTx is used, the interrupt handler needs to explicitly re-enable interrupt in order to receive another one in future. The LSC interrupt handler currently does not, and the link state never gets updated when INTx is used (e.g. uio_pci_generic). Call rte_intr_ack() at the end of the handler, to

Re: [dpdk-dev] [PATCH v2 0/3] ethdev: configure SR-IOV VF from host

2019-11-07 Thread Thomas Monjalon
Bad news for the DPDK API below: 03/11/2019 23:09, Thomas Monjalon: > 03/11/2019 16:27, Ananyev, Konstantin: > > > > > > > If we consider what Intel did, i.e. configure VF in place of > > > > > representor for some operations, there are two drawbacks: > > > > > - confusing that some ops apply to

[dpdk-dev] DPDK Release Status Meeting 7/11/2019

2019-11-07 Thread Ferruh Yigit
Minutes 7 November 2019 --- Agenda: * Release Dates * Subtrees * OvS * Conferences * Opens Participants: * Debian/Microsoft * Intel * Mellanox * NXP * Red Hat Release Dates - * v19.11 dates: * RC1 is released on Sunday 27 October * https://mails.dpdk.org/a

Re: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command to set supported ptype mask

2019-11-07 Thread Iremonger, Bernard
Hi Pavin, > >> > Subject: [dpdk-dev] [PATCH v16 8/8] app/testpmd: add command > >to set > >> > supported ptype mask > >> > > >> > From: Pavan Nikhilesh > >> > > >> > Add command to set supported ptype mask. > >> > Usage: > >> > set port ptype_mask > >> > > >> > Disable ptype parsing by defau

[dpdk-dev] [PATCH v7 01/12] doc: fix description of versioning macros

2019-11-07 Thread Andrzej Ostruszka
This patch fixes documentation of versioning macros so that they are aligned with their implementation (no underscore is added by macros). Signed-off-by: Andrzej Ostruszka Fixes: f1ef9794f9bd ("doc: add ABI guidelines") Acked-by: Neil Horman --- doc/guides/contributing/versioning.rst

[dpdk-dev] [PATCH v7 02/12] build: annotate versioned symbols with __vsym macro

2019-11-07 Thread Andrzej Ostruszka
Every implementation of a particular version of given symbol needs to be marked in its declaration as such (using `__vsym` macro). This patch fixes this and also clarifies the documentation about that. Signed-off-by: Andrzej Ostruszka Acked-by: Neil Horman --- doc/guides/contributing/versionin

[dpdk-dev] [PATCH v7 00/12] Add an option to use LTO for DPDK build

2019-11-07 Thread Andrzej Ostruszka
This patch series adds an option to make use of link time optimization (if compiler has support for it). It is split as follows: - 1st patch is just a minor doc fix for versioning macros - 2nd patch fixes missing __vsym annotations (needed for LTO) - 3rd is the LTO enablement - remaining patches a

[dpdk-dev] [PATCH v7 03/12] build: add an option to enable LTO build

2019-11-07 Thread Andrzej Ostruszka
This patch adds an option to enable link time optimization. In addition to LTO option itself (-flto) fat-lto-objects are being used. This is because during the build pmdinfogen scans the generated ELF objects to find this_pmd_name* symbol in symbol table. Without fat-lto-objects gcc produces ELF

[dpdk-dev] [PATCH v7 04/12] eventdev: fix possible use of uninitialized var

2019-11-07 Thread Andrzej Ostruszka
Fix the logic for the case of event queue allowing all schedule types. Compiler warning pointing to this error (with LTO enabled): error: ‘sched_type’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if ((ret < 0 && ret != -EOVERFLOW) || Fixes: 6750b21bd6af ("eventdev: a

[dpdk-dev] [PATCH v7 06/12] event/octeontx2: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘chunk’ may be used uninitialized in this function [-Werror=maybe-uninitialized

[dpdk-dev] [PATCH v7 09/12] net/e1000: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘link’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

[dpdk-dev] [PATCH v7 10/12] net/i40e: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘filter_idx’ may be used uninitialized in this function [-Werror=maybe-uninitia

[dpdk-dev] [PATCH v7 05/12] app/eventdev: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘service_id’ may be used uninitialized in this function [-Werror=maybe-uninitia

[dpdk-dev] [PATCH v7 08/12] net/dpaa2: fix possible use of uninitialized vars

2019-11-07 Thread Andrzej Ostruszka
This patch fixes 'maybe-uninitialized' warnings reported by compiler when using LTO. Compiler warning pointing to this error (with LTO enabled): error: ‘kg_cfg.extracts[0].masks[0].mask’ may be used uninitialized in this function [-Werror=maybe-uninitialized] extr->masks[j].mask = cfg->extract

[dpdk-dev] [PATCH v7 12/12] net/qede: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘transceiver_type’ may be used uninitialized in this function [-Werror=maybe-un

[dpdk-dev] [PATCH v7 11/12] net/ifc: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘features’ may be used uninitialized in this function [-Werror=maybe-uninitiali

[dpdk-dev] [PATCH v7 07/12] app/test: clean LTO build warnings (maybe-uninitialized)

2019-11-07 Thread Andrzej Ostruszka
During LTO build compiler reports some 'false positive' warnings about variables being possibly used uninitialized. This patch silences these warnings. Exemplary compiler warning to suppress (with LTO enabled): error: ‘stats.greatest_free_size’ may be used uninitialized in this function [-Werror=

Re: [dpdk-dev] [PATCH v12 2/5] eal: add the APIs to wait until equal

2019-11-07 Thread Ananyev, Konstantin
> The rte_wait_until_equal_xx APIs abstract the functionality of > 'polling for a memory location to become equal to a given value'. > > Add the RTE_ARM_USE_WFE configuration entry for aarch64, disabled > by default. When it is enabled, the above APIs will call WFE instruction > to save CPU cyc

[dpdk-dev] [PATCH] net/mlx5: fix condition to create default rule

2019-11-07 Thread Dekel Peled
Previous patch added creation of a default flow rule on port start. Rule is created under the condition that device is in eswitch mode, and is not a VF, to make sure rule is created only once. In Bluefield, where PF representor is used, this condition is not sufficient. Rule is created twice, causi

Re: [dpdk-dev] [PATCH] net/mlx5: fix condition to create default rule

2019-11-07 Thread Slava Ovsiienko
> -Original Message- > From: Dekel Peled > Sent: Thursday, November 7, 2019 17:04 > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: Ori Kam ; dev@dpdk.org > Subject: [PATCH] net/mlx5: fix condition to create default rule > > Previous patch added creation of a default flow rule

Re: [dpdk-dev] [PATCH v2] port: fix library build order dependency

2019-11-07 Thread Dumitrescu, Cristian
> -Original Message- > From: Shah, Rahul R > Sent: Wednesday, November 6, 2019 2:43 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: [PATCH v2] port: fix library build order dependency > > The port library should be build after eventdev library. > > Fixes:5d92c4e5

Re: [dpdk-dev] [PATCH 1/2] test/rib: speed up rib autotests

2019-11-07 Thread Aaron Conole
Vladimir Medvedkin writes: > Split slow part of rib_autotest into rib_slow_autotest > > Fixes: b35df4dd666e ("test/rib: add autotests") > > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Aaron Conole

Re: [dpdk-dev] [PATCH 2/2] test/rib: speed up rib6 autotests

2019-11-07 Thread Aaron Conole
Vladimir Medvedkin writes: > Split slow part of rib6_autotest into rib6_slow_autotest > > Fixes: abab6d2966dc ("test/rib: add IPv6 autotests") > > Signed-off-by: Vladimir Medvedkin > --- Acked-by: Aaron Conole

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

2019-11-07 Thread Ferruh Yigit
On 11/7/2019 10:54 AM, Andrew Rybchenko wrote: > On 9/27/19 12:04 PM, Hemant Agrawal wrote: >> 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 >>

Re: [dpdk-dev] [PATCH] vfio: remove deprecated DMA mapping functions

2019-11-07 Thread David Marchand
On Wed, Nov 6, 2019 at 10:11 PM David Marchand wrote: > > On Thu, Oct 24, 2019 at 2:18 PM Anatoly Burakov > wrote: > > > > The rte_vfio_dma_map/unmap API's have been marked as deprecated in > > release 19.05. Remove them. > > > > Signed-off-by: Anatoly Burakov > Acked-by: David Marchand Acked-b

  1   2   3   >