Re: [dpdk-dev] [PATCH] net/mlx5: fix disabling Tx packet inlining

2018-02-26 Thread Nélio Laranjeiro
On Mon, Feb 26, 2018 at 09:50:57AM -0800, Yongseok Koh wrote: > Adding 'txq_inline=0' to PMD parameter should disable Tx packet inlining > but it doesn't work properly for Enhanced Multi-Packet Send. > > Fixes: 6ce84bd88919 ("net/mlx5: add enhanced multi-packet send for > ConnectX-5") > Cc: sta..

[dpdk-dev] [PATCH V2] igb_uio: fix uevent montior issue

2018-02-26 Thread Jeff Guo
udev could not detect remove and add event of device when hotplug in and out devices, that related with the fix about using pointer of rte_uio_pci_dev as dev_id instead of uio_device for irq device handler, that would result igb uio irq failure when kernel version after than 3.17. The root cause i

Re: [dpdk-dev] [PATCH 1/5] lib/ethdev: support for inline IPsec events

2018-02-26 Thread Anoob Joseph
Hi Radu, Please see inline. Thanks, Anoob On 26/02/18 15:05, Nicolau, Radu wrote: -Original Message- From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com] Sent: Wednesday, February 21, 2018 5:37 AM To: Akhil Goyal ; Doherty, Declan ; Nicolau, Radu Cc: Anoob Joseph ; Jerin Jaco

Re: [dpdk-dev] [PATCH] igb_uio: fix uevent montior issue

2018-02-26 Thread Guo, Jia
On 2/13/2018 5:32 PM, Ferruh Yigit wrote: On 2/12/2018 8:28 AM, Guo, Jia wrote: On 2/9/2018 6:01 AM, Thomas Monjalon wrote: 30/01/2018 11:01, Jeff Guo: udev could not detect remove and add event of device when hotplug in and out devices, that related with the fix about using pointer of rte_

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Verma, Shally
>-Original Message- >From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >Sent: 27 February 2018 03:05 >To: Verma, Shally ; Trahe, Fiona >; dev@dpdk.org >Cc: De Lara Guarch, Pablo ; Athreya, Narayana >Prasad ; >Gupta, Ashish ; Sahu, Sunila >; Challa, Mahipal >; Jain, Deepak K ; Hemant

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Verma, Shally
>-Original Message- >From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >Sent: 27 February 2018 00:46 >To: Trahe, Fiona ; dev@dpdk.org; Verma, Shally > >Cc: De Lara Guarch, Pablo ; Athreya, Narayana >Prasad ; >Gupta, Ashish ; Sahu, Sunila >; Challa, Mahipal >; Jain, Deepak K ; Hemant

Re: [dpdk-dev] [PATCH] dpaa: Augment linker line to include needed libraries for dpaa

2018-02-26 Thread Hemant Agrawal
HI Neil, Thanks for the patch. This issue was identified and fixed in the following patches (yet to be merged) V1:http://dpdk.org/dev/patchwork/patch/35366/ V2: http://dpdk.org/dev/patchwork/patch/35369/ Regards, Hemant > -Original Message- > From: dev [mailto:dev-boun...@dpdk

[dpdk-dev] [PATCH v2] doc: add driver limitation for vhost dequeue zero copy

2018-02-26 Thread Junjie Chen
In vhost-switch example, when binding nic to vfio-pci, dequeue zero copy cannot work in VM2NIC mode due to no iommu dma mapping is setup for guest memory currently. Signed-off-by: Junjie Chen --- Changes in V2: - add doc in vhost lib doc/guides/prog_guide/vhost_lib.rst | 3 +++ doc/guides/samp

Re: [dpdk-dev] [PATCH] ether: fix invalid string length in ethdev name comparison

2018-02-26 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Mohammad Abdul Awal > Sent: Monday, February 26, 2018 11:22 PM > To: tho...@monjalon.net > Cc: rke...@gmail.com; dev@dpdk.org; Awal, Mohammad Abdul > > Subject: [dpdk-dev] [PATCH] ether: fix invalid string lengt

[dpdk-dev] [PATCH] ether: fix invalid string length in ethdev name comparison

2018-02-26 Thread Mohammad Abdul Awal
The current code compares two strings upto the length of 1st string (searched name). If the 1st string is prefix of 2nd string (existing name), the string comparison returns the port_id of earliest prefix matches. This patch fixes the bug by comparing the strings upto the length of larger string.

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Ahmed Mansour
> Hi Fiona, Ahmed >> Hi Fiona, >> >> Thanks for starting this discussion. In the current API the user must >> make 12 API calls just to get information to compress. Maybe there is a >> way to simplify. At least for some use cases (stateless). I think a call >> sometime next week would be good to he

Re: [dpdk-dev] [PATCH 08/10] event/octeontx: add option to use fpavf as chunk pool

2018-02-26 Thread Pavan Nikhilesh
Hi Gabriel, On Fri, Feb 23, 2018 at 08:17:07PM +, Carrillo, Erik G wrote: > Hi Pavan, > > > -Original Message- > > From: Pavan Nikhilesh [mailto:pbhagavat...@caviumnetworks.com] > > Sent: Friday, February 16, 2018 3:37 PM > > To: jerin.ja...@caviumnetworks.com; > > santosh.shu...@caviu

[dpdk-dev] [PATCH] dpaa: Augment linker line to include needed libraries for dpaa

2018-02-26 Thread Neil Horman
When preforming a shared library build, if the dpaa pmd is configured, the build fails when linking testpmd. This occurs because the makefile fails to include dependent libraries dpaa_mempool and dpaa_bus. Fix is to simply include them in the makefile. We could perhaps fix this more generally by

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Ahmed Mansour
>> Hi Fiona, >> >> Thanks for starting this discussion. In the current API the user must >> make 12 API calls just to get information to compress. Maybe there is a >> way to simplify. At least for some use cases (stateless). I think a call >> sometime next week would be good to help clarify coalesc

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

2018-02-26 Thread Pavan Nikhilesh
Hi Matan, On Mon, Feb 19, 2018 at 12:09:46PM +, Matan Azrad wrote: > > Hi Pavan > > From: Pavan Nikhilesh, Monday, February 19, 2018 1:37 PM > > Add 32b and 64b API's to align the given integer to the previous power of 2. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > v2 Changes: > > -

Re: [dpdk-dev] 32-bit compilation & debug logs

2018-02-26 Thread Burakov, Anatoly
On 13-Feb-18 8:59 PM, Thomas Monjalon wrote: Hi all, There is a very common pattern with build failures in DPDK. When compiling in 32-bit mode, there are some mismatches between printf format "%lu" / "%lx" and the size of the data being 64-bit. In 32-bit mode, a long is 32 bits long :) That's wh

Re: [dpdk-dev] [PATCH v2] net/qede: fix alloc from socket 0

2018-02-26 Thread Patil, Harish
-Original Message- From: Pascal Mazon Date: Monday, February 26, 2018 at 12:01 AM To: "dev@dpdk.org" , "Mody, Rasesh" , Harish Patil , "Shaikh, Shahed" Cc: "pascal.ma...@6wind.com" , "sta...@dpdk.org" Subject: [PATCH v2] net/qede: fix alloc from socket 0 >In case osal_dma_alloc_coherent

[dpdk-dev] [PATCH] net/mlx5: fix disabling Tx packet inlining

2018-02-26 Thread Yongseok Koh
Adding 'txq_inline=0' to PMD parameter should disable Tx packet inlining but it doesn't work properly for Enhanced Multi-Packet Send. Fixes: 6ce84bd88919 ("net/mlx5: add enhanced multi-packet send for ConnectX-5") Cc: sta...@dpdk.org Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler --- driv

Re: [dpdk-dev] [RFC] tunnel endpoint hw acceleration enablement

2018-02-26 Thread Doherty, Declan
On 13/02/2018 5:05 PM, Adrien Mazarguil wrote: Hi, Apologies for being late to this thread, I've read the ensuing discussion (hope I didn't miss any) and also think rte_flow could be improved in several ways to enable TEP support, in particular regarding the ordering of actions. On the other ha

[dpdk-dev] [PATCH 15/18] net/mlx5: fix control flow create failure

2018-02-26 Thread Xueming Li
Fix control flow create failure by initializing temp struct variable. Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow") Cc: sta...@dpdk.org Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx5/ml

[dpdk-dev] [PATCH 17/18] net/mlx5: allow flow tunnel ID 0 with outer pattern

2018-02-26 Thread Xueming Li
Tunnel w/o tunnel id pattern could match any non-tunneled packet, thus this patch only allow tunnel pattern with outer spec. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b

[dpdk-dev] [PATCH 18/18] doc: update mlx5 guide on tunnel offloading

2018-02-26 Thread Xueming Li
Remove tunnel limitations, add new hardware tunnel offload features. Signed-off-by: Xueming Li --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 0e6e525..aa8f221 100644 --- a/doc/guides/n

[dpdk-dev] [PATCH 16/18] net/mlx5: introduce new tunnel VXLAN-GPE

2018-02-26 Thread Xueming Li
Add VXLAN-GPE support to rte flow. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 98 +--- drivers/net/mlx5/mlx5_rxtx.c | 3 +- 2 files changed, 93 insertions(+), 8 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/m

[dpdk-dev] [PATCH 11/18] net/mlx5: split flow RSS handling logic

2018-02-26 Thread Xueming Li
Refactor and split out flow RSS hash field handling logic to dedicate function. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 95 +--- 1 file changed, 54 insertions(+), 41 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net

[dpdk-dev] [PATCH 14/18] net/mlx5: add hardware flow debug dump

2018-02-26 Thread Xueming Li
Dump verb flow detail including each flow spec type and size for debug purpose. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index f01c90f..5b95

[dpdk-dev] [PATCH 13/18] net/mlx5: support 16 hardware priorities

2018-02-26 Thread Xueming Li
Since OFED 4.3-0.1.3.0, new driver support 16 Verbs priorities, adjust RTE FLOW priority mapping to: 0-3: RTE FLOW tunnel rule 4-7: RTE FLOW non-tunnel rule 8-15: PMD default control flow Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 26 +- 1 file changed,

[dpdk-dev] [PATCH 10/18] net/mlx5: support packet tunnel type

2018-02-26 Thread Xueming Li
Support packet tunnel type identification based on rte_flow rule. If rules of multiple tunnel types specified on same queue, RTE_PTYPE_TUNNEL_MASK will be returned as tunnel type, it's user's responsibility to set bits in flow mark as tunnel type identifier. Signed-off-by: Xueming Li --- driver

[dpdk-dev] [PATCH 07/18] net/mlx5: support GRE tunnel flow

2018-02-26 Thread Xueming Li
Support GRE tunnel type in RTE FLOW. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 67 +++- 1 file changed, 60 insertions(+), 7 deletions(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c index 26002c4..2acd42b 100

[dpdk-dev] [PATCH 12/18] net/mlx5: support tunnel RSS level

2018-02-26 Thread Xueming Li
RTE flow tunnel RSS level give user a choice to do RSS hash calculation on inner or outer RSS fields. This path make mlx5 PMD support rte_flow tunel RSS level. Testpmd flow command examples: GRE tunnel with inner TCP, UDP and IP RSS: flow create 0 ingress pattern eth / ipv4 proto is 47 / gre /

[dpdk-dev] [PATCH 08/18] net/mlx5: support L3 vxlan

2018-02-26 Thread Xueming Li
This patch add L3 vxlan support which don't have inner L2 header comparing to standard vxlan protocol. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c ind

[dpdk-dev] [PATCH 09/18] net/mlx5: support tunnel inner csum offloads

2018-02-26 Thread Xueming Li
PKT_RX_IP_CKSUM_GOOD and PKT_RX_L4_CKSUM_GOOD of mubf.ol_flags now are inner header checksum when packet is tunneled. Signed-off-by: Xueming Li --- drivers/net/mlx5/mlx5_flow.c | 13 + drivers/net/mlx5/mlx5_rxq.c | 2 -- drivers/net/mlx5/mlx5_rxtx.c | 18 -- drivers

[dpdk-dev] [PATCH 06/18] net/mlx5: fix tunnel offloads cap query

2018-02-26 Thread Xueming Li
From: Shahaf Shuler The query for the tunnel stateless offloads is wrongly implemented because of: 1. It was using the device id to query for the offloads. 2. It was using a compilation flag for Verbs which no longer exits. The main reason was lack of proper API from Verbs. Fixing the query to

[dpdk-dev] [PATCH 03/18] ethdev: introduce new tunnel VXLAN-GPE

2018-02-26 Thread Xueming Li
VXLAN-GPE enables VXLAN for all protocols. Protocol link: https://datatracker.ietf.org/doc/draft-ietf-nvo3-vxlan-gpe/ Signed-off-by: Xueming Li --- lib/librte_ether/rte_eth_ctrl.h | 3 ++- lib/librte_ether/rte_flow.c | 1 + lib/librte_ether/rte_flow.h | 27 ++

[dpdk-dev] [PATCH 04/18] app/testpmd: introduce new tunnel VXLAN-GPE

2018-02-26 Thread Xueming Li
Add VXLAN-GPE support to csum forwarding engine and rte flow. Signed-off-by: Xueming Li --- app/test-pmd/cmdline_flow.c | 24 ++ app/test-pmd/config.c | 2 + app/test-pmd/csumonly.c | 83 +-- app/test-pmd/parameters

[dpdk-dev] [PATCH 05/18] app/testpmd: add more GRE extension support to csum engine

2018-02-26 Thread Xueming Li
This patch adds GRE checksum and sequence extension supports in addtion to key extension to csum forwarding engine. Signed-off-by: Xueming Li --- app/test-pmd/csumonly.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/app/test-pmd/csumonly.c b/app/test-p

[dpdk-dev] [PATCH 02/18] app/testpmd: support flow RSS level parsing

2018-02-26 Thread Xueming Li
Support new flow RSS level parameter to select inner or outer RSS fields. Example: flow create 0 ingress pattern eth / ipv4 / udp dst is 4789 / vxlan / end actions rss queues 1 2 end level 1 / end Signed-off-by: Xueming Li --- app/test-pmd/cmdline_flow.c | 27 +-- 1 f

[dpdk-dev] [PATCH 01/18] ethdev: support tunnel RSS level

2018-02-26 Thread Xueming Li
Currently PMD implementations default RSS on either tunnel outer or inner fields. This patch introduced RSS level to allow user to specify RSS hash field level of tunneled packets. 0: outer RSS. 1: inner RSS. 2-255: deep RSS level. Please note that tunnels that tightly nested without IP/UDP/TCP l

[dpdk-dev] [PATCH 00/18] MLX5 tunnel Rx offloading

2018-02-26 Thread Xueming Li
This patchset supports MLX5 RX offloading(checksum, inner rss, inner ptype) for VXLAN(starndard L2/nonstandard L3), GRE and VXLAN-GPE based on rte flow. V0 patchset was based on follwoing patchset: http://www.dpdk.org/dev/patchwork/patch/35005/ http://www.dpdk.org/dev/patchwork/patch/31757/ Next

Re: [dpdk-dev] 17.11.1 patches review and test

2018-02-26 Thread Yuanhan Liu
On Mon, Feb 26, 2018 at 07:38:32PM +0530, gowrishankar muthukrishnan wrote: > Hi yliu > Could you please include below patch merged 18.02 ?. Apologies for short > notice. > > http://dpdk.org/dev/patchwork/patch/34690/ Done. Thanks. --yliu > > Thanks, > Gowrishankar > > On Monday 19 Feb

Re: [dpdk-dev] 17.11.1 patches review and test

2018-02-26 Thread gowrishankar muthukrishnan
Hi yliu Could you please include below patch merged 18.02 ?. Apologies for short notice. http://dpdk.org/dev/patchwork/patch/34690/ Thanks, Gowrishankar On Monday 19 February 2018 06:13 PM, Yuanhan Liu wrote: Hi all, Here is a list of patches targeted for LTS release 17.11.1. Please help re

Re: [dpdk-dev] [RFC v2, 2/2] eventdev: add crypto adapter API header

2018-02-26 Thread Akhil Goyal
Hi Jerin/Abhinandan, On 2/20/2018 7:29 PM, Jerin Jacob wrote: -Original Message- Date: Mon, 19 Feb 2018 10:55:58 + From: "Gujjar, Abhinandan S" To: Jerin Jacob CC: "dev@dpdk.org" , "Vangati, Narender" , "Rao, Nikhil" , "Eads, Gage" , "hemant.agra...@nxp.com" , "akhil.go...@n

[dpdk-dev] [PATCH v2] app/pdump: check for ports

2018-02-26 Thread Vipin Varghese
In case of application build with shared library mode unless option '-d' is passed, poll mode driver for devices is not initialized. Notifying the user just after rte_eal_init is pro active way of intimating the user. Signed-off-by: Vipin Varghese --- Changes in V2: - updated the exit message -

Re: [dpdk-dev] [PATCH] app/pdump: check for ports

2018-02-26 Thread Varghese, Vipin
> -Original Message- > From: Pattan, Reshma > Sent: Monday, February 26, 2018 11:02 AM > To: Varghese, Vipin ; dev@dpdk.org > Cc: Mcnamara, John > Subject: RE: [PATCH] app/pdump: check for ports > > > > > -Original Message- > > From: Varghese, Vipin > > Sent: Monday, February

[dpdk-dev] [PATCH v2] net/tap: add tun support

2018-02-26 Thread Vipin Varghese
The change adds TUN PMD logic to the existing TAP PMD. TUN PMD can be initialized with 'net_tunX' where 'X' represents unique id. PMD supports argument interface, while MAC address and remote are not supported. Signed-off-by: Vipin Varghese --- Changes in V2: - updated the documentation word er

[dpdk-dev] 16.11.5 (LTS) patches review and test

2018-02-26 Thread Luca Boccassi
Hi all, Here is a list of patches targeted for LTS release 16.11.5. Please help review and test. The planned date for the final release is March the 5th, pending results from regression tests. Before that, please shout if anyone has objections with these patches being applied. These patches are l

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Verma, Shally
Hi Fiona, Ahmed >-Original Message- >From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >Sent: 24 February 2018 06:47 >To: Trahe, Fiona ; dev@dpdk.org; Verma, Shally > >Cc: De Lara Guarch, Pablo ; Athreya, Narayana >Prasad ; >Gupta, Ashish ; Sahu, Sunila >; Challa, Mahipal >; Jain, Deep

Re: [dpdk-dev] [PATCH] compressdev: implement API

2018-02-26 Thread Trahe, Fiona
> -Original Message- > From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] > Sent: Saturday, February 24, 2018 1:17 AM > To: Trahe, Fiona ; dev@dpdk.org; > shally.ve...@cavium.com > Cc: De Lara Guarch, Pablo ; Athreya, Narayana > Prasad > ; Gupta, Ashish ; > Sahu, Sunila > ; Challa, Mah

Re: [dpdk-dev] [PATCH 5/5] net/sfc: remove void pointer cast

2018-02-26 Thread Andrew Rybchenko
On 02/26/2018 11:11 AM, Zhiyong Yang wrote: Cc: arybche...@solarflare.com Signed-off-by: Zhiyong Yang Acked-by: Andrew Rybchenko --- drivers/net/sfc/sfc_flow.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flo

Re: [dpdk-dev] [PATCH] app/pdump: check for ports

2018-02-26 Thread Pattan, Reshma
> -Original Message- > From: Varghese, Vipin > Sent: Monday, February 26, 2018 4:30 PM > To: dev@dpdk.org; Pattan, Reshma > Cc: Mcnamara, John ; Varghese, Vipin > > Subject: [PATCH] app/pdump: check for ports > > In case of application build with shared library mode unless option '-d'

Re: [dpdk-dev] [dpdk-dev,v1] net/tap: add tun support

2018-02-26 Thread Varghese, Vipin
Hi Pascal, Thanks for the comments, Please find my updates inline > -Original Message- > From: Pascal Mazon [mailto:pascal.ma...@6wind.com] > Sent: Thursday, February 22, 2018 12:22 PM > To: Varghese, Vipin ; dev@dpdk.org; Mcnamara, > John ; Yigit, Ferruh > Cc: Kovacevic, Marko > Subjec

[dpdk-dev] [PATCH] app/pdump: check for ports

2018-02-26 Thread Vipin Varghese
In case of application build with shared library mode unless option '-d' is passed, poll mode driver for devices is not initialized. Notifying the user just after rte_eal_init is pro active way of intimating the user. Signed-off-by: Vipin Varghese --- app/pdump/main.c | 3 +++ 1 file changed, 3

Re: [dpdk-dev] [PATCH 1/5] lib/ethdev: support for inline IPsec events

2018-02-26 Thread Nicolau, Radu
> -Original Message- > From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com] > Sent: Wednesday, February 21, 2018 5:37 AM > To: Akhil Goyal ; Doherty, Declan > ; Nicolau, Radu > Cc: Anoob Joseph ; Jerin Jacob > ; Narayana Prasad > ; Nelio Laranjeiro > ; dev@dpdk.org > Subject: [PAT

Re: [dpdk-dev] [PATCH v1] net/mlx4: fix RSS actions with no parameters

2018-02-26 Thread Adrien Mazarguil
On Sat, Feb 24, 2018 at 11:18:54PM +, Ophir Munk wrote: > Hi, > Please see below > > > -Original Message- > > From: Adrien Mazarguil [mailto:adrien.mazarg...@6wind.com] > > Sent: Friday, February 23, 2018 6:53 PM > > To: Ophir Munk > > Cc: dev@dpdk.org; Thomas Monjalon ; Olga Shern >

[dpdk-dev] [PATCH] vhost: add note about sockets in server mode

2018-02-26 Thread Ilya Maximets
>From time to time, someone sends patches about unlinking existing sockets when registering a vhost user in server mode. A recent example: http://dpdk.org/ml/archives/dev/2018-February/090025.html This problem has been discussed many times, and it was made clear that the library should no

Re: [dpdk-dev] [PATCH] net/mlx5: fix tunnel offloads cap query

2018-02-26 Thread Nélio Laranjeiro
On Sun, Feb 25, 2018 at 09:28:37AM +0200, Shahaf Shuler wrote: > The query for the tunnel stateless offloads is wrongly implemented > because of: > > 1. It was using the device id to query for the offloads. > 2. It was using a compilation flag for Verbs which no longer exits. > > The main reason

[dpdk-dev] [PATCH 5/5] net/sfc: remove void pointer cast

2018-02-26 Thread Zhiyong Yang
Cc: arybche...@solarflare.com Signed-off-by: Zhiyong Yang --- drivers/net/sfc/sfc_flow.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/sfc/sfc_flow.c b/drivers/net/sfc/sfc_flow.c index 93cdf8f4c..eb555c324 100644 --- a/drivers/net/sfc/sfc_flow.c +++ b/dr

Re: [dpdk-dev] [PATCH] net/mlx5: add bluefield device ID

2018-02-26 Thread Nélio Laranjeiro
On Sun, Feb 25, 2018 at 09:20:49AM +0200, Shahaf Shuler wrote: > Signed-off-by: Shahaf Shuler > --- > drivers/net/mlx5/mlx5.c | 4 > drivers/net/mlx5/mlx5.h | 1 + > 2 files changed, 5 insertions(+) > > diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c > index 61cb93101..5345bc

[dpdk-dev] [PATCH 4/5] net/bnxt: remove void pointer cast

2018-02-26 Thread Zhiyong Yang
Cc: ajit.khapa...@broadcom.com Cc: somnath.ko...@broadcom.com Signed-off-by: Zhiyong Yang --- drivers/net/bnxt/bnxt_filter.c | 44 -- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/drivers/net/bnxt/bnxt_filter.c b/drivers/net/bnxt/bnxt_filt

[dpdk-dev] [PATCH 3/5] net/e1000: remove void pointer cast

2018-02-26 Thread Zhiyong Yang
Cc: wenzhuo...@intel.com Signed-off-by: Zhiyong Yang --- drivers/net/e1000/igb_flow.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/net/e1000/igb_flow.c b/drivers/net/e1000/igb_flow.c index a14275968..c0f5b5190 100644 --- a/drivers/net/e

[dpdk-dev] [PATCH 2/5] net/ixgbe: remove void pointer cast

2018-02-26 Thread Zhiyong Yang
Cc: wenzhuo...@intel.com Cc: konstantin.anan...@intel.com Signed-off-by: Zhiyong Yang --- drivers/net/ixgbe/ixgbe_flow.c | 106 ++--- 1 file changed, 46 insertions(+), 60 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_flow.c b/drivers/net/ixgbe/ixgbe_flow.c

[dpdk-dev] [PATCH 1/5] flow_classify: remove void pointer cast

2018-02-26 Thread Zhiyong Yang
Cc: bernard.iremon...@intel.com Signed-off-by: Zhiyong Yang --- lib/librte_flow_classify/rte_flow_classify.c | 4 +--- lib/librte_flow_classify/rte_flow_classify_parse.c | 24 +++--- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/lib/librte_flow_classify/r

[dpdk-dev] [PATCH 0/5] remove void pointer explicit cast

2018-02-26 Thread Zhiyong Yang
The patch series cleanup void pointer explicit cast related to struct rte_flow_item fields in librte_flow_classify and make code more readable. Zhiyong Yang (5): flow_classify: remove void pointer cast net/ixgbe: remove void pointer cast net/e1000: remove void pointer cast net/bnxt: remove

[dpdk-dev] [PATCH v2] net/qede: fix alloc from socket 0

2018-02-26 Thread Pascal Mazon
In case osal_dma_alloc_coherent() or osal_dma_alloc_coherent_aligned() are called from a management thread, core_id turn out to be LCORE_ID_ANY, and the resulting socket for alloc will be socket 0. This is not desirable when using a NIC from socket 1 which might very likely be configured to use me