[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Dave Neary
Hi, On 10/23/2015 06:28 AM, Mcnamara, John wrote: > We have had a few people wishing to submit DPDK related white papers. > These tend to focus on particular aspects of DPDK and don't fit into > any of the existing documents. > > Where should these be stored/made available? Some options: > > * I

[dpdk-dev] [PATCH v2 01/16] fm10k: add new vPMD file

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 08:39:56AM +, Chen, Jing D wrote: > Hi, Stephen, > > Best Regards, > Mark > > > > -Original Message- > > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > Sent: Thursday, October 22, 2015 11:59 PM > > To: Chen, Jing D > > Cc: dev at dpdk.org >

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Bruce Richardson
On Fri, Oct 23, 2015 at 02:22:28AM +0100, Lu, Wenzhuo wrote: > Hi Bruce, > > > -Original Message- > > From: Richardson, Bruce > > Sent: Thursday, October 22, 2015 8:57 PM > > To: Lu, Wenzhuo > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the >

[dpdk-dev] [PATCH v3] mem: command line option to delete hugepage backing files

2015-10-23 Thread Sergio Gonzalez Monroy
On 22/10/2015 17:03, shesha Sreenivasamurthy (shesha) wrote: > Sergio, >Your comment regarding remap_all_functions is correct and can be fixed > by unlinking in remap_all_hugepages() too. However, regarding you comment > that ?unmap_unneeded_hugepages? will fail ? in the > unmap_unneeded_hugepa

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Chilikin, Andrey > Sent: Friday, October 23, 2015 11:39 AM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the > structures for fdir new modes > > I would

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Chilikin, Andrey
I would suggest rearranging members of rte_eth_fdir_tunnel_type to set RTE_FDIR_TUNNEL_TYPE_UNKNOWN=0 so any global/static variables or variables after memset(0) would have unknown type. Regards, Andrey > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzh

[dpdk-dev] [PATCH v2 1/1] vhost_xen: fix compile error in main.c

2015-10-23 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Thursday, October 22, 2015 2:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 1/1] vhost_xen: fix compile error in main.c > > changes in v2: > update release notes > > Sig

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Mcnamara, John
Hi, We have had a few people wishing to submit DPDK related white papers. These tend to focus on particular aspects of DPDK and don't fit into any of the existing documents. Where should these be stored/made available? Some options: * In the repo, in RST format in a doc/guides/white_paper direct

[dpdk-dev] [PATCH v4 7/7] doc: release notes update for flow director enhancement

2015-10-23 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- doc/guides/rel_notes/release_2_2.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index bc9b00f..9d0a4d7 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_note

[dpdk-dev] [PATCH v4 6/7] ixgbe: implementation for fdir new modes' config

2015-10-23 Thread Wenzhuo Lu
Implement the new CLIs for fdir mac vlan and tunnel modes, including flow_director_filter and flow_director_mask. Set the mask of fdir. Add, delete or update the entities of filter. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.h | 3 + drivers/net/ixgbe/ixgbe_fdir.c | 261 +++

[dpdk-dev] [PATCH v4 5/7] app/testpmd: modify and add fdir filter and mask CLIs for new modes

2015-10-23 Thread Wenzhuo Lu
The different fdir mode needs different parameters, so, the parameter *mode* is introduced to the CLI flow_director_filter and flow_director_mask. This parameter can pormpt the user to input the appropriate parameters for different mode. Please be aware, as we should set the fdir mode, the value of

[dpdk-dev] [PATCH v4 4/7] app/testpmd: modify the output of the CLI show port fdir

2015-10-23 Thread Wenzhuo Lu
There're fdir mask and supported flow type in the output of the CLI, show port fdir. But not every parameter has meaning for all the fdir modes, and the supported flow type is meaningless for mac vlan and tunnel modes. So, we output different thing for different mode. Signed-off-by: Wenzhuo Lu --

[dpdk-dev] [PATCH v4 3/7] app/testpmd: new fdir modes for testpmd parameter

2015-10-23 Thread Wenzhuo Lu
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for fdir new modes, perfect-mac-vlan, perfect-tunnel. Signed-off-by: Wenzhuo Lu --- app/test-pmd/parameters.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/parameters.c b/app/test-

[dpdk-dev] [PATCH v4 2/7] app/testpmd: initialize the new fields for fdir mask

2015-10-23 Thread Wenzhuo Lu
When a port is enabled, there're default values for the parameters of fdir mask. For the new parameters, the default values also need to be set. Signed-off-by: Wenzhuo Lu --- app/test-pmd/testpmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testp

[dpdk-dev] [PATCH v4 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Wenzhuo Lu
Define the new modes and modify the filter and mask structures for the mac vlan and tunnel modes. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h | 51 + 1 file changed, 42 insertions(+), 9 deletions(-) diff --git a/lib/librte_ether/rte_eth_

[dpdk-dev] [PATCH v4 0/7] Support new flow director modes on Intel x550 NIC

2015-10-23 Thread Wenzhuo Lu
This patch set adds 2 new flow director modes on Intel x550 NIC. The 2 new fdir modes are mac vlan mode and tunnel mode. The mac vlan mode can direct the flow based on the MAC address and VLAN TCI. The tunnel mode provides the support for VxLAN and NVGRE. x550 can recognize VxLAN and NVGRE packets,

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Stephen Hemminger
On Fri, 23 Oct 2015 18:34:23 +0200 Thomas Monjalon wrote: > > LINUX_VERSION_CODE > > It is used for out-of-tree modules. Actually for the kernel modules, all flags should be enabled. It is kernel code and it should follow the kernel style conventions.

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Vladislav Zolotarov
On Oct 23, 2015 9:30 AM, "Zhang, Helin" wrote: > > > > From: Vladislav Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Friday, October 23, 2015 2:24 PM > To: Zhang, Helin > Cc: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs > > >

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Stephen Hemminger
On Fri, 23 Oct 2015 18:34:23 +0200 Thomas Monjalon wrote: > > Please keep some of these: > > PARENTHESIS_ALIGNMENT > > It is not written in the DPDK coding rules that > "Alignment should match open parenthesis" I think code looks nicer if this rule is followed. Ditto for the LINE_SPACING ru

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Stephen Hemminger
On Fri, 23 Oct 2015 09:20:33 -0700 Matthew Hall wrote: > On Fri, Oct 23, 2015 at 03:51:48PM +0200, Michal Jastrzebski wrote: > > From: Michal Kobylinski > > > > The current DPDK implementation for LPM for IPv4 and IPv6 limits the > > number of next hops to 256, as the next hop ID is an 8-bit l

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Thomas Monjalon
2015-10-23 01:22, Lu, Wenzhuo: > From: Richardson, Bruce > > > union rte_eth_fdir_flow { > > > - struct rte_eth_l2_flow l2_flow; > > > - struct rte_eth_udpv4_flow udp4_flow; > > > - struct rte_eth_tcpv4_flow tcp4_flow; > > > - struct rte_eth_sctpv4_flow sctp4_flow; > > > - struct rte_eth_ipv

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Vladislav Zolotarov
On Oct 23, 2015 9:02 AM, "Zhang, Helin" wrote: > > > > > -Original Message- > > From: Lu, Wenzhuo > > Sent: Friday, October 23, 2015 1:52 PM > > To: dev at dpdk.org > > Cc: Zhang, Helin; Lu, Wenzhuo > > Subject: [PATCH v4] ixgbe: Drop flow control frames from VFs > > > > This patch will dr

[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

2015-10-23 Thread Matthew Hall
On Fri, Oct 23, 2015 at 03:51:48PM +0200, Michal Jastrzebski wrote: > From: Michal Kobylinski > > The current DPDK implementation for LPM for IPv4 and IPv6 limits the > number of next hops to 256, as the next hop ID is an 8-bit long field. > Proposed extension increase number of next hops for IP

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-23 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of mablexidana > Sent: Friday, October 23, 2015 8:48 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] fix lpm bugs > > hi: > This is test on dpdk version 2.1 Hi, Thanks for that. The patch needs to be s

[dpdk-dev] [PATCH v4] nfp: new poll mode driver for netronome nfp-6xxx card

2015-10-23 Thread Stephen Hemminger
On Fri, 23 Oct 2015 11:36:02 +0100 "Alejandro.Lucero" wrote: > +static inline __u32 > +nfp_qcp_read(__u8 *q, enum nfp_qcp_ptr ptr) > +{ > + __u32 off; > + __u32 val; > + Please don't use Linux kernel typedefs (__u32) in DPDK code. Instead use stdint types (uint32_t)

[dpdk-dev] [PATCH 1/2] scripts: add checkpatch wrapper

2015-10-23 Thread Stephen Hemminger
On Fri, 23 Oct 2015 17:53:25 +0200 Thomas Monjalon wrote: > + > +# override default Linux options > +options="$options --max-line-length=$length" > +options="$options --show-types" > +options="$options --ignore=LINUX_VERSION_CODE,FILE_PATH_CHANGES,\ > +VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREFER

[dpdk-dev] [PATCH v4 1/2] e1000: enable igb TSO support

2015-10-23 Thread Wang, Xiao W
Hi, Helin Thanks a lot for your comments, please find my reply inline. > -Original Message- > From: Zhang, Helin > Sent: Friday, October 23, 2015 10:04 AM > To: Wang, Xiao W; dev at dpdk.org > Cc: Lu, Wenzhuo; Richardson, Bruce > Subject: RE: [PATCH v4 1/2] e1000: enable igb TSO s

[dpdk-dev] [PATCH v2 0/5] virtio: Tx performance improvements

2015-10-23 Thread Xie, Huawei
On 10/23/2015 12:05 AM, Stephen Hemminger wrote: > On Thu, 22 Oct 2015 10:38:33 + > "Xie, Huawei" wrote: > >> On 10/21/2015 9:20 PM, Thomas Monjalon wrote: >>> 2015-10-18 22:16, Stephen Hemminger: This is a tested version of the virtio Tx performance improvements that I posted earlie

[dpdk-dev] [RFC] location for DPDK related white papers

2015-10-23 Thread Jay Rolette
On Fri, Oct 23, 2015 at 5:28 AM, Mcnamara, John wrote: > Hi, > > We have had a few people wishing to submit DPDK related white papers. > These tend to focus on particular aspects of DPDK and don't fit into > any of the existing documents. > > Where should these be stored/made available? Some opti

[dpdk-dev] [PATCH v2 01/16] fm10k: add new vPMD file

2015-10-23 Thread Chen, Jing D
Hi, Stephen, Best Regards, Mark > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, October 22, 2015 11:59 PM > To: Chen, Jing D > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 01/16] fm10k: add new vPMD file > > On Thu, 22 O

[dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide

2015-10-23 Thread Mcnamara, John
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Thursday, October 1, 2015 5:27 PM > To: Mcnamara, John; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide > > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.or

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Zhang, Helin
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Friday, October 23, 2015 4:27 PM > To: Zhang, Helin > Cc: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs > > > > On 10/23/15 10:14, Zha

[dpdk-dev] [PATCH v2 03/16] fm10k: Add a new func to initialize all parameters

2015-10-23 Thread Chen, Jing D
Hi, Stephen, Best Regards, Mark > -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Thursday, October 22, 2015 11:58 PM > To: Chen, Jing D > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 03/16] fm10k: Add a new func to initialize > all

[dpdk-dev] [PATCH v4 1/2] e1000: enable igb TSO support

2015-10-23 Thread Wang, Xiao W
-Original Message- From: Zhang, Helin Sent: Friday, October 23, 2015 10:04 AM To: Wang, Xiao W; dev at dpdk.org Cc: Lu, Wenzhuo; Richardson, Bruce Subject: RE: [PATCH v4 1/2] e1000: enable igb TSO support > -Original Message- > From: Wang, Xiao W > Sent: Wednesday, October 21,

[dpdk-dev] [PATCH v4 0/2] cfgfile: modify the macros values

2015-10-23 Thread Singh, Jasvinder
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Thursday, October 22, 2015 5:36 PM > To: Singh, Jasvinder > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 0/2] cfgfile: modify the macros values > > > Michal Jastrzebski (1): > > qos_sc

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, October 23, 2015 3:30 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org; Richardson, Bruce > Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures > for fdir new

[dpdk-dev] [PATCH 2/5] fm10k: enable Rx queue interrupts for PF and VF

2015-10-23 Thread He, Shaopeng
Hi, Mark Thanks for the comments, please find my reply inline. Thanks, --Shaopeng > -Original Message- > From: Chen, Jing D > Sent: Thursday, October 22, 2015 2:52 PM > To: He, Shaopeng; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 2/5] fm10k: enable Rx queue interrupts for > PF and V

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Zhang, Helin
From: Vladislav Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Friday, October 23, 2015 2:57 PM To: Zhang, Helin Cc: Lu, Wenzhuo; dev at dpdk.org Subject: RE: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs On Oct 23, 2015 9:30 AM, "Zhang, Helin" wrote: > > > > From: Vladi

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Zhang, Helin
From: Vladislav Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Friday, October 23, 2015 2:24 PM To: Zhang, Helin Cc: Lu, Wenzhuo; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs On Oct 23, 2015 9:02 AM, "Zhang, Helin" wrote: > > > > > -Orig

[dpdk-dev] [PATCH v4] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Zhang, Helin
> -Original Message- > From: Lu, Wenzhuo > Sent: Friday, October 23, 2015 1:52 PM > To: dev at dpdk.org > Cc: Zhang, Helin; Lu, Wenzhuo > Subject: [PATCH v4] ixgbe: Drop flow control frames from VFs > > This patch will drop flow control frames from being transmitted from VSIs. > With thi

[dpdk-dev] [PATCH v4 4/7] virtio: fill RX avail ring with blank mbufs

2015-10-23 Thread Tan, Jianfeng
On 10/23/2015 1:51 PM, Jianfeng wrote: > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Thursday, October 22, 2015 8:10 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4 4/7] virtio: fill RX avail ring with blank mbufs > +int __attrib

[dpdk-dev] [PATCH v2] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Lu, Wenzhuo
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Friday, October 23, 2015 10:49 AM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: RE: [PATCH v2] ixgbe: Drop flow control frames from VFs > > > > > -Original Message- > > From: Lu, Wenzhuo > > Sent: Thursday, October 22,

[dpdk-dev] [PATCH v2] ixgbe: Drop flow control frames from VFs

2015-10-23 Thread Zhang, Helin
> -Original Message- > From: Lu, Wenzhuo > Sent: Thursday, October 22, 2015 3:34 PM > To: dev at dpdk.org > Cc: Zhang, Helin; Lu, Wenzhuo > Subject: [PATCH v2] ixgbe: Drop flow control frames from VFs > > This patch will drop flow control frames from being transmitted from VSIs. > With t

[dpdk-dev] [PATCH] e1000: fix rx/tx total byte statistics

2015-10-23 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Van Haaren, Harry > Sent: Thursday, October 22, 2015 11:18 PM > To: dev at dpdk.org > Cc: Lu, Wenzhuo; Van Haaren, Harry > Subject: [PATCH] e1000: fix rx/tx total byte statistics > > This patch fixes a bug in reading the 64 bit register reading which was >

[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-23 Thread Xie, Huawei
On 10/23/2015 10:17 AM, Xie, Huawei wrote: > On 10/23/2015 12:57 AM, Stephen Hemminger wrote: >> On Thu, 22 Oct 2015 20:09:50 +0800 >> Huawei Xie wrote: >> >>> Changes in v4: >>> - move virtio_xmit_cleanup ahead to free descriptors earlier >>> >>> Changes in v3: >>> - Remove return at the end of v

[dpdk-dev] [PATCH v4 6/7] virtio: simple tx routine

2015-10-23 Thread Xie, Huawei
On 10/23/2015 12:57 AM, Stephen Hemminger wrote: > On Thu, 22 Oct 2015 20:09:50 +0800 > Huawei Xie wrote: > >> Changes in v4: >> - move virtio_xmit_cleanup ahead to free descriptors earlier >> >> Changes in v3: >> - Remove return at the end of void function >> - Remove always_inline attribute for

[dpdk-dev] [PATCH v4 1/2] e1000: enable igb TSO support

2015-10-23 Thread Zhang, Helin
> -Original Message- > From: Wang, Xiao W > Sent: Wednesday, October 21, 2015 3:55 PM > To: dev at dpdk.org > Cc: Lu, Wenzhuo; Richardson, Bruce; Zhang, Helin; Wang, Xiao W > Subject: [PATCH v4 1/2] e1000: enable igb TSO support > > This patch enables igb TSO feature, the feature works o

[dpdk-dev] [PATCH v4 7/7] virtio: pick simple rx/tx func

2015-10-23 Thread Xie, Huawei
On 10/23/2015 12:59 AM, Stephen Hemminger wrote: > On Thu, 22 Oct 2015 20:09:51 +0800 > Huawei Xie wrote: > >> +/* Use simple rx/tx func if single segment and no offloads */ >> +if ((tx_conf->txq_flags & VIRTIO_SIMPLE_FLAGS) == VIRTIO_SIMPLE_FLAGS && >> + !vtpci_with_feature(hw, VI

[dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures for fdir new modes

2015-10-23 Thread Lu, Wenzhuo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Thursday, October 22, 2015 8:57 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/7] lib/librte_ether: modify the structures > for fdir new modes > > On Thu, Oct 22, 2015 at 03:11:36PM +0800, W

[dpdk-dev] i40e: problem with rx packet drops not accounted in statistics

2015-10-23 Thread Zhang, Helin
Hi Martin Could you help to try bigger size of rx/tx ring, but not the default sizes? For example, could you help to try 1024 for RX ring size, and 512 or 1024 for TX ring size. In addition, please make sure you are using the latest version of NIC firmware. Regards, Helin > -Original Messa

<    1   2