[dpdk-dev] [PATCH] net/i40e: remove unnecessary FDIR mask configuration

2018-02-10 Thread Beilei Xing
Remove unnecessary FDIR mask configuration, otherwise flow directory mask will be changed when configuring hash input set. Signed-off-by: Beilei Xing --- drivers/net/i40e/rte_pmd_i40e.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_

[dpdk-dev] [PATCH] net/i40e: add log when setting input set

2018-02-10 Thread Beilei Xing
This patch adds log when setting input set since global configuration is changed. Signed-off-by: Beilei Xing --- drivers/net/i40e/rte_pmd_i40e.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/

Re: [dpdk-dev] [PATCH] vhost: reduce size of coredump file

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:40 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Basierski, SebastianX > Subject: [dpdk-dev] [PATCH] vhost: reduce size of coredump file > > If application

Re: [dpdk-dev] [PATCH] vhost: fix wait for valid descriptor

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:35 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; yuanhan@linux.intel.com; sta...@dpdk.org; Liu, > Changpeng > Subject: [dpdk-dev] [PATCH] vhost: fix wai

Re: [dpdk-dev] [PATCH] vhost: fix return avail ring position in get vring base

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:28 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Xie, Huawei; sta...@dpdk.org; Wodkowski, PawelX > Subject: [dpdk-dev] [PATCH] vhost: fix return avail ring

Re: [dpdk-dev] [PATCH] vhost: fix remove macro name conflict

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:24 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Xie, Huawei; sta...@dpdk.org; Walker, Benjamin > Subject: [dpdk-dev] [PATCH] vhost: fix remove macro name c

Re: [dpdk-dev] [PATCH] maintainers: update vhost lib and pmd

2018-02-10 Thread Yuanhan Liu
On Sun, Feb 11, 2018 at 01:04:51AM +, Jianfeng Tan wrote: > Signed-off-by: Jianfeng Tan Acked-by: Yuanhan Liu And welcome! BTW, the verb "update" doesn't look good to me ;) --yliu > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAI

Re: [dpdk-dev] [PATCH] vhost: fix realloc failure

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:19 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; yuanhan@linux.intel.com; sta...@dpdk.org; Yang, > Ziye > Subject: [dpdk-dev] [PATCH] vhost: fix realloc

Re: [dpdk-dev] [PATCH] vhost: fix double free on shutdown

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:15 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; yuanhan@linux.intel.com; sta...@dpdk.org; Stojaczyk, > DariuszX > Subject: [dpdk-dev] [PATCH] vhost: fi

Re: [dpdk-dev] [PATCH] vhost: fix close callfd on get vring base

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tomasz Kulasek > Sent: Saturday, February 10, 2018 1:11 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Xie, Huawei; sta...@dpdk.org; Stojaczyk, DariuszX > Subject: [dpdk-dev] [PATCH] vhost: fix close callfd on

[dpdk-dev] PF vlan filter can not work in x710

2018-02-10 Thread ychen
hi, when I use X710 PF in dpdk mode, i found that vlan filter function does not work. when I only add vlan 102, but I can receive packets with vlan tag100,200,300 etc. I can reproduce this phenomenon following the step: 1. set iommu=pt intel_iommu=on in file /etc/default/grub 2. dpdk-devbind -

Re: [dpdk-dev] [PATCH] maintainers: update vhost lib and pmd

2018-02-10 Thread Yang, Zhiyong
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jianfeng Tan > Sent: Sunday, February 11, 2018 9:05 AM > To: y...@fridaylinux.org; maxime.coque...@redhat.com; > mtetsu...@gmail.com; dev@dpdk.org > Cc: tho...@monjalon.net; Tan, Jianfeng > Subject: [dpdk-dev] [P

[dpdk-dev] i354 autoneg-off link issue

2018-02-10 Thread Ananda Sathyanarayana
Hi, I am observing a strange issue with i354 when auto-negotiation is turned off. The device I have has 6 ethernet ports. Port 1 and 2 are based on i210 and port 3 to 6 are based on i354 (connected thru an external PHY). The CPU is Atom Rangeley (4 core). I have connected ports 3 and 4 back to

Re: [dpdk-dev] [PATCH] eal: fix rte_errno values for IPC API

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: Burakov, Anatoly > Sent: Saturday, February 10, 2018 9:15 PM > To: dev@dpdk.org > Cc: Tan, Jianfeng > Subject: [PATCH] eal: fix rte_errno values for IPC API > > rte_errno values should not be negative. > > Fixes: bacaa2754017 ("eal: add channel for multi-proc

Re: [dpdk-dev] [PATCH v2] vhost: fix check if cmsg is NULL

2018-02-10 Thread Tan, Jianfeng
> -Original Message- > From: Kulasek, TomaszX > Sent: Saturday, February 10, 2018 1:06 AM > To: y...@fridaylinux.org > Cc: dev@dpdk.org; Tan, Jianfeng; sta...@dpdk.org; Wodkowski, PawelX > Subject: [PATCH v2] vhost: fix check if cmsg is NULL > > Fixes: 8f972312b8f4 ("vhost: support vhost

[dpdk-dev] [PATCH] maintainers: update vhost lib and pmd

2018-02-10 Thread Jianfeng Tan
Signed-off-by: Jianfeng Tan --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4f1f33b..38e5fb8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -559,6 +559,7 @@ F: doc/guides/nics/features/vmxnet3.ini Vhost-user M: Yuanhan Liu M: Maxime Coqueli

Re: [dpdk-dev] [PATCH] ethdev: fix a regression due to cache alignment issue

2018-02-10 Thread Matan Azrad
Hi Jerin From: Jerin Jacob,Sent: Saturday, February 10, 2018 11:42 AM > Prior to "ethdev: add port ownership" change, the fast path structure struct > rte_eth_dev->data was cache aligned due to the fact that eth_dev_data was > allocated from rte_malloc with cache aligned attribute. > "ethdev: add

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Ravi Kerur
On Sat, Feb 10, 2018 at 2:58 AM, Burakov, Anatoly wrote: > On 29-Jan-18 10:35 PM, Ravi Kerur wrote: > >> Hi Burakov, >> >> When using vfio-pci on host both VF and PF interfaces works fine with >> dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a >> VF interface to a VM a

[dpdk-dev] [PATCH] eal: fix rte_errno values for IPC API

2018-02-10 Thread Anatoly Burakov
rte_errno values should not be negative. Fixes: bacaa2754017 ("eal: add channel for multi-process communication") Fixes: 783b6e54971d ("eal: add synchronous multi-process communication") Cc: jianfeng@intel.com Signed-off-by: Anatoly Burakov --- Notes: This is in DPDK coding style guide:

Re: [dpdk-dev] [PATCH] doc: add change notice for mbuf sched field

2018-02-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 9 Feb 2018 16:45:16 + > From: Cristian Dumitrescu > To: dev@dpdk.org > CC: olivier.m...@6wind.com, tho...@monjalon.net, jasvinder.si...@intel.com, > roy.fan.zh...@intel.com, kevin.la...@intel.com > Subject: [dpdk-dev] [PATCH] doc: add change notice for

Re: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable

2018-02-10 Thread Jerin Jacob
-Original Message- > Date: Sat, 10 Feb 2018 12:02:24 + > From: Hemant Agrawal > To: Jerin Jacob , "dev@dpdk.org" > > Subject: RE: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Je

Re: [dpdk-dev] [PATCH v2] doc: update ethdev APIs to return named opaque type

2018-02-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 9 Feb 2018 13:22:06 + > From: "Ananyev, Konstantin" > To: "Yigit, Ferruh" , Neil Horman > , "Mcnamara, John" , > "Kovacevic, Marko" > CC: "dev@dpdk.org" , Stephen Hemminger > , "Richardson, Bruce" > , Thomas Monjalon > Subject: Re: [dpdk-dev] [PATC

Re: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable

2018-02-10 Thread Hemant Agrawal
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Saturday, February 10, 2018 5:28 PM > To: dev@dpdk.org > Cc: Jerin Jacob ; Hemant Agrawal > > Subject: [dpdk-dev] [PATCH] net/dpaa2: remove unused global variable > Importance: High > > Due to

Re: [dpdk-dev] [PATCH] doc: fix ethdev API port_id parameter size

2018-02-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 9 Feb 2018 15:01:28 + > From: Hemant Agrawal > To: "Nicolau, Radu" , "Yigit, Ferruh" > , Neil Horman , "Mcnamara, > John" , "Kovacevic, Marko" > > CC: "dev@dpdk.org" , Thomas Monjalon , > Boris Pismenny , Aviad Yehezkel > , "Doherty, Declan" > Sub

[dpdk-dev] [PATCH] net/dpaa2: remove unused global variable

2018-02-10 Thread Jerin Jacob
Due to the missing __packed definition, compiler treating it as as global variable. #grep "Allocating common symbols" -A 100 build/app/testacl.map __packed 0x8 /build/lib/librte_pmd_dpaa2.a(dpaa2_rxtx.o) Fixes: a5fc38d422a7 ("net/dpaa2: support Rx packet parsing") Cc: hemant.agra...@nxp.com S

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Burakov, Anatoly
On 29-Jan-18 10:35 PM, Ravi Kerur wrote: Hi Burakov, When using vfio-pci on host both VF and PF interfaces works fine with dpdk i.e. I don't see DMAR fault messages anymore. However, when I attach a VF interface to a VM and start DPDK with vfio-pci inside VM I still see DMAR fault messages on

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-10 Thread Burakov, Anatoly
On 09-Feb-18 5:41 PM, Ravi Kerur wrote: On Thu, Feb 8, 2018 at 3:20 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 06-Feb-18 5:55 PM, Ravi Kerur wrote: Hi Anatoly, I am actually confused with the state of vIOMMU + DPDK. Can you please help me

[dpdk-dev] [PATCH] ethdev: fix a regression due to cache alignment issue

2018-02-10 Thread Jerin Jacob
Prior to "ethdev: add port ownership" change, the fast path structure struct rte_eth_dev->data was cache aligned due to the fact that eth_dev_data was allocated from rte_malloc with cache aligned attribute. "ethdev: add port ownership" change set introduced a rte_eth_dev_shared_data container for p