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..
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
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
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_
>-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
>-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
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
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
> -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
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.
> 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
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
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
>> 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
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:
> > -
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
-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
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
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
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
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
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
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
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
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
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,
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
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
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 /
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
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
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
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 ++
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
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
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
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
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
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
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
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
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 -
> -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
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
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
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
> -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
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
> -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'
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
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
> -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
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
>
>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
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
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
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
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
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
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
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
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
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
63 matches
Mail list logo