[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 06:28:31PM +, Mcnamara, John wrote: > > > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Friday, March 13, 2015 5:32 PM > > To: Mcnamara, John > > Cc: Richardson, Bruce; dev at dpdk.org > > Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Friday, March 13, 2015 5:32 PM > To: Mcnamara, John > Cc: Richardson, Bruce; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ethdev: additional parameter in RX > callback > > > Is encoding the

[dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find any ports to use

2015-03-13 Thread Ngo Doan Lap
Hi, It seems that your NICs are not supported by DPDK. Here are list of supproted NICs cards http://dpdk.org/doc/nics On Fri, Mar 13, 2015 at 5:03 PM, Arkajit Ghosh wrote: > Hi, > > Can you please guide me as I am facing the below issue during execution of > DPDK-Pktgen. > > Thanks & Regards >

[dpdk-dev] [PATCH v2 2/2] doc: update release note for fm10k pmd driver

2015-03-13 Thread Chen Jing D(Mark)
From: "Chen Jing D(Mark)" Add feature list for fm10k driver. Signed-off-by: Chen Jing D(Mark) --- doc/guides/rel_notes/new_features.rst | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/doc/guides/rel_notes/new_features.rst

[dpdk-dev] [PATCH v2 1/2] doc: update programmers guide for fm10k pmd driver

2015-03-13 Thread Chen Jing D(Mark)
From: "Chen Jing D(Mark)" DPDK introduced pmd driver for PCIE host-interface of Intel Ethernet Switch FM1 Series, update programming guide to describe the new driver and usage. Signed-off-by: Chen Jing D(Mark) --- .../prog_guide/i40e_ixgbe_igb_virt_func_drv.rst|

[dpdk-dev] [PATCH v2 0/2] doc: update doc for fm10k driver

2015-03-13 Thread Chen Jing D(Mark)
From: "Chen Jing D(Mark)" Update programming guide and release notes for fm10k driver. Changes in v2: - Remove a punctuation. Chen Jing D(Mark) (2): doc: update programmers guide for fm10k pmd driver doc: update release note for fm10k pmd driver

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Gonzalez Monroy, Sergio
On 13/03/2015 16:07, Stephen Hemminger wrote: > On Thu, 12 Mar 2015 16:27:58 + > Sergio Gonzalez Monroy wrote: > >> Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME. >> >> Signed-off-by: Sergio Gonzalez Monroy >> --- > NAK. The combined library is good and useful for those who

[dpdk-dev] PMD architecture related to code

2015-03-13 Thread Akshay
If you mean the actual working, then you'd to explore the code for PMD drivers that DPDK supports (I suggest try igb). I tried my hands at making a Atheros E2200 linux driver as PMD for DPDK but didn't complete it. -Akshay On Fri, Mar 13, 2015 at 4:15 PM, wrote: > Hi Akshay , > > > > I

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Friday, March 13, 2015 3:09 PM > To: Richardson, Bruce > Cc: Mcnamara, John; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ethdev: additional parameter in RX > callback > > Plese set asside the ABI

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Stefan Puiu
Hi, 2 cents from a DPDK library user - I make 2 changes to the default linux+gcc configuration: combine libraries and build shared libraries (since I want 2 instances of the app, it didn't make sense to me to link statically). I tried working with the individual libs, but adding all of them with

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

2015-03-13 Thread Kavanagh, Mark B
>-Original Message- >From: Neil Horman [mailto:nhorman at tuxdriver.com] >Sent: Friday, March 13, 2015 2:59 PM >To: Kavanagh, Mark B >Cc: dev at dpdk.org >Subject: Re: [dpdk-dev] [PATCH v3] ABI: Add abi checking utility > >On Fri, Mar 13, 2015 at 02:25:17PM +, Kavanagh, Mark B wrote:

[dpdk-dev] pktgen rx errors with intel 82599

2015-03-13 Thread Matt Smith
Hi, I?ve been using DPDK pktgen 2.8.0 (built against DPDK 1.8.0 libraries) to send traffic on a server using an Intel 82599 (X520-2). Traffic gets sent out port 1 through another server which also an Intel 82599 installed and is forwarded back into port 0. When I send using a single source

[dpdk-dev] [PATCH v2 15/15] eal: Enable Port Hotplug as default in Linux and BSD

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 15/15] eal: Enable Port Hotplug as default in Linux and BSD > > This

[dpdk-dev] Undefined reference to FUSE

2015-03-13 Thread IƱakiMurillo
Hi Pablo, Thank you very much, it worked for me. But now I am trying to compile openvswicth after applying the next patch: http://openvswitch.org/pipermail/dev/2015-January/050278.html And it happends the same. I gues that I should ask in the ovs mail list, but in case you know the answer I

[dpdk-dev] [ dpdk-pktgen execution issue ] Error: Didn't find any ports to use

2015-03-13 Thread Arkajit Ghosh
Hi, Can you please guide me as I am facing the below issue during execution of DPDK-Pktgen. Thanks & Regards Arkajit Ghosh -Arkajit Ghosh/DEL/TCS wrote: - To: "Wiles, Keith" From: Arkajit Ghosh/DEL/TCS Date: 03/11/2015 02:33PM Subject:

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Gonzalez Monroy, Sergio
On 13/03/2015 15:18, Neil Horman wrote: > On Fri, Mar 13, 2015 at 04:12:35PM +0200, Stefan Puiu wrote: >> Hi, >> >> 2 cents from a DPDK library user - I make 2 changes to the default >> linux+gcc configuration: combine libraries and build shared libraries >> (since I want 2 instances of the app,

[dpdk-dev] [PATCH v2 13/15] eal: Consolidate pci_map/unmap_resource() of linuxapp and bsdapp

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 13/15] eal: Consolidate pci_map/unmap_resource() of > linuxapp and

[dpdk-dev] [PATCH v2 12/15] eal: Consolidate pci_map/unmap_device() of linuxapp and bsdapp

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 12/15] eal: Consolidate pci_map/unmap_device() of linuxapp > and

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

2015-03-13 Thread Vladislav Zolotarov
On Mar 13, 2015 2:51 PM, "Ananyev, Konstantin" wrote: > > Hi Vlad, > > > -Original Message- > > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > > Sent: Friday, March 13, 2015 11:52 AM > > To: Ananyev, Konstantin; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v3 0/3]:

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-13 Thread Michael Qiu
rte_memcpy.h(46): catastrophic error: cannot open source file "x86intrin.h" For icc and old gcc, this header is not included. Signed-off-by: Michael Qiu --- lib/librte_eal/common/include/arch/x86/rte_memcpy.h | 20 1 file changed, 20 insertions(+) diff --git

[dpdk-dev] PMD architecture related to code

2015-03-13 Thread Bruce Richardson
On Fri, Mar 13, 2015 at 04:45:47AM +, kuldeep.samasi at wipro.com wrote: > Hi Developer Team , > > > I am trying add new functionality on Poll Mode driver . > But I don't have idea how packets are coming to kernel mode and going to user > space and doing packet processing DPDK . The

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Bruce Richardson
On Fri, Mar 13, 2015 at 09:45:14AM -0400, Neil Horman wrote: > On Fri, Mar 13, 2015 at 09:41:33AM +, Bruce Richardson wrote: > > On Thu, Mar 12, 2015 at 03:15:40PM -0400, Neil Horman wrote: > > > On Thu, Mar 12, 2015 at 04:54:27PM +, John McNamara wrote: > > > > > > > > This patch is a

[dpdk-dev] [PATCH v2 04/15] eal: Fix needless incrementation of pci_map_addr

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 04/15] eal: Fix needless incrementation of pci_map_addr > > When

[dpdk-dev] Undefined reference to FUSE

2015-03-13 Thread Traynor, Kevin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of I?akiMurillo > Sent: Friday, March 13, 2015 2:39 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: Re: [dpdk-dev] Undefined reference to FUSE > > Hi Pablo, > > Thank you very much, it worked for me.

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

2015-03-13 Thread Kavanagh, Mark B
>On Fri, Mar 13, 2015 at 11:56:59AM +, Kavanagh, Mark B wrote: >> >> >> >-Original Message- >> >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman >> >Sent: Wednesday, March 4, 2015 4:27 PM >> >To: dev at dpdk.org >> >Subject: [dpdk-dev] [PATCH v3] ABI: Add abi

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-13 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu > Sent: Friday, March 13, 2015 7:03 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed > > rte_memcpy.h(46): catastrophic error: cannot open source file

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

2015-03-13 Thread Vlad Zolotarov
On 03/13/15 13:28, Ananyev, Konstantin wrote: > Hi Olivier, > >> -Original Message- >> From: Olivier MATZ [mailto:olivier.matz at 6wind.com] >> Sent: Friday, March 13, 2015 9:08 AM >> To: Vlad Zolotarov; Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v6 3/3]

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Gonzalez Monroy, Sergio
On 13/03/2015 13:16, Kavanagh, Mark B wrote: > >> -Original Message- >> From: Gonzalez Monroy, Sergio >> Sent: Friday, March 13, 2015 11:49 AM >> To: Kavanagh, Mark B >> Cc: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and >> related options >> >>

[dpdk-dev] [PATCH v2 03/15] eal: Fix memory leak of pci_uio_map_resource()

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 03/15] eal: Fix memory leak of pci_uio_map_resource() > > When

[dpdk-dev] [PATCH v2 02/15] eal: Close file descriptor of uio configuration

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 02/15] eal: Close file descriptor of uio configuration > > When

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

2015-03-13 Thread Vlad Zolotarov
On 03/13/15 13:07, Ananyev, Konstantin wrote: > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov >> Sent: Thursday, March 12, 2015 9:17 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH v3 0/3]: bug fixes in the ixgbe PF PMD Rx flow >>

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 04:26:52PM +, Mcnamara, John wrote: > > > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Friday, March 13, 2015 3:09 PM > > To: Richardson, Bruce > > Cc: Mcnamara, John; dev at dpdk.org > > Subject: Re: [dpdk-dev]

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Kavanagh, Mark B
>-Original Message- >From: Gonzalez Monroy, Sergio >Sent: Friday, March 13, 2015 11:49 AM >To: Kavanagh, Mark B >Cc: dev at dpdk.org >Subject: Re: [dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related >options > >On 13/03/2015 11:34, Kavanagh, Mark B wrote: >>> On 13/03/2015

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

2015-03-13 Thread Ananyev, Konstantin
Hi Vlad, > -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Friday, March 13, 2015 11:52 AM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 0/3]: bug fixes in the ixgbe PF PMD Rx flow > > > > On 03/13/15 13:07,

[dpdk-dev] Undefined reference to FUSE

2015-03-13 Thread IƱakiMurillo
Hello, I am trying to compile the vhost example using DPDK 1.8.0. I have installed fuse and libfuse-dev (as I am using Ubuntu). I have modified config/common_linuxapp as follows: CONFIG_RTE_BUILD_COMBINE_LIBS=y CONFIG_RTE_LIBRTE_VHOST=y Then, I compile DPDK 1.8.0 as follows: make config

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 09:07:59AM -0700, Stephen Hemminger wrote: > On Thu, 12 Mar 2015 16:27:58 + > Sergio Gonzalez Monroy wrote: > > > Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME. > > > > Signed-off-by: Sergio Gonzalez Monroy > > --- > > NAK. The combined library is

[dpdk-dev] [PATCH] eal: remove unnecessary #ifdef CONFIG_BQL

2015-03-13 Thread Alex Gartrell
I couldn't figure out why this #ifdef existed so I looked around upstream and it's not there. It seems to build just fine without it. Signed-off-by: Alex Gartrell --- lib/librte_eal/linuxapp/kni/ethtool/igb/igb.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 03:28:00PM +, Gonzalez Monroy, Sergio wrote: > On 13/03/2015 15:18, Neil Horman wrote: > >On Fri, Mar 13, 2015 at 04:12:35PM +0200, Stefan Puiu wrote: > >>Hi, > >> > >>2 cents from a DPDK library user - I make 2 changes to the default > >>linux+gcc configuration:

[dpdk-dev] [PATCH] rte_mbuf: bulk allocation and freeing functions + unittest

2015-03-13 Thread vadim.sur...@gmail.com
From: "vadim.suraev at gmail.com" - an API function to allocate a bulk of rte_mbufs - an API function to free a bulk of rte_mbufs - an API function to free a chained rte_mbuf - unittest for aboce Signed-off-by: vadim.suraev at gmail.com --- app/test/test_mbuf.c |

[dpdk-dev] Undefined reference to FUSE

2015-03-13 Thread De Lara Guarch, Pablo
Hi I?aki, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of I?akiMurillo > Sent: Friday, March 13, 2015 11:50 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Undefined reference to FUSE > > Hello, > > I am trying to compile the vhost example using DPDK 1.8.0.

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

2015-03-13 Thread Kavanagh, Mark B
>-Original Message- >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman >Sent: Wednesday, March 4, 2015 4:27 PM >To: dev at dpdk.org >Subject: [dpdk-dev] [PATCH v3] ABI: Add abi checking utility > >There was a request for an abi validation utilty for the ongoing ABI

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Gonzalez Monroy, Sergio
On 13/03/2015 11:34, Kavanagh, Mark B wrote: >> On 13/03/2015 10:49, Kavanagh, Mark B wrote: --- config/common_bsdapp| 6 -- config/common_linuxapp | 6 -- config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - lib/Makefile

[dpdk-dev] [PATCH v2 00/15] eal: Port Hotplug support for BSD

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 12, 2015 10:18 AM > To: dev at dpdk.org > Cc: Iremonger, Bernard; Richardson, Bruce; Tetsuya Mukawa > Subject: [PATCH v2 00/15] eal: Port Hotplug support for BSD > > This patch series adds

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Kavanagh, Mark B
>On 13/03/2015 10:49, Kavanagh, Mark B wrote: >>> --- >>> config/common_bsdapp| 6 -- >>> config/common_linuxapp | 6 -- >>> config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - >>> lib/Makefile| 1 - >>> mk/rte.app.mk

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

2015-03-13 Thread Ananyev, Konstantin
Hi Olivier, > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Friday, March 13, 2015 9:08 AM > To: Vlad Zolotarov; Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v6 3/3] ixgbe: Add LRO support > > Hi Vlad, > > On 03/11/2015 05:54

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Gonzalez Monroy, Sergio
On 13/03/2015 10:49, Kavanagh, Mark B wrote: >> --- >> config/common_bsdapp| 6 -- >> config/common_linuxapp | 6 -- >> config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - >> lib/Makefile| 1 - >> mk/rte.app.mk

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 04:12:35PM +0200, Stefan Puiu wrote: > Hi, > > 2 cents from a DPDK library user - I make 2 changes to the default > linux+gcc configuration: combine libraries and build shared libraries > (since I want 2 instances of the app, it didn't make sense to me to > link

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 02:50:03PM +, Bruce Richardson wrote: > On Fri, Mar 13, 2015 at 09:45:14AM -0400, Neil Horman wrote: > > On Fri, Mar 13, 2015 at 09:41:33AM +, Bruce Richardson wrote: > > > On Thu, Mar 12, 2015 at 03:15:40PM -0400, Neil Horman wrote: > > > > On Thu, Mar 12, 2015 at

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

2015-03-13 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vlad Zolotarov > Sent: Thursday, March 12, 2015 9:17 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 0/3]: bug fixes in the ixgbe PF PMD Rx flow > > This series contains some bug fixes that were

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

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 02:25:17PM +, Kavanagh, Mark B wrote: > >On Fri, Mar 13, 2015 at 11:56:59AM +, Kavanagh, Mark B wrote: > >> > >> > >> >-Original Message- > >> >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > >> >Sent: Wednesday, March 4, 2015 4:27 PM >

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Kavanagh, Mark B
>--- > config/common_bsdapp| 6 -- > config/common_linuxapp | 6 -- > config/defconfig_ppc_64-power8-linuxapp-gcc | 2 - > lib/Makefile| 1 - > mk/rte.app.mk | 12 > mk/rte.lib.mk

[dpdk-dev] PMD architecture related to code

2015-03-13 Thread Akshay
Kuldeep, The documentation on dpdk.org explains quite a lot about the architecture. I suggest you go through it first. http://dpdk.org/doc/guides/prog_guide/ -Akshay On Fri, Mar 13, 2015 at 10:15 AM, wrote: > Hi Developer Team , > > > I am trying add new functionality on Poll Mode driver . >

[dpdk-dev] PMD architecture related to code

2015-03-13 Thread kuldeep.sam...@wipro.com
Hi Akshay , I already gone through the DPDK prog guide , but I am wondering to know how Poll Mode driver working IN DPDK framework . Regards Kuldeep From: Akshay [mailto:akshay.ran...@gmail.com] Sent: Friday, March 13, 2015 10:48 AM To: Kuldeep Samasi (WT01 - Global Media & Telecom) Cc: dev

[dpdk-dev] [PATCH] app/testpmd: Fix not set need_reconfig flag when port id is RTE_PORT_ALL

2015-03-13 Thread Yong Liu
When port id is RTE_PORT_ALL, port_id_is_invalid will also return zero. So this function will only set ports[255] need_reconfig flag, other ports will be skipped. Signed-off-by: Marvin liu diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 5b16a69..077d7a4 100644 ---

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-13 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Friday, March 13, 2015 12:11 AM > To: Iremonger, Bernard > Cc: John W. Linville; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC] af_packet: support port hotplug > > 2015-03-13 2:05 GMT+09:00 Iremonger,

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

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 11:56:59AM +, Kavanagh, Mark B wrote: > > > >-Original Message- > >From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Neil Horman > >Sent: Wednesday, March 4, 2015 4:27 PM > >To: dev at dpdk.org > >Subject: [dpdk-dev] [PATCH v3] ABI: Add abi checking

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

2015-03-13 Thread Neil Horman
There was a request for an abi validation utilty for the ongoing ABI stability work. As it turns out there is a abi compliance checker in development that seems to be under active development and provides fairly detailed ABI compliance reports. Its not yet intellegent enough to understand symbol

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

2015-03-13 Thread Olivier MATZ
Hi Vlad, On 03/11/2015 05:54 PM, Vlad Zolotarov wrote: About the existing RX/TX functions and PPC support: Note that all of them were created before PPC support for DPDK was introduced. At that moment only IA was supported. That's why in some places where you would expect

[dpdk-dev] [RFC PATCH 0/7] add OSv support

2015-03-13 Thread Bruce Richardson
On Fri, Mar 13, 2015 at 06:05:41AM +0900, Takuya ASADA wrote: > Hi DPDK developers, > > I'd like to contribute a new EAL to support our open-sourced operating system > called "OSv". > It is a new operating system build from scratch for cloud computing, to run > application faster with lower

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

2015-03-13 Thread Thomas Monjalon
Hi Neil, 2015-03-11 15:36, 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 > > > > > >

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 09:41:33AM +, Bruce Richardson wrote: > On Thu, Mar 12, 2015 at 03:15:40PM -0400, Neil Horman wrote: > > On Thu, Mar 12, 2015 at 04:54:27PM +, John McNamara wrote: > > > > > > This patch is a minor extension to the recent patchset for RX/TX callbacks > > > based on

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-13 Thread Ananyev, Konstantin
Hi Michael, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu > Sent: Friday, March 13, 2015 7:03 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed > > rte_memcpy.h(46): catastrophic error: cannot

[dpdk-dev] [RFC PATCH 0/7] add OSv support

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 06:05:41AM +0900, Takuya ASADA wrote: > Hi DPDK developers, > > I'd like to contribute a new EAL to support our open-sourced operating system > called "OSv". > It is a new operating system build from scratch for cloud computing, to run > application faster with lower

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Bruce Richardson
On Thu, Mar 12, 2015 at 03:15:40PM -0400, Neil Horman wrote: > On Thu, Mar 12, 2015 at 04:54:27PM +, John McNamara wrote: > > > > This patch is a minor extension to the recent patchset for RX/TX callbacks > > based on feedback from users implementing solutions based on it. > > > > The patch

[dpdk-dev] [PATCH v2 01/15] eal: Fix cording style of eal_pci.c and eal_pci_uio.c

2015-03-13 Thread Tetsuya Mukawa
2015-03-12 20:09 GMT+09:00 Bruce Richardson : > On Thu, Mar 12, 2015 at 10:57:18AM +, Qiu, Michael wrote: >> On 3/12/2015 6:50 PM, Bruce Richardson wrote: >> > On Thu, Mar 12, 2015 at 07:17:40PM +0900, Tetsuya Mukawa wrote: >> >> This patch fixes cording style of below files in linuxapp and

[dpdk-dev] [PATCH v2 0/2] doc: update doc for fm10k driver

2015-03-13 Thread Butler, Siobhan A
Acked-by Siobhan Butler On Mar 13, 2015 9:14 AM, "Chen, Jing D" wrote: From: "Chen Jing D(Mark)" Update programming guide and release notes for fm10k driver. Changes in v2: - Remove a punctuation. Chen Jing D(Mark) (2): doc: update programmers guide for fm10k pmd

[dpdk-dev] [PATCH v2 2/2] doc: update release note for fm10k pmd driver

2015-03-13 Thread Butler, Siobhan A
Acked-by Siobhan Butler On Mar 13, 2015 9:14 AM, "Chen, Jing D" wrote: From: "Chen Jing D(Mark)" Add feature list for fm10k driver. Signed-off-by: Chen Jing D(Mark) --- doc/guides/rel_notes/new_features.rst | 20 1 files changed, 20

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Neil Horman
On Fri, Mar 13, 2015 at 11:48:59AM +, Gonzalez Monroy, Sergio wrote: > On 13/03/2015 11:34, Kavanagh, Mark B wrote: > >>On 13/03/2015 10:49, Kavanagh, Mark B wrote: > --- > config/common_bsdapp| 6 -- > config/common_linuxapp | 6 -- >

[dpdk-dev] [RFC] af_packet: support port hotplug

2015-03-13 Thread Tetsuya Mukawa
2015-03-13 2:05 GMT+09:00 Iremonger, Bernard : > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John W. Linville >> Sent: Tuesday, March 10, 2015 6:36 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [RFC] af_packet: support port hotplug >> >> This patch

[dpdk-dev] [PATCH v2 1/4] mk: Remove combined library and related options

2015-03-13 Thread Stephen Hemminger
On Thu, 12 Mar 2015 16:27:58 + Sergio Gonzalez Monroy wrote: > Remove CONFIG_RTE_BUILD_COMBINE_LIBS and CONFIG_RTE_LIBNAME. > > Signed-off-by: Sergio Gonzalez Monroy > --- NAK. The combined library is good and useful for those who want simplicity and build with static library. It is not

[dpdk-dev] Testing Summary about DPDK R2.0 RC1

2015-03-13 Thread Cao, Waterman
Hi Thomas, We are test RC1 package with full test suite in last two weeks. Since there are compilation errors in RC1, we have to verify latest DPDK mater branch. Till now, there are the following issues in master branch. Please help to prioritize to merge fixed patches.

[dpdk-dev] [PATCH] common/rte_memcpy: Fix x86intrin.h missed

2015-03-13 Thread Wang, Zhihong
> -Original Message- > From: Qiu, Michael > Sent: Friday, March 13, 2015 3:03 PM > To: dev at dpdk.org > Cc: Wang, Zhihong; Qiu, Michael > Subject: [PATCH] common/rte_memcpy: Fix x86intrin.h missed > > rte_memcpy.h(46): catastrophic error: cannot open source file "x86intrin.h" > > For

[dpdk-dev] [RFC PATCH 7/7] app/test: support OSv

2015-03-13 Thread Takuya ASADA
Add support OSv EAL. Signed-off-by: Takuya ASADA --- app/test/test_eal_flags.c | 34 +- app/test/test_timer_perf.c | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c index

[dpdk-dev] [RFC PATCH 6/7] virtio: enable MSI-X on OSv

2015-03-13 Thread Takuya ASADA
Add support OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_pmd_virtio/virtio_ethdev.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_virtio/virtio_ethdev.c b/lib/librte_pmd_virtio/virtio_ethdev.c index 603be2d..fed65f3 100644 ---

[dpdk-dev] [RFC PATCH 5/7] add OSv support

2015-03-13 Thread Takuya ASADA
Adding OSv support. Based on Linux/FreeBSD EAL, but calling OSv kernel APIs to access devices, allocate contiguous memory, etc. Signed-off-by: Takuya ASADA --- config/{common_linuxapp => common_osvapp} | 20 +- ...xapp-gcc => defconfig_x86_64-native-osvapp-gcc} | 2 +-

[dpdk-dev] [RFC PATCH 4/7] eal: Add extern C on eal_private.h

2015-03-13 Thread Takuya ASADA
This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_private.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_private.h b/lib/librte_eal/common/eal_private.h index 4acf5a0..80b3d44 100644 ---

[dpdk-dev] [RFC PATCH 3/7] eal: Add extern C on eal_thread.h

2015-03-13 Thread Takuya ASADA
This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_thread.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_thread.h b/lib/librte_eal/common/eal_thread.h index e4e76b9..794137f 100644 ---

[dpdk-dev] [RFC PATCH 2/7] eal: Add extern C on eal_hugepages.h

2015-03-13 Thread Takuya ASADA
This is required to link with OSv EAL. Signed-off-by: Takuya ASADA --- lib/librte_eal/common/eal_hugepages.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/eal_hugepages.h b/lib/librte_eal/common/eal_hugepages.h index 38edac0..b722aee 100644 ---

[dpdk-dev] [RFC PATCH 1/7] mk: support compiling C++ code

2015-03-13 Thread Takuya ASADA
Since OSv is written in C++, we need to write OSv EAL in C++. To do so, we need to compile .cc files by $(CXX). This patch does not contain diff for clang and icc, but OSv EAL does not supported these toolchain, this is enough for now. Signed-off-by: Takuya ASADA ---

[dpdk-dev] PMD architecture related to code

2015-03-13 Thread kuldeep.sam...@wipro.com
Hi Developer Team , I am trying add new functionality on Poll Mode driver . But I don't have idea how packets are coming to kernel mode and going to user space and doing packet processing DPDK . I need suggestion on which file the PMD architecture defined . Regards , Kuldeep The information

[dpdk-dev] [PATCH] lib/librte_vhost: add CONFIG_RTE_LIBRTE_VHOST_USER switch

2015-03-13 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Thursday, March 12, 2015 11:30 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] lib/librte_vhost: add > CONFIG_RTE_LIBRTE_VHOST_USER switch > > Turn on CONFIG_RTE_LIBRTE_VHOST to

[dpdk-dev] Appropriate DPDK data structures for TCP sockets

2015-03-13 Thread Matthew Hall
On Mon, Feb 23, 2015 at 11:51:46PM +0200, Avi Kivity wrote: > https://github.com/cloudius-systems/seastar Hi Avi and others, My code unintentionally ended up looking somewhat like a C version of your seastar C++ code, even though I didn't really look at yours too much when I coded mine as it

[dpdk-dev] [PATCH] lib/librte_vhost: add CONFIG_RTE_LIBRTE_VHOST_USER switch

2015-03-13 Thread Huawei Xie
Turn on CONFIG_RTE_LIBRTE_VHOST to enable vhost. vhost-user is turned on by default. Turn off CONFIG_RTE_LIBRTE_VHOST_USER to enable vhost-cuse implementation. Signed-off-by: Huawei Xie --- config/common_linuxapp| 4 +++- lib/librte_vhost/Makefile | 11 +-- 2 files changed, 12

[dpdk-dev] [PATCH] ethdev: additional parameter in RX callback

2015-03-13 Thread Mcnamara, John
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Thursday, March 12, 2015 7:16 PM > To: Mcnamara, John > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] ethdev: additional parameter in RX > callback > > > Well, we're well past the new feature

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

2015-03-13 Thread Vlad Zolotarov
- Set the callback in a single function that is called from ixgbe_dev_rx_init() for a primary process and from eth_ixgbe_dev_init() for a secondary processes. This is instead of multiple, hard to track places. - Added ixgbe_hw.rx_bulk_alloc_allowed - see ixgbe_hw.rx_vec_allowed

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

2015-03-13 Thread Vlad Zolotarov
According to x540 spec chapter 8.2.4.8.9 CRCSTRIP field of RDRXCTL should be configured to the same value as HLREG0.RXCRCSTRP. Clearing the RDRXCTL.RSCFRSTSIZE field for x540 is not required by the spec but seems harmless. Signed-off-by: Vlad Zolotarov --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 3

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

2015-03-13 Thread Vlad Zolotarov
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 v3: - Adjusted to the new structs naming in the master. - Fixed rx_bulk_alloc_allowed and