[dpdk-dev] New to DPDK

2015-01-14 Thread Wiles, Keith
Most people I guess use a Xeon CPU class MB with one or two sockets running Linux with a supported NICs. I use a motherboard like the one below running Ubuntu 12.04 with 12G RAM and the 82599 NICs. You can find more supported NICs in the documentation and you need find the rest of the parts :-) You

[dpdk-dev] [PATCH v2 3/5] vhost: enable promisc mode and config VMDQ offload register for multicast feature

2015-01-14 Thread Thomas Monjalon
Hi Huawei, 2015-01-08 10:07, Xie, Huawei: > CTRL_RX is dependent on CTRL_VQ. > CTRL_VQ should be enabled if CTRL_RX is enabled. > Observed that virtio-net driver will crash if CTRL_VQ isn't enabled in > vhost-user case. > /* Caller should know better */ > BUG_ON(!virtio_has_feature(vi

[dpdk-dev] Packet Rx issue with DPDK1.8

2015-01-14 Thread Thomas Monjalon
2015-01-09 09:26, Bruce Richardson: > On Fri, Jan 09, 2015 at 06:45:57AM +, Prashant Upadhyaya wrote: > > Hi Bruce, > > > > I tried with your suggestion. > > > > When I disable the _vec function with the following config change, the > > usecase works for me. So it points to some issue in the

[dpdk-dev] Q on Support for I217 and I218 Intel chipsets.

2015-01-14 Thread Thomas Monjalon
2015-01-09 04:41, Ravi Kerur: > Thomas, > > Please let me know how I can move forward on this. If i confine changes in > e1000/ directory to e1000_osdep.h file only and the rest in PMD will that > work? The reason I ask is because of following comment in README file. > > ... > Few changes to the

[dpdk-dev] [PATCH 1/2] doc: Add 'make pdf' target to convert guide docs to pdf.

2015-01-14 Thread John McNamara
This patch adds a high level 'make pdf' target to generate pdf documents from the sphinx/rst user guides. Signed-off-by: John McNamara --- doc/api/sphinx-latex-update.pl | 71 ++ doc/guides/freebsd_gsg/conf.py | 86 +++ do

[dpdk-dev] [PATCH RFC 0/1] Add 'make pdf' target to convert guide docs to pdf.

2015-01-14 Thread John McNamara
This patch adds support for creating PDF versions of the the user guides. Specifically: * The Programmer's Guide * The Linux Getting Started Guide * The FreeBSD Getting Started Guide * The Sample Applications User Guide * The TestPMD User Guide * The Release Notes The loca

[dpdk-dev] Packet Rx issue with DPDK1.8

2015-01-14 Thread Bruce Richardson
On Wed, Jan 14, 2015 at 05:30:15PM +0100, Thomas Monjalon wrote: > 2015-01-09 09:26, Bruce Richardson: > > On Fri, Jan 09, 2015 at 06:45:57AM +, Prashant Upadhyaya wrote: > > > Hi Bruce, > > > > > > I tried with your suggestion. > > > > > > When I disable the _vec function with the following

[dpdk-dev] KNI interface operational state UP issue

2015-01-14 Thread Aziz Hajee
Yes, the DPDK reports port is UP. By the following change in the registered callback function to comment out stop/start the dpdk interface, I can bring the KNI vEthX interfaces up: (I guess, the reason is the ret value is now the default ret = 0, and no error from stop/start. ) kni_config_network_

[dpdk-dev] [PATCH v3 4/4] docs: Add ABI documentation

2015-01-14 Thread Thomas Monjalon
2014-12-23 10:51, Neil Horman: > Adding a document describing rudimentary ABI policy and adding notice space > for > any deprecation announcements We had a good discussion about the policy and its impact: http://thread.gmane.org/gmane.comp.networking.dpdk.devel/8367/focus=8461 Sadly nobod

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-14 Thread Kamraan Nasim
Many thanks Helin and Bruce :) Now if 1Gb NICs don't support fdir filters then im wondering how would we count the number of packets matching a filter. Regular 5tuple filters don't have any stats similar to "fdirmatch"(in the rte_eth_stats stru

[dpdk-dev] [PATCH v3 3/4] Add library version extenstion

2015-01-14 Thread Thomas Monjalon
2014-12-23 10:51, Neil Horman: > To differentiate libraries that break ABI, we add a library version number > suffix to the library, which must be incremented when a given libraries ABI is > broken. This patch enforces that addition, sets the initial abi soname > extension to 1 for each library an

[dpdk-dev] [PATCH v3 2/4] Provide initial versioning for all DPDK libraries

2015-01-14 Thread Thomas Monjalon
2014-12-23 10:51, Neil Horman: > Add linker version script files to each DPDK library to put a stake in the > ground from which we can start cleaning up API's [...] > lib/librte_acl/Makefile| 2 + > lib/librte_acl/rte_acl_version.map | 21 > li

[dpdk-dev] [PATCH v3 1/4] compat: Add infrastructure to support symbol versioning

2015-01-14 Thread Thomas Monjalon
Hi Neil, 2014-12-23 10:51, Neil Horman: > Add initial pass header files to support symbol versioning. [...] > +# Copyright(c) 2010-2014 Neil Horman Why these dates? > +# All rights reserved. I think this line is not required anymore: http://en.wikipedia.org/wiki/All_rights_reserv

[dpdk-dev] Why nothing since 1.8.0?

2015-01-14 Thread Neil Horman
On Wed, Jan 14, 2015 at 12:23:52PM -0800, Stephen Hemminger wrote: > Ok, so 1.8.0 came out almost a month ago and none of the patches > that were deferred waiting for the release got merged since then. > Last commit in git is the 1.8.0 release. > > Where is the post-merge window bundle, where are

[dpdk-dev] [PATCH v3 1/4] compat: Add infrastructure to support symbol versioning

2015-01-14 Thread Neil Horman
On Wed, Jan 14, 2015 at 04:25:19PM +0100, Thomas Monjalon wrote: > Hi Neil, > > 2014-12-23 10:51, Neil Horman: > > Add initial pass header files to support symbol versioning. > > [...] > > > +# Copyright(c) 2010-2014 Neil Horman > > Why these dates? > Because I copied the Makefile from libr

[dpdk-dev] [PATCH v3 4/4] docs: Add ABI documentation

2015-01-14 Thread Neil Horman
On Wed, Jan 14, 2015 at 04:59:51PM +0100, Thomas Monjalon wrote: > 2014-12-23 10:51, Neil Horman: > > Adding a document describing rudimentary ABI policy and adding notice space > > for > > any deprecation announcements > > We had a good discussion about the policy and its impact: > http://

[dpdk-dev] New to DPDK

2015-01-14 Thread Ravi Rao
Thanks a lot for the quick response. On 01/14/2015 01:27 PM, Wiles, Keith wrote: > Most people I guess use a Xeon CPU class MB with one or two sockets > running Linux with a supported NICs. I use a motherboard like the one > below running Ubuntu 12.04 with 12G RAM and the 82599 NICs. You can find >

[dpdk-dev] Port link speed and link duplex always set to auto-negotiate & manual link speed configuration of 100Mb link speed not possible

2015-01-14 Thread Thomas Monjalon
Hi Mark, Thanks for the report and the patch. Unfortunately, there is still no review. I believe 2 things could help to go further here: 1) your fix need to be sent in the format described here: http://dpdk.org/dev#send 2) a maintainer of e1000 PMD should be identified 2015-01-08 16:26,

[dpdk-dev] [PATCH v2 00/17] ACL: New AVX2 classify method and several other enhancements.

2015-01-14 Thread Neil Horman
On Mon, Jan 12, 2015 at 07:16:04PM +, Konstantin Ananyev wrote: > v2 changes: > - When build with the compilers that don't support AVX2 instructions, > make rte_acl_classify_avx2() do nothing and return an error. > - Remove unneeded 'ifdef __AVX2__' in acl_run_avx2.*. > - Reorder order of patch

[dpdk-dev] Fast Path Query

2015-01-14 Thread Deepak Sehrawat
Hi Helin, If we use exception_path or KNI, which extracts packet from Linux kernel (for DPDK application processing), will it still remain fast path? Will it not impact the performance; as Linux interrupt framework shall also come into picture here? On Wed, Jan 14, 2015 at 1:17 PM, Zhang, Helin

[dpdk-dev] New to DPDK

2015-01-14 Thread Ravi Rao
Hi All, I am a newbee to DPDK. Can one of you please let me know if there is any reference board that is available which I can use to build and tryout the dpdk stuff on. Regards, Ravi

[dpdk-dev] IPv6 Offload Capabilities

2015-01-14 Thread Thomas Monjalon
Hi Matthew, 2015-01-05 21:25, Matthew Hall: > > > 2) The checksum operations are kind of a hodgepodge and don't always have > > > a > > > consistent vision to them... some things like the 16-bit-based IP checksum > > > appear to be missing any routine, including any accelerated one when the > > >

[dpdk-dev] Why nothing since 1.8.0?

2015-01-14 Thread Stephen Hemminger
Ok, so 1.8.0 came out almost a month ago and none of the patches that were deferred waiting for the release got merged since then. Last commit in git is the 1.8.0 release. Where is the post-merge window bundle, where are the later commits? Lots of patches are sitting rotting in patchwork...

[dpdk-dev] Fast Path Query

2015-01-14 Thread Deepak Sehrawat
Hi All, I have a use-case where my slow path application (control path) is to run on Linux where as my data path is to run as DPDK application. Because both control and data packets are going to be received via same NIC card, how will these two flows be separated and passed on to Linux control app

[dpdk-dev] [PATCH v3 2/4] Provide initial versioning for all DPDK libraries

2015-01-14 Thread Neil Horman
On Wed, Jan 14, 2015 at 04:29:29PM +0100, Thomas Monjalon wrote: > 2014-12-23 10:51, Neil Horman: > > Add linker version script files to each DPDK library to put a stake in the > > ground from which we can start cleaning up API's > > [...] > > > lib/librte_acl/Makefile

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-14 Thread Bruce Richardson
On Tue, Jan 13, 2015 at 11:21:08PM -0500, Kamraan Nasim wrote: > Hello, > > I've been using DPDK fdir filter APIs for 82599 NIC(Niantic) and they work > very well. > > Was wondering if I these could also be used for I210, 1Gbps NICs? > > The other option is to use 5tuple filters(rte_eth_dev_add_

[dpdk-dev] [PATCH] lib/librte_ether: change socket_id passed to rte_memzone_reserve

2015-01-14 Thread Bruce Richardson
On Tue, Jan 13, 2015 at 03:24:15PM -0800, Stephen Hemminger wrote: > On Tue, 13 Jan 2015 09:22:00 + > Cian Ferriter wrote: > > > Change the socket id that is passed to rte_memzone_reserve from > > the socket id of current logical core to the socket id of the > > master_lcore. > > --- > > lib

[dpdk-dev] [PATCH] lib/librte_ether: change socket_id passed to rte_memzone_reserve

2015-01-14 Thread Bruce Richardson
On Tue, Jan 13, 2015 at 06:05:25PM +, Ferriter, Cian wrote: > Comments on alternative solutions: > 1) how would this solution work when there is no NIC present, and > "rte_eth_from_rings" is called? Here, could you have an else where the socket > id of the master core is passed to the "memzon

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-14 Thread Wodkowski, PawelX
> > > > > > - split nb_q_per_pool to nb_rx_q_per_pool and nb_tx_q_per_pool > > > > > > Rationale: > > > > > > rx and tx number of queue might be different if RX and TX are > > > > > > configured in different mode. This allow to inform VF about > > > > > > proper number of queues.

[dpdk-dev] Fast Path Query

2015-01-14 Thread Gal Sagie
Your application (which you build on top of DPDK) needs to filter which traffic is control traffic and inject it into the network stack. You can leverage DPDK KNI for that ( http://dpdk.org/doc/guides/prog_guide/kernel_nic_interface.html) Keep in mind you also need to take care of the TX side. On

[dpdk-dev] Fast Path Query

2015-01-14 Thread Zhang, Helin
Hi Deepak Exception path or KNI just provide an exceptional path for packet exchanging between user space and kernel space. All packet IO are still in user space DPDK, Linux kernel still doesn?t know the NIC port. So, no standard Linux interrupt. Regards, Helin From: Deepak Sehrawat [mailto:d

[dpdk-dev] Fast Path Query

2015-01-14 Thread Zhang, Helin
Hi Deepak If a NIC port is controlled by DPDK, all packets received by that port will go directly to DPDK, and Linux kernel doesn't know those packets anymore. But, the packets received by DPDK can be put into kernel by two special ways. They are exception_path and KNI. Please check the examples

[dpdk-dev] Does I210 NIC support Flow director filters?

2015-01-14 Thread Zhang, Helin
FD should works on all supported NICs, though might not all FD features have been implemented. You can see some reworks are ongoing from the mail list. Regards, Helin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Kamraan Nasim > Sent: Wednesday, January 1

[dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and csum forwarding engine

2015-01-14 Thread Liu, Jijiang
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Tuesday, January 13, 2015 5:56 PM > To: Liu, Jijiang > Cc: dev at dpdk.org; Ananyev, Konstantin > Subject: Re: [dpdk-dev] [PATCH v3 0/3] enhance TX checksum command and > csum forwarding engine

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-14 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Tuesday, January 13, 2015 6:14 PM > To: Jastrzebski, MichalX K; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe > > > On 01/12/15 17:50, Michal Jastr

[dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe

2015-01-14 Thread Ouyang, Changchun
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Tuesday, January 13, 2015 6:09 PM > To: Jastrzebski, MichalX K; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: Re: [dpdk-dev] [PATCH 1/2] pmd: add DCB for VF for ixgbe > > > On 01/12/15 16:43,

[dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode

2015-01-14 Thread Ouyang, Changchun
From: Vlad Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Tuesday, January 13, 2015 5:00 PM To: Ouyang, Changchun; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v5 4/6] ether: Check VMDq RSS mode On 01/13/15 03:50, Ouyang, Changchun wrote: From: Vlad Zolotarov [mailto:vl...@cloudius-sys