[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread David Marchand
Hello John, On Wed, Mar 11, 2015 at 9:24 PM, Mcnamara, John wrote: > > On Wed, Mar 11, 2015 at 9:47 AM, David Marchand < > david.marchand at 6wind.com> > > wrote: > > > > Just sent a fix : http://dpdk.org/dev/patchwork/patch/3976/ > > Can you try it ? > > I just tested the patch with testpmd

[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread Mcnamara, John
From: David Marchand [mailto:david.march...@6wind.com] Sent: Wednesday, March 11, 2015 9:30 PM To: Mcnamara, John Cc: Tetsuya Mukawa; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup >> I just tested the patch with testpmd and it fixes the previous issue. > Ok,

[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Marchand > Sent: Wednesday, March 11, 2015 5:29 PM > To: Tetsuya Mukawa > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup > > On Wed, Mar 11, 2015 at 9:47 AM, David

[dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 14:45, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Monday, March 09, 2015 4:29 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback >>

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 18:32, Ananyev, Konstantin wrote: > >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Tuesday, March 10, 2015 9:36 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support >> >>

[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread David Marchand
On Wed, Mar 11, 2015 at 9:47 AM, David Marchand wrote: > On Wed, Mar 11, 2015 at 8:44 AM, Tetsuya Mukawa wrote: > >> >> $ T=x86_64-native-linuxapp-gcc make install >> $ sudo ./tools/dpdk_nic_bind.py -b igb_uio >> $ sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 1 -- -i >> EAL: Detected

[dpdk-dev] [PATCH] app/test-pmd: fix rte_pci_tailq not initialized before used

2015-03-11 Thread David Marchand
On Wed, Mar 11, 2015 at 9:59 AM, David Marchand wrote: > Hello Marvin, > > I think this fix will break ivshmem init. > pci_init was moved when introducing ivshmem_init. > > If you have a setup for this, can you check ivshmem init with your fix ? > > Thanks. > I just posted a different fix. If

[dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual machine

2015-03-11 Thread Vasiliy Tolstov
2015-03-11 17:14 GMT+03:00 Mcnamara, John : > Hi, > > CFLAGS for DPDK are usually set via EXTRA_CFLAGS. Try the following as a > final set after the other config above: > > EXTRA_CFLAGS="-march=core2 -mtune=generic -pipe -O2" > MACHINE_CFLAGS=$EXTRA_CFLAGS make V=1 > > It compiles DPDK 1.8.0

[dpdk-dev] [PATCH] eal: fix tailq init for uio/vfio resources

2015-03-11 Thread David Marchand
Commit a2348166ea18 ("tailq: move to dynamic tailq") introduced a bug in uio/vfio resources list init. These resources list were pointed at through a pointer initialised only once but too early in the eal init (before tailqs init). Fix this by "resolving" this pointer when used (which is well

[dpdk-dev] [PATCH v7 0/3]: Add LRO support to ixgbe PMD

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 16:13, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Tuesday, March 10, 2015 7:31 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v7 0/3]: Add LRO support to ixgbe PMD >> >> This

[dpdk-dev] [PATCH v7 3/3] ixgbe: Add LRO support

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 17:02, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Tuesday, March 10, 2015 7:32 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v7 3/3] ixgbe: Add LRO support >> >> - Only

[dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 14:45, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Monday, March 09, 2015 4:29 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback >>

[dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-11 Thread Vlad Zolotarov
On 03/11/15 14:45, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Monday, March 09, 2015 4:29 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback >>

[dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Wednesday, March 11, 2015 3:40 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback > initialization > > > > On 03/11/15

[dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual machine

2015-03-11 Thread Vasiliy Tolstov
I'm try to build dpdk 1.8.0 unpack sources sed -i 's|CONFIG_RTE_MACHINE="native"|CONFIG_RTE_MACHINE="default"|g' config/defconfig_x86_64-native-linuxapp-gcc export CFLAGS="-march=core2 -mtune=generic -pipe -O2" make V=1 config T=x86_64-native-linuxapp-gcc make V=1 MACHINE_CFLAGS="${CFLAGS}"

[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread Tetsuya Mukawa
On 2015/03/10 20:20, Thomas Monjalon wrote: > 2015-03-05 19:26, Neil Horman: >> On Wed, Mar 04, 2015 at 10:50:00PM +0100, David Marchand wrote: >>> This is a first cleanup at trying to remove references to other dpdk >>> libraries >>> from eal. >>> >>> This cleanup is focused on rte_tailq api

[dpdk-dev] [PATCH] app/test-pmd: fix rte_pci_tailq not initialized before used

2015-03-11 Thread Yong Liu
Function rte_eal_pci_init will cast pci resource list and used for insert probed device later. But all tailq initialized in function rte_eal_tailqs_init, so rte_eal_pci_init must be called after it. Signed-off-by: Marvin Liu diff --git a/lib/librte_eal/linuxapp/eal/eal.c

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Tuesday, March 10, 2015 9:36 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support > > > > On 03/10/15 22:09, Ananyev, Konstantin wrote: >

[dpdk-dev] [PATCH v3] ABI: Add abi checking utility

2015-03-11 Thread Neil Horman
On Thu, Mar 05, 2015 at 11:57:27AM -0500, Neil Horman wrote: > On Wed, Mar 04, 2015 at 05:49:50PM +0100, Thomas Monjalon wrote: > > 2015-03-04 11:26, Neil Horman: > > > +#trap on ctrl-c to clean up > > > +trap cleanup_and_exit SIGINT > > > > I think INT is preffered over SIGINT. > > You may also

[dpdk-dev] filtering traffic and forward to os

2015-03-11 Thread Vasiliy Tolstov
I'm interesting in dpdk to filter traffic. My use-case - i have server with 10Gbit uplink and i want to add it port via dpdk to ovs, filter traffic and forward it to OS (i need to able to ssh in this port :( ) Does it possible after processing packet in dpdk forward it to kernel ? -- Vasiliy

[dpdk-dev] [PATCH] app/test-pmd: fix incorrect port number check

2015-03-11 Thread Yong Liu
testpmd parameter "nb-port" mean the number of forwarding port. It's incorrect to use function port_id_is_invalid to check number of ports. Signed-off-by: Marvin Liu diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 11d9af0..f1daa6e 100644 --- a/app/test-pmd/parameters.c

[dpdk-dev] [PATCH v7 3/3] ixgbe: Add LRO support

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Tuesday, March 10, 2015 7:32 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v7 3/3] ixgbe: Add LRO support > > - Only x540 and 82599 devices support LRO. > - Add the

[dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual machine

2015-03-11 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vasiliy Tolstov > Sent: Wednesday, March 11, 2015 1:47 PM > To: dev > Subject: [dpdk-dev] failed to build latest dpdk 1.8.0 on kvm virtual > machine > > I'm try to build dpdk 1.8.0 > > unpack sources > sed

[dpdk-dev] [PATCH v7 0/3]: Add LRO support to ixgbe PMD

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Tuesday, March 10, 2015 7:31 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v7 0/3]: Add LRO support to ixgbe PMD > > This series adds the missing flow for enabling the LRO in

[dpdk-dev] filtering traffic and forward to os

2015-03-11 Thread Bruce Richardson
On Wed, Mar 11, 2015 at 03:35:44PM +0300, Vasiliy Tolstov wrote: > I'm interesting in dpdk to filter traffic. > My use-case - i have server with 10Gbit uplink and i want to add it > port via dpdk to ovs, filter traffic and forward it to OS (i need to > able to ssh in this port :( ) > Does it

[dpdk-dev] Filtration Statistics for VLAN filters(ixgbe)

2015-03-11 Thread Kamraan Nasim
Hello, I am trying to implement VLAN filters in DPDK on 82599 NIC(Niantic) I've been using *rte_eth_dev_vlan_filter(port, vlanID, 1)* which seems to be working however I would like to see some actual packet filtration statistics. In the case of 5tuple IPv4 filters where I was redirecting to

[dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback initialization

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Monday, March 09, 2015 4:29 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/3] ixgbe: Unify the rx_pkt_bulk callback > initialization > >- Set the callback in a single

[dpdk-dev] How can I recover from CONFIG_RTE_MAX_MEMSEG overrun?

2015-03-11 Thread Dennis Montgomery
Hello, I?m running into an occasional problem where rte_eal_init() returns -ENOMEM and the following error is logged: EAL: Can only reserve 991 pages from 1024 requested Current CONFIG_RTE_MAX_MEMSEG=256 is not enough When this happens a reboot will take care of it, but I?m hoping for a more

[dpdk-dev] [PATCH v2 2/3] ixgbe: Bug fix: Properly configure Rx CRC stripping for x540 devices

2015-03-11 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Monday, March 09, 2015 4:29 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/3] ixgbe: Bug fix: Properly configure Rx CRC > stripping for x540 devices > > According to x540

[dpdk-dev] [PATCH] maintainers: claim EAL Intel x86

2015-03-11 Thread Konstantin Ananyev
Signed-off-by: Konstantin Ananyev --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ac46299..f10a457 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -106,6 +106,8 @@ IBM Power F: lib/librte_eal/common/include/arch/ppc_64/ Intel x86 +M: Bruce

[dpdk-dev] [PATCH v2 0/3]: bug fixes in the ixgbe PF PMD Rx flow

2015-03-11 Thread Vlad Zolotarov
Ping. ;) On 03/09/15 18:28, Vlad Zolotarov wrote: > This series contains some bug fixes that were found during my work on the > ixgbe LRO > patches. Sending this series separately on Thomas request so that it may be > integrated > into the 2.0 release. > > New in v2: > - Fixed a compilation

[dpdk-dev] [PATCH] maintainers: claim misc sample applications

2015-03-11 Thread Bruce Richardson
Claim the following sample applications: * dpdk_qat * helloworld * l2fwd * skeleton Signed-off-by: Bruce Richardson --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index fe9512d..87089e5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -422,18

[dpdk-dev] [PATCH] doc: add l2fwd-jobstats user guide

2015-03-11 Thread Pawel Wodkowski
Signed-off-by: Pawel Wodkowski --- doc/guides/sample_app_ug/index.rst| 1 + doc/guides/sample_app_ug/l2_forward_job_stats.rst | 637 ++ 2 files changed, 638 insertions(+) create mode 100644 doc/guides/sample_app_ug/l2_forward_job_stats.rst diff --git

[dpdk-dev] [PATCH] MAINTAINERS: claim ring pmd library

2015-03-11 Thread Bruce Richardson
Signed-off-by: Bruce Richardson --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ac46299..fe9512d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -247,6 +247,7 @@ F: lib/librte_pmd_pcap/ F:

[dpdk-dev] [PATCH v4] pci: save list of detached devices, and re-probe during driver unload

2015-03-11 Thread Bruce Richardson
On Thu, Mar 05, 2015 at 06:24:23PM +0200, Raz Amir wrote: > Added code that saves the pointers to the detached devices, during > driver loading, and during driver unloading, go over the list, > and re-attach them by calling device_probe_and_attach > on each device. > > Signed-off-by: Raz Amir

[dpdk-dev] [PATCH] app/test-pmd: fix rte_pci_tailq not initialized before used

2015-03-11 Thread David Marchand
Hello Marvin, I think this fix will break ivshmem init. pci_init was moved when introducing ivshmem_init. If you have a setup for this, can you check ivshmem init with your fix ? Thanks. -- David Marchand On Wed, Mar 11, 2015 at 9:43 AM, Yong Liu wrote: > Function rte_eal_pci_init will

[dpdk-dev] [PATCH 00/10] eal: rte_tailq api cleanup

2015-03-11 Thread David Marchand
Hello Tetsuya, On Wed, Mar 11, 2015 at 8:44 AM, Tetsuya Mukawa wrote: > > $ T=x86_64-native-linuxapp-gcc make install > $ sudo ./tools/dpdk_nic_bind.py -b igb_uio > $ sudo ./x86_64-native-linuxapp-gcc/app/testpmd -c f -n 1 -- -i > EAL: Detected lcore 0 as core 0 on socket 0 > > (snip) > > EAL:

[dpdk-dev] [PATCH v7] af_packet: Fix some klocwork errors

2015-03-11 Thread Ouyang Changchun
Fix possible memory leak issue: free kvlist before return; Fix possible resource lost issue: close qssockfd before return; Signed-off-by: Changchun Ouyang --- Change in v7: - Remove unnecessary '!= NULL' check before freeing it; Change in v6: - Refine exit point; Change in v5: -

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2015-03-11 Thread Sujith Sankar (ssujith)
On 27/02/15 4:16 pm, "Thomas Monjalon" wrote: >2015-02-27 08:09, Sujith Sankar: >> Hi Thomas, >> >> No update on it from my side :-( >> It would take some more time for me to start working on it (and flow >> director api) as a few other things are keeping me busy. > >It's unfortunate. >We now

[dpdk-dev] rte_memcpy.h: additional cflags required with OVS

2015-03-11 Thread Mcnamara, John
> -Original Message- > From: Wang, Zhihong > Sent: Wednesday, March 11, 2015 4:38 AM > To: Kavanagh, Mark B; Mcnamara, John; Qiu, Michael; dev at dpdk.org; Panu > Matilainen > Subject: RE: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS > > > Add the "-mssse3" flag should be

[dpdk-dev] [PATCH] app/test-pmd: fix incorrect port number check

2015-03-11 Thread Thomas Monjalon
2015-03-11 15:23, Yong Liu: > testpmd parameter "nb-port" mean the number of forwarding port. > It's incorrect to use function port_id_is_invalid to check number of ports. > > Signed-off-by: Marvin Liu Acked-by: Thomas Monjalon Fixes: edab33b1c01d ("app/testpmd: support port hotplug")

[dpdk-dev] rte_kni and support of jumbo frames

2015-03-11 Thread Dey, Souvik
Hi, Does the rte_kni kernel module support multi-segment mbufs ? If not is there any plan to do so ? Also I see that the pmds are supporting jumbo frames but if kni does not support multi-segment mbufs then how the jumbo frames will be given up to the kernel ? -- Regards,

[dpdk-dev] rte_memcpy.h: additional cflags required with OVS

2015-03-11 Thread Wang, Zhihong
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Kavanagh, Mark B > Sent: Tuesday, March 10, 2015 6:04 PM > To: Mcnamara, John; Qiu, Michael; dev at dpdk.org; Panu Matilainen > Subject: Re: [dpdk-dev] rte_memcpy.h: additional cflags required with OVS >

[dpdk-dev] [PATCH v6] af_packet: Fix some klocwork errors

2015-03-11 Thread Ouyang, Changchun
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, March 10, 2015 6:20 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org; Wodkowski, PawelX > Subject: Re: [dpdk-dev] [PATCH v6] af_packet: Fix some klocwork errors > > 2015-03-10 08:49,

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-11 Thread Yong Wang
On 3/10/15, 11:35 AM, "Stephen Hemminger" wrote: >On Mon, 9 Mar 2015 23:32:48 + >Yong Wang wrote: > >> > >> >I didn?t see where mtu is used to calculate how many rx descriptors >>will >> >be needed for each packet. Furthermore, as pointed out by the >>following >> >code comments, the

[dpdk-dev] [PATCH v3 07/10] vmxnet3: support jumbo frames

2015-03-11 Thread Stephen Hemminger
On Wed, 11 Mar 2015 01:03:37 + Yong Wang wrote: > >Looking in more detail, the code as submitted looks fine: > > > >* The # of rx descriptors needed for each packet is responsibility of > > the application. Before and after this patch the # of Rx descriptors > > for each ring (head/body)

[dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support

2015-03-11 Thread Vlad Zolotarov
On 03/10/15 22:09, Ananyev, Konstantin wrote: >>> Hi Vlad, >>> -Original Message- From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov Sent: Monday, March 09, 2015 7:07 PM To: dev at dpdk.org Subject: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO