[dpdk-dev] Running DPDK with Docker

2015-04-01 Thread Zhou, Danny
DPDK 2.0 support uio_pci_geneic this in_kernel module so you do not need to insmod igb_uio, and rte_kni module can hardly been upstreamed to net_dev, but it is not a must-to-have module to load if you do not use KNI feaure. > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org

[dpdk-dev] [PATCH] mbuf: clean old refcnt option

2015-04-01 Thread Thomas Monjalon
2015-03-31 21:26, Olivier MATZ: > Hi Thomas, > > On 03/31/2015 07:58 PM, Thomas Monjalon wrote: > > CONFIG_RTE_MBUF_SCATTER_GATHER was renamed into CONFIG_RTE_MBUF_REFCNT > > by commit 62814bc2e923 and removed by commit 4769bc5a27cc. > > Some traces remain because of delayed patches. > > > > It c

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Thomas Monjalon
> > API *rte_eth_link_get* expect to call a wait to complete link_update. > > That's the difference between *rte_eth_link_get_nowait*. > > The patch fixes the issue that i40e link_update ignores the wait_to_complete > > flag. > > The issue impacts those applications calling rte_eth_link_get to get

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Thomas Monjalon
Hi, 2015-04-01 06:10, Zhang, XiaonanX: > > Tested-by: Xiaonan zhang > > - OS: Fedora21 3.19.1-201.fc21.x86_64 > - GCC: gcc version 4.9.1 20140930 (Red Hat 4.9.1-11) (GCC) > - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz > - NIC: Ethernet controller [0200]: Intel Corporation Ethernet Controller

[dpdk-dev] [PATCH] i40e: fix the issue reported by klocwork

2015-04-01 Thread Thomas Monjalon
> > Klocwork reports array 'src_offset' may use index 16. > > In function i40e_srcoff_to_flx_pit, index j + 1 can reach > > I40E_FDIR_MAX_FLEX_LEN. > > This patch fixes this issue to avoid array bound. > > > > Signed-off-by: Jingjing Wu > Acked-by: Helin Zhang Fixes: d8b90c4eabe9 ("i40e: take f

[dpdk-dev] [PATCH] doc: add note for txqflags in testpmd UG

2015-04-01 Thread Thomas Monjalon
> > Since txqflags is now set from the default rx/tx configuration, depending on > > the PMD, it might not be 0. > > Therefore, user has to overwrite it with --txqflags 0. > > > > Signed-off-by: Pablo de Lara > > Thanks Pablo that wording is better > Acked-by Siobhan Butler Applied, thanks

[dpdk-dev] [PATCH v2] mk: fix pdf doc rules order

2015-04-01 Thread Thomas Monjalon
2015-04-01 13:29, Mcnamara, John: > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Wednesday, April 1, 2015 1:31 PM > > To: dev at dpdk.org > > Cc: mukawa at igel.co.jp; Mcnamara, John; De Lara Guarch, Pablo > > Subject: [PATCH v2] mk: fix pdf

[dpdk-dev] [PATCH] pci: rename passthrough driver to kernel driver

2015-04-01 Thread Thomas Monjalon
> > Kernel driver (kdrv) seems easier to understand than > > passthrough driver (pt_driver). It's also more generic > > as a PMD could run on top of any PCI kernel driver if > > it would offer such support. > > > > Signed-off-by: Thomas Monjalon > > --- > > lib/librte_eal/bsdapp/eal/eal_pci.c

[dpdk-dev] DPDK Community Call - Software QoS

2015-04-01 Thread O'driscoll, Tim
This was meant to be sent as a calendar invite, so the time would automatically convert to your local time zone. That didn't seem to work though. I'm not sure if that's just the way the mailing list works, or if it's an outlook config error on my side. Anyway, here's the date and time in a vari

[dpdk-dev] Testpmd with Mellanox ConnectX-3

2015-04-01 Thread Raghav Sethi
Hi folks, Hopefully this is the right place to ask questions. I'm trying to run testpmd (and then develop my own applications) with DPDK 1.8 and the Mellanox ConnectX-3. The setup script/quickstart/Getting Started guide don't have too much information about what to do if you have a Mellanox. I've

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Masaru Oki
Hi, guide-% rule is selected instead of guide-pdf-% in mk/rte.sdkdoc.mk, I guess. 2015-04-01 19:08 GMT+09:00 Mcnamara, John : >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Wednesday, April 1, 2015 10:49 AM >> To: De Lara Guarch, Pablo; Mcnamara, Joh

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Tetsuya Mukawa
On 2015/04/01 18:29, De Lara Guarch, Pablo wrote: > Hi Tetsuya, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa >> Sent: Wednesday, April 01, 2015 10:18 AM >> To: Mcnamara, John >> Cc: dev at dpdk.org >> Subject: [dpdk-dev] Cannot build doc

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Tetsuya Mukawa
Hi John, It seems after applying following patch, I cannot build doc. ebf8050 doc: add pdf output --- $ T=x86_64-native-linuxapp-gcc make doc (snip) lookup cache used 2433/65536 hits=6354 misses=2576 finished... sphinx processing guides-html... sphinx processing guides-pdf-

[dpdk-dev] Running DPDK with Docker

2015-04-01 Thread Karmarkar Suyash
Hi, Given the popularity of Docker it would be nice if we can run DPDK inside a Docker container but the challenge is the igb_uio.ko and rte_kni.ko kernel modules which need to be compiled with the exact kernel source running on the host. Are there ways to seamlessly run DPDK with Docker? I ca

[dpdk-dev] [PATCH v2 0/3] split programmers guide a bit

2015-04-01 Thread Iremonger, Bernard
> -Original Message- > From: Mcnamara, John > Sent: Wednesday, April 1, 2015 5:37 PM > To: Iremonger, Bernard; Thomas Monjalon > Cc: Butler, Siobhan A; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 0/3] split programmers guide a bit > > > -Original Message- > > From: Iremon

[dpdk-dev] [PATCH v2 1/5] mbuf: fix clone support when application uses private mbuf data

2015-04-01 Thread Olivier MATZ
Hi, On 04/01/2015 03:48 PM, Ananyev, Konstantin wrote: >> With this solution, there are 2 options: >> - no mempool modification, so each application/driver has to add >> priv_size bytes to the object to get the mbuf pointer. This does not >> look feasible. >> - change the m

[dpdk-dev] [PATCH v2 0/3] split programmers guide a bit

2015-04-01 Thread Mcnamara, John
> -Original Message- > From: Iremonger, Bernard > Sent: Wednesday, April 1, 2015 10:19 AM > To: Thomas Monjalon; Mcnamara, John > Cc: Butler, Siobhan A; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 0/3] split programmers guide a bit > > > > 2015-03-31 11:34, Mcnamara, John: > > > Any

[dpdk-dev] library choices for AES CBC/GCM on dpdk app datapath

2015-04-01 Thread Deep Debroy
Hi, I was wondering if anyone has pointers for a crypto library implementing AES CBC and GCM that I can use for encrypting network packets in a DPDK app's datapath. The app is supposed to run in a VM in the cloud. So access to crypto acceleration hardware (besides Intel AES NI/pmuludq) may not be

[dpdk-dev] DPDK Community Call - Software QoS

2015-04-01 Thread O'driscoll, Tim
Agenda: - Software Quality of Service (Cristian Dumitrescu) Tue, Apr 21, 4:00-5:30 PM GMT Daylight Time Please join my meeting from your computer, tablet or smartphone. https://global.gotomeeting.com/join/293233645 You can also dial in using your phone. Ireland : +353 (0) 15 290 180 United Stat

[dpdk-dev] [PULL REQUEST] i40e: bug fixes of flow director and link update

2015-04-01 Thread Helin Zhang
The following changes since commit f14db469be8e6ac625353f577ad8fa0eec489e54: version: 2.0.0-rc3 (2015-03-31 03:34:24 +0200) are available in the git repository at: helin at dpdk.org:dpdk-i40e-next.git master for you to fetch changes up to 6e278442b8669fc442c4a9b4b7d14b61cd579e39: i40e: f

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-04-01 Thread Xie, Huawei
On 4/1/2015 3:51 PM, Thomas Monjalon wrote: > 2015-03-30 15:56, Xie, Huawei: >> On 3/30/2015 5:21 PM, Linhaifeng wrote: >>> On 2015/3/24 18:06, Xie, Huawei wrote: On 3/24/2015 3:44 PM, Linhaifeng wrote: > On 2015/3/24 9:53, Xie, Huawei wrote: >> On 3/24/2015 9:00 AM, Linhaifeng wrote:

[dpdk-dev] [PATCH v2] mk: fix pdf doc rules order

2015-04-01 Thread Thomas Monjalon
From: John McNamara Re-ordered the guide-pdf-% and guide-% rules to allow the doc-guides-pdf target to build with make 3.81. It builds unmodified with all later versions of make. Reported-by: Tetsuya Mukawa Signed-off-by: John McNamara Signed-off-by: Thomas Monjalon --- v2: reorder also clean

[dpdk-dev] [PATCH v2 1/5] mbuf: fix clone support when application uses private mbuf data

2015-04-01 Thread Ananyev, Konstantin
> -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Tuesday, March 31, 2015 8:01 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 1/5] mbuf: fix clone support when > application uses private mbuf data > > Hi Konstant

[dpdk-dev] [PATCH v2] mk: fix pdf doc rules order

2015-04-01 Thread Mcnamara, John
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, April 1, 2015 1:31 PM > To: dev at dpdk.org > Cc: mukawa at igel.co.jp; Mcnamara, John; De Lara Guarch, Pablo > Subject: [PATCH v2] mk: fix pdf doc rules order > > From: John McNamara >

[dpdk-dev] [PATCH] doc: add note for txqflags in testpmd UG

2015-04-01 Thread Pablo de Lara
Since txqflags is now set from the default rx/tx configuration, depending on the PMD, it might not be 0. Therefore, user has to overwrite it with --txqflags 0. Signed-off-by: Pablo de Lara --- doc/guides/testpmd_app_ug/run_app.rst |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)

[dpdk-dev] [RFC] Adding multiple device types to DPDK.

2015-04-01 Thread Wiles, Keith
Hi all, (hoping format of the text is maintained) Bruce and myself are submitting this RFC in hopes of providing discussion points for the idea. Please do not get carried away with the code included, it was to help everyone understand the proposal/RFC. The RFC is to describe a proposed change we

[dpdk-dev] [PATCH] eal: rename --lcores option to --threads

2015-04-01 Thread Ananyev, Konstantin
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, March 31, 2015 11:34 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] eal: rename --lcores option to --threads > > Threads are no longer strictly assigned to a

[dpdk-dev] [PATCH] mk: fix for "make doc-guides-pdf" with make 3.81

2015-04-01 Thread John McNamara
Re-ordered the guide-pdf-% and guide-% rules to allow the doc-guides-pdf target to build with make 3.81. It builds unmodified with all later versions of make. Reported-by: Tetsuya Mukawa Signed-off-by: John McNamara --- mk/rte.sdkdoc.mk | 11 ++- 1 file changed, 6 insertions(+), 5 delet

[dpdk-dev] [PATCH] doc: add note for txqflags in testpmd UG

2015-04-01 Thread Butler, Siobhan A
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pablo de Lara > Sent: Wednesday, April 1, 2015 1:10 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: add note for txqflags in testpmd UG > > Since txqflags is now set from the default rx/tx configuration, depending on > the PMD,

[dpdk-dev] [PATCH] mk: fix for "make doc-guides-pdf" with make 3.81

2015-04-01 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Wednesday, April 01, 2015 12:33 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] mk: fix for "make doc-guides-pdf" with make > 3.81 > > Re-ordered the guide-pdf-% and guide-% rules

[dpdk-dev] Running DPDK with Docker

2015-04-01 Thread Stephen Hemminger
On Wed, 1 Apr 2015 17:56:56 + Karmarkar Suyash wrote: > Hi, > > Given the popularity of Docker it would be nice if we can run DPDK inside a > Docker container but the challenge is the igb_uio.ko and rte_kni.ko kernel > modules which need to be compiled with the exact kernel source running

[dpdk-dev] [PATCH] ixgbe: do not include CRC in Tx byte count

2015-04-01 Thread Stephen Hemminger
On Wed, 1 Apr 2015 07:45:02 + Thomas Monjalon wrote: > 2015-03-24 23:54, Ananyev, Konstantin: > > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > > On Mon, 23 Mar 2015 16:45:44 + > > > "Ananyev, Konstantin" wrote: > > > > From: dev [mailto:dev-bounces at dpdk.org] On B

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message- > From: Masaru Oki [mailto:m-oki at stratosphere.co.jp] > Sent: Wednesday, April 1, 2015 11:14 AM > To: Mcnamara, John > Cc: Tetsuya Mukawa; De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3 > > > guide-% rule is se

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message- > From: Masaru Oki [mailto:m-oki at stratosphere.co.jp] > Sent: Wednesday, April 1, 2015 11:14 AM > To: Mcnamara, John > Cc: Tetsuya Mukawa; De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3 > > Hi, > > guide-% rule

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Cunming Liang
API *rte_eth_link_get* expect to call a wait to complete link_update. That's the difference between *rte_eth_link_get_nowait*. The patch fixes the issue that i40e link_update ignores the wait_to_complete flag. The issue impacts those applications calling rte_eth_link_get to get wrong intermediate

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread Mcnamara, John
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Wednesday, April 1, 2015 10:49 AM > To: De Lara Guarch, Pablo; Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3 > > I am using Ubuntu14, so package name may

[dpdk-dev] [PATCH] cast used->idx to volatile

2015-04-01 Thread Thomas Monjalon
2015-03-30 15:56, Xie, Huawei: > On 3/30/2015 5:21 PM, Linhaifeng wrote: > > On 2015/3/24 18:06, Xie, Huawei wrote: > >> On 3/24/2015 3:44 PM, Linhaifeng wrote: > >>> On 2015/3/24 9:53, Xie, Huawei wrote: > On 3/24/2015 9:00 AM, Linhaifeng wrote: > > On 2015/3/23 20:54, Xie, Huawei wrote:

[dpdk-dev] [PATCH] ixgbe: do not include CRC in Tx byte count

2015-04-01 Thread Thomas Monjalon
2015-03-24 23:54, Ananyev, Konstantin: > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > > On Mon, 23 Mar 2015 16:45:44 + > > "Ananyev, Konstantin" wrote: > > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of stephen at > > > networkplumber.org > > > > From: Stephen H

[dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3

2015-04-01 Thread De Lara Guarch, Pablo
Hi Tetsuya, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > Sent: Wednesday, April 01, 2015 10:18 AM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: [dpdk-dev] Cannot build doc using DPDK-2.0.0-rc3 > > Hi John, > > > It seems after a

[dpdk-dev] [PATCH v2 0/3] split programmers guide a bit

2015-04-01 Thread Iremonger, Bernard
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, March 31, 2015 1:23 PM > To: Mcnamara, John > Cc: Butler, Siobhan A; Iremonger, Bernard; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 0/3] split programmers guide a bit > > 2015-03-

[dpdk-dev] [PATCH] pci: rename passthrough driver to kernel driver

2015-04-01 Thread David Marchand
Hello Thomas, On Wed, Apr 1, 2015 at 12:05 AM, Thomas Monjalon wrote: > Kernel driver (kdrv) seems easier to understand than > passthrough driver (pt_driver). It's also more generic > as a PMD could run on top of any PCI kernel driver if > it would offer such support. > > Signed-off-by: Thomas

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Zhang, XiaonanX
Tested-by: Xiaonan zhang - OS: Fedora21 3.19.1-201.fc21.x86_64 - GCC: gcc version 4.9.1 20140930 (Red Hat 4.9.1-11) (GCC) - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 01) - Default x

[dpdk-dev] Secondary process crash in rte_eal_init

2015-04-01 Thread Dey, Souvik
Hi All, We have a single primary application with multiple secondary applications launched on the same cpu core. When the system boots up for the first time ,the primary comes up followed by the secondary process everything works fine. But in between if I try to restart the secon

[dpdk-dev] [PATCH] i40e: fix no effect wait_to_complete on link_get

2015-04-01 Thread Zhang, Helin
> -Original Message- > From: Liang, Cunming > Sent: Wednesday, April 1, 2015 10:34 AM > To: dev at dpdk.org > Cc: Zhang, Helin; Zhang, XiaonanX; Dumitrescu, Cristian; Liang, Cunming > Subject: [PATCH] i40e: fix no effect wait_to_complete on link_get > > API *rte_eth_link_get* expect to c

[dpdk-dev] [PATCH] pci: rename passthrough driver to kernel driver

2015-04-01 Thread Qiu, Michael
On 4/1/2015 6:07 AM, Thomas Monjalon wrote: > Kernel driver (kdrv) seems easier to understand than > passthrough driver (pt_driver). It's also more generic > as a PMD could run on top of any PCI kernel driver if > it would offer such support. > > Signed-off-by: Thomas Monjalon > --- Acked-by: Mic

[dpdk-dev] [PATCH] i40e: fix the issue reported by klocwork

2015-04-01 Thread Zhang, Helin
Hi Thomas Actually it is a bug fix. It would be better to be put in R2.0. It may not crash, as it just possibly read something out of range. I am waiting the test report from our validation team, and then I will merge that. Thanks for your patience! Regards, Helin > -Original Message-

[dpdk-dev] [PATCH] eal: rename --lcores option to --threads

2015-04-01 Thread Thomas Monjalon
Threads are no longer strictly assigned to a lcore with a 1:1 map. So they really should be called threads. The term lcore should be reserved for a physical hyperthreaded CPU part. This patch only renames the option --lcores to avoid confusion from a user perspective. But a deeper cleanup should b

[dpdk-dev] [PATCH] pci: rename passthrough driver to kernel driver

2015-04-01 Thread Thomas Monjalon
Kernel driver (kdrv) seems easier to understand than passthrough driver (pt_driver). It's also more generic as a PMD could run on top of any PCI kernel driver if it would offer such support. Signed-off-by: Thomas Monjalon --- lib/librte_eal/bsdapp/eal/eal_pci.c | 3 +-- lib/librte_eal/commo