[dpdk-dev] [PATCH v3 10/10] vmxnet3: remove excess inlining

2015-03-06 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >No reason to inline large functions. Compiler will decide already >based on optimization level. > >Also register array should be const. > >Signed-off-by: Stephen Hemminger One comment below. Acked-by: Yong Wang >---

[dpdk-dev] [PATCH v3 09/10] vmxnet3: add check for jumbo segment

2015-03-06 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >It is possible that some rogue application might pass a segment >larger than 16K to the vmxnet3 transmit routine. In which case >just drop it and increment counter. > >Signed-off-by: Stephen Hemminger One minor comment

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread David Marchand
On Fri, Mar 6, 2015 at 5:55 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > No virtio_dev_init is called too late, after interrupt handling > threads are spawned. > > /* Launch threads, called at application init(). */ > int > rte_eal_init(int argc, char **argv) > { > int i

[dpdk-dev] Guest Machine is not Pingable from Host Machine

2015-03-06 Thread Ngo Doan Lap
Hi, Can you show the log output of OVS? and the ouput of following command cd path/to/ovs/utilities/ ./ovs-ofctl show br0 ./ovs-ofctl dump-flows br0 (Assum that br0 is a bridge name that you had created) On Fri, Mar 6, 2015 at 10:14 PM, Arkajit Ghosh wrote: > Hi, > > Can anyone please suggest

[dpdk-dev] [PATCH v3 08/10] vmxnet3: get rid of DEBUG ifdefs

2015-03-06 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >By defining macro as a stub it is possible to get rid of #ifdef's >in the actual code. Always evaluate the argument (even in the stub) >so that there are no extra unused variable errors. > >Signed-off-by: Stephen Hemminger Acked-by: Yong Wang >-

[dpdk-dev] [PATCH v3 02/10] vmxnet3: enable VLAN filtering

2015-03-06 Thread Yong Wang
On 3/5/15, 4:10 PM, "Stephen Hemminger" wrote: >From: Stephen Hemminger > >Support the VLAN filter functionality of the VMXNET3 interface. > >Signed-off-by: Stephen Hemminger Acked-by: Yong Wang >--- > lib/librte_pmd_vmxnet3/vmxnet3_ethdev.c | 105 >+--- > lib/libr

[dpdk-dev] Guest Machine is not Pingable from Host Machine

2015-03-06 Thread Arkajit Ghosh
Hi, Can anyone please suggest how to proceed. Thanks & Regards Arkajit Ghosh -Arkajit Ghosh/DEL/TCS wrote: - To: dev at dpdk.org From: Arkajit Ghosh/DEL/TCS Date: 03/04/2015 12:39PM Subject: Guest Machine is not Pingable from Host Machine Hi Team, Guest machine is not pingable from H

[dpdk-dev] [PATCH] test whether file descriptor is valid before close it

2015-03-06 Thread Huawei Xie
This avoids closing -1 in our case. Signed-off-by: Huawei Xie --- lib/librte_vhost/virtio-net.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_vhost/virtio-net.c b/lib/librte_vhost/virtio-net.c index 6917fcf..4672e67 100644 --- a/lib/librte_vhost/virtio-ne

[dpdk-dev] [PATCH] lib/librte_vhost: exchange kickfd and callfd to avoid confusion

2015-03-06 Thread Huawei Xie
Previous vhost implementation wrongly name kickfd as callfd and callfd as kickfd. It is functional correct, but causes confusion. Signed-off-by: Huawei Xie --- examples/vhost/main.c | 6 +++--- lib/librte_vhost/rte_virtio_net.h | 4 ++-- lib/librte_vhost/vh

[dpdk-dev] [PATCH 5/5] ixgbe: rename igb_* to ixgbe_*

2015-03-06 Thread Stephen Hemminger
To avoid any possible confusion or breakage, rename all the structures of ixgbe driver to use ixgbe_ rather than igb_ because igb is a different driver. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 124 ++

[dpdk-dev] [PATCH 4/5] ixgbe: rename set_tx_function

2015-03-06 Thread Stephen Hemminger
All global functions in a driver should use the same prefix to avoid any future name collisions. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 2 +- 3 files changed, 3 insertions(

[dpdk-dev] [PATCH 3/5] ixgbe: make bulk alloc static

2015-03-06 Thread Stephen Hemminger
Only used in this file, make it static. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 5 - lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.h b/lib/librte_pmd_ixgbe/ixgbe_

[dpdk-dev] [PATCH 2/5] ixgbe: make register maps const

2015-03-06 Thread Stephen Hemminger
These are const data structures, just put them in txt segment rather than having compiler emit code to set them up on the stack. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixg

[dpdk-dev] [PATCH 1/5] ixgbe: make txq_ops const

2015-03-06 Thread Stephen Hemminger
All virtual function tables should be const so they are put in text segment rather than data. Signed-off-by: Stephen Hemminger --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 2 +- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 2 +- 3 files changed, 3 insertio

[dpdk-dev] [PATCH 0/5] ixgbe: cleanup patches

2015-03-06 Thread Stephen Hemminger
These are things found while reviewing ixgbe driver. No bugs or functionality changes, just minor things like naming and use of const. Stephen Hemminger (5): ixgbe: make txq_ops const ixgbe: make register maps const ixgbe: make bulk alloc static ixgbe: rename set_tx_function ixgbe: renam

[dpdk-dev] [PATCH v3 10/10] vmxnet3: remove excess inlining

2015-03-06 Thread Stephen Hemminger
On Fri, 6 Mar 2015 23:54:23 + Yong Wang wrote: > Since there is only one caller of this routine, inlining it should be > fine. But I have no problem with letting the compiler decide (which > probably will inline it anyway for this particular case). Sometimes compiler will not inline because

[dpdk-dev] [PATCH 2/2] doc: update flow director commands

2015-03-06 Thread Jingjing Wu
Because of the changing of unified flow type, commands for flow director need to be updated. Signed-off-by: Jingjing Wu --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs

[dpdk-dev] [PATCH 1/2] ixgbe: correct the flow types supported

2015-03-06 Thread Jingjing Wu
Ixgbe doesn't support the ipv4-frag and ipv6-frag flow types, remove them. Ixgbe doesn't support configure flex mask on each kind of flow type, this patch uses RTE_ETH_FLOW_UNKNOWN to specify global flex mask setting. This patch also changes the string "raw" to "none" to indicate flex mask setting

[dpdk-dev] [PATCH 0/2] correct the flow director based on unified flow type

2015-03-06 Thread Jingjing Wu
Due the unified flow type changes, this patchset updates the commands for flow director and correct the flow types ixgbe supported. Jingjing Wu (2): ixgbe: correct the flow types supported doc: update flow director commands app/test-pmd/cmdline.c | 18 +++---

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread David Marchand
Hello Stephen, On Fri, Mar 6, 2015 at 5:20 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > The issue is that virtio has no place it can do iopl() and have the IRQ > thread > work. It only shows up on real code where application is daemon, not in a > toy > demo or test application.

[dpdk-dev] [PATCH v3 2/2] doc: Update for new HW vlan command

2015-03-06 Thread Ouyang Changchun
Update the testpmd doc as there are new HW VLAN commands/options. Signed-off-by: Changchun Ouyang --- doc/guides/testpmd_app_ug/run_app.rst | 12 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 + 2 files changed, 45 insertions(+) diff --git a/doc/

[dpdk-dev] [PATCH v3 1/2] testpmd: HW vlan command

2015-03-06 Thread Ouyang Changchun
This patch enables testpmd user can config port hw_vlan with more fine granularity: hw vlan filter, hw vlan strip, and hw vlan extend. Don't remove the original command(hw-vlan) considering that some user still want to use only one command to switch on/off all 3 options. Signed-off-by: Changchu

[dpdk-dev] [PATCH v3 0/2] New HW VLAN command in testpmd

2015-03-06 Thread Ouyang Changchun
This patch enables testpmd user can config port hw_vlan with more fine granularity: hw vlan filter, hw vlan strip, and hw vlan extend; Update testpmd doc accordingly. Changchun Ouyang (2): testpmd: HW vlan command doc: Update for new HW vlan command app/test-pmd/cmdline.c

[dpdk-dev] [PATCH v2 2/2] doc: Update for new HW vlan command

2015-03-06 Thread Ouyang Changchun
Update the testpmd doc as there are new HW VLAN commands/options. Signed-off-by: Changchun Ouyang --- doc/guides/testpmd_app_ug/run_app.rst | 12 +++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 + 2 files changed, 45 insertions(+) diff --git a/doc/

[dpdk-dev] [PATCH v2 1/2] testpmd: HW vlan command

2015-03-06 Thread Ouyang Changchun
This patch enables testpmd user can config port hw_vlan with more fine granularity: hw vlan filter, hw vlan strip, and hw vlan extend. Don't remove the original command(hw-vlan) considering that some user still want to use only one command to switch on/off all 3 options. Signed-off-by: Changchu

[dpdk-dev] [PATCH v2 0/2]

2015-03-06 Thread Ouyang Changchun
This patch enables testpmd user can config port hw_vlan with more fine granularity: hw vlan filter, hw vlan strip, and hw vlan extend; Update testpmd doc accordingly. Changchun Ouyang (2): testpmd: HW vlan command doc: Update for new HW vlan command app/test-pmd/cmdline.c

[dpdk-dev] [PATCHv2] headers: typeof -> __typeof__ to unbreak C++11 code

2015-03-06 Thread Konstantin Ananyev
v2: Instead of changing all the affected files, define 'typeofi' and 'asm' if needed. When compiling C++11-code or above (--std=c++11), the build fails with lots of rte_eth_ctrl.h:517:3: note: in expansion of macro RTE_ALIGN (RTE_ALIGN(RTE_ETH_FLOW_MAX, UINT32_BIT)/UINT32_BIT) ^ When r

[dpdk-dev] [PATCH] librte_pmd_fm10k: Set pointer to NULL after free

2015-03-06 Thread Michael Qiu
It could be a potential not safe issue. Signed-off-by: Michael Qiu --- lib/librte_pmd_fm10k/fm10k_ethdev.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/librte_pmd_fm10k/fm10k_ethdev.c b/lib/librte_pmd_fm10k/fm10k_ethdev.c index 07ea1e7..30962d3 100644

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread Stephen Hemminger
On Fri, 6 Mar 2015 23:04:33 +0100 David Marchand wrote: > In the end, the fix would be to move rte_eal_intr_init() after > rte_eal_dev_init(). That would work, but was worried it would break other devices.

[dpdk-dev] [PATCH] A fix to work around strict-aliasing rules breaking

2015-03-06 Thread Liang, Cunming
Hi, On 3/2/2015 5:03 PM, zhihong.wang at intel.com wrote: > Fixed strict-aliasing rules breaking errors for some GCC version. > > Signed-off-by: Zhihong Wang > --- > .../common/include/arch/x86/rte_memcpy.h | 44 > -- > 1 file changed, 24 insertions(+), 20 deleti

[dpdk-dev] [PATCH] app/test-pmd: Fix log issue without nic binded

2015-03-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michael Qiu > Sent: Monday, March 02, 2015 8:32 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] app/test-pmd: Fix log issue without nic binded > > As hotplug has been enabled, start the testpmd with no

[dpdk-dev] [PATCH] headers: typeof -> __typeof__ to unbreak C++11 code

2015-03-06 Thread Simon Kågström
On 2015-03-06 11:30, Ananyev, Konstantin wrote: > > Hi Simon, > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Simon K?gstr?m >> Sent: Friday, March 06, 2015 8:28 AM >> To: dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] headers: typeof -> __typeof__ t

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

2015-03-06 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 b/doc/guides/rel_notes/new

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

2015-03-06 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| 37 ++

[dpdk-dev] [PATCH] testpmd: Fix port validation code of "port stop all" command

2015-03-06 Thread De Lara Guarch, Pablo
Hi Michael, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Qiu, Michael > Sent: Thursday, March 05, 2015 1:33 PM > To: Tetsuya Mukawa; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] testpmd: Fix port validation code of "port > stop all" command > > Hi, T

[dpdk-dev] [PATCH] lib/librte_vhost: use loop instead of goto

2015-03-06 Thread Huawei Xie
This patch reorder the code a bit to use loop instead of goto. Besides, remove abudant check 'fd != -1'. Signed-off-by: Huawei Xie --- lib/librte_vhost/vhost_user/fd_man.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/lib/librte_vhost/vhost_user

[dpdk-dev] [PATCH] lib/librte_vhost: combine select with sleep

2015-03-06 Thread Huawei Xie
combine sleep into select when there is no file descriptors to be monitored. Signed-off-by: Huawei Xie --- lib/librte_vhost/vhost_user/fd_man.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/librte_vhost/vhost_user/fd_man.c b/lib/librte_vhost/vhost_user/fd

[dpdk-dev] [PATCH] testpmd: Fix port validation code of "port stop all" command

2015-03-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 05, 2015 7:30 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo; Tetsuya Mukawa > Subject: [PATCH] testpmd: Fix port validation code of "port stop all" > command > > When "port stop all"

[dpdk-dev] [PATCH] af_packet: fix minor memory leak of kvlist in dev init

2015-03-06 Thread Mcnamara, John
Superseded by http://dpdk.org/ml/archives/dev/2015-February/014438.html

[dpdk-dev] [PATCH] hash: added rte_hash_clear that clears all keys

2015-03-06 Thread Tomas Vestelind
Hi Bruce! Oh yea, this patch is quite old :) I'm currently not working actively with DPDK. If no one else wants to do it, I could do the update and add a unit test /Tomas On 2015-03-06 12:10, Bruce Richardson wrote: > On Tue, Aug 12, 2014 at 11:47:57PM +0200, Tomas Vestelind wrote: >> I added

[dpdk-dev] [PATCH] hash: added rte_hash_clear that clears all keys

2015-03-06 Thread Bruce Richardson
On Fri, Mar 06, 2015 at 01:02:56PM +0100, Tomas Vestelind wrote: > Hi Bruce! > > Oh yea, this patch is quite old :) > > I'm currently not working actively with DPDK. If no one else wants to do it, > I could do the update and add a unit test > > /Tomas Hi Tomas, no pressure, since there doesn't

[dpdk-dev] [PATCH 2/3 v3] app/test: Fix size_t printf format issue

2015-03-06 Thread Michael Qiu
test_hash.c: In function ?test_crc32_hash_alg_equiv?: error: format ?%lu? expects argument of type ?long unsigned int?, but argument 2 has type ?size_t? [-Werror=format] According to C99, for size_t type should use format "%zu" Signed-off-by: Michael Qiu Acked-by: Bruce Richardson --- v3 --> v2

[dpdk-dev] [PATCH v2] ixgbe: Fix vf tx issue

2015-03-06 Thread Liang, Cunming
Hi, On 3/2/2015 8:25 PM, Ouyang Changchun wrote: > X550 should use the correct macro to set the VFTDT and VFRDT register address. > This patch fixes the VF TX issue for Sageville. > > Signed-off-by: Changchun Ouyang > --- > > Change in v2 >-- Fix one more mac type: ixgbe_mac_X550EM_x_vf. > >

[dpdk-dev] [PATCH v3 01/10] vmxnet3: fix link state handling

2015-03-06 Thread Sanford, Robert
Hi Stephen, Have you considered supporting LSC interrupts in vmxnet3? -- Thanks, Robert >From: Stephen Hemminger > >The Intel version of VMXNET3 driver does not handle link state properly. >The VMXNET3 API returns 1 if connected and 0 if disconnected. >Also need to return correct value to indi

[dpdk-dev] [PATCH] librte_lpm: define tbl entry reversely for big endian

2015-03-06 Thread Bruce Richardson
On Thu, Mar 05, 2015 at 02:12:12AM +, Xuelin Shi wrote: > Hi Bruce, > > Yes, it needs to swap the fields. The bit field is first identified as the > uint8_t and then packed. > > Thanks, > Shi xuelin > Am I right in thinking that this patch set supercedes that for "lpm: use field access inst

[dpdk-dev] [PATCH] librte_eal/common: Fix cast from pointer to integer of different size

2015-03-06 Thread Michael Qiu
./i686-native-linuxapp-gcc/include/rte_memcpy.h:592:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] dstofss = 16 - (int)((long long)(void *)dst & 0x0F) + 16; Type 'long long' is 64-bit in i686 platform while 'void *' is 32-bit. Signed-off-by: Michael Qiu

[dpdk-dev] [PATCH] hash: added rte_hash_clear that clears all keys

2015-03-06 Thread Bruce Richardson
On Tue, Aug 12, 2014 at 11:47:57PM +0200, Tomas Vestelind wrote: > I added rte_hash_clear which clear the map from all previously added > keys. > This patch is now quite old and needs an update to add the new API to the rte_hash_version.map. A unit test for the new function would also be good to h

[dpdk-dev] [PATCH 1/3] BSD: Support Port Hotplug function

2015-03-06 Thread Iremonger, Bernard
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > Sent: Wednesday, March 4, 2015 3:12 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] BSD: Support Port Hotplug function > > This patch adds Hotplug support to BSD. > > Signed-off-by:

[dpdk-dev] [PATCH] testpmd: bond port creation did not enable bond port

2015-03-06 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Michal Jastrzebski > Sent: Friday, March 06, 2015 7:39 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] testpmd: bond port creation did not enable > bond port > > When invoking creation of bonded device

[dpdk-dev] [PATCH] headers: typeof -> __typeof__ to unbreak C++11 code

2015-03-06 Thread Ananyev, Konstantin
Hi Simon, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Simon K?gstr?m > Sent: Friday, March 06, 2015 8:28 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] headers: typeof -> __typeof__ to unbreak > C++11 code > > Ping? Konstantins simpler patc

[dpdk-dev] [PATCH] lib/librte_vhost: use loop instead of goto

2015-03-06 Thread Ananyev, Konstantin
> -Original Message- > From: Xie, Huawei > Sent: Friday, March 06, 2015 5:53 AM > To: dev at dpdk.org > Cc: Ananyev, Konstantin; Xie, Huawei > Subject: [PATCH] lib/librte_vhost: use loop instead of goto > > This patch reorder the code a bit to use loop instead of goto. > Besides, remove

[dpdk-dev] [PATCH] lib/librte_vhost: combine select with sleep

2015-03-06 Thread Ananyev, Konstantin
> -Original Message- > From: Xie, Huawei > Sent: Friday, March 06, 2015 5:52 AM > To: dev at dpdk.org > Cc: Ananyev, Konstantin; Xie, Huawei > Subject: [PATCH] lib/librte_vhost: combine select with sleep > > combine sleep into select when there is no file descriptors to be monitored. >

[dpdk-dev] [PATCH] Move mk/rte.extvars.mk to mk/internal/rte.extvars.mk

2015-03-06 Thread Olivier MATZ
Hi Keith, On 03/04/2015 06:13 PM, Keith Wiles wrote: > Move the rte.extvars.mk to an internal directory and > update rte.vars.mk to find the file in the new location. > > Signed-off-by: Keith Wiles > --- > mk/internal/rte.extvars.mk | 81 > ++ > mk/r

[dpdk-dev] [PATCH] headers: typeof -> __typeof__ to unbreak C++11 code

2015-03-06 Thread Simon Kågström
Ping? Konstantins simpler patch is fine for me, but at least one of these two would be very nice to have so that modern C++ code can use DPDK. // Simon On 2015-03-02 08:55, Simon K?gstr?m wrote: > On 2015-02-27 17:24, Ananyev, Konstantin wrote: >> Actually, I wonder wouldn't something like the on

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

2015-03-06 Thread Chen, Jing D
Hi Michael, > -Original Message- > From: Qiu, Michael > Sent: Friday, March 06, 2015 4:07 PM > To: Chen, Jing D; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 2/2] doc: update release note for fm10k > pmd driver > > On 3/6/2015 2:40 PM, Chen Jing D(Mark) wrote: > > From: "Chen Jing D(M

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread Stephen Hemminger
On Fri, 6 Mar 2015 17:33:58 +0100 David Marchand wrote: > Is eth_virtio_dev_init() not a better place rather than eal ? > > I prefer avoiding #ifdef pmd in eal. No virtio_dev_init is called too late, after interrupt handling threads are spawned. /* Launch threads, called at application init().

[dpdk-dev] Not getting statistics for all queues.

2015-03-06 Thread Gonzalez Monroy, Sergio
On 05/03/2015 10:57, Alexandra Sava wrote: > ping :-) ? Any thoughts about this ? > Sorry for the delay. I'm not able to reproduce your issue with testpmd app. I gather that you are using your own app, have you tried to use testpmd to get queue stats? If so, what command line options did you use

[dpdk-dev] [PATCH v3 1/2] testpmd: HW vlan command

2015-03-06 Thread Ouyang, Changchun
Hi Michael, > -Original Message- > From: Qiu, Michael > Sent: Friday, March 6, 2015 4:23 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 1/2] testpmd: HW vlan command > > On 3/6/2015 4:11 PM, Ouyang Changchun wrote: > > This patch enables testpmd user can c

[dpdk-dev] [PATCH] testpmd: bond port creation did not enable bond port

2015-03-06 Thread Michal Jastrzebski
When invoking creation of bonded device using: create bonded device mode socket in testpmd the bonded port was not enabled at the end of cmd_create_bonded_device_parsed function. This caused commands 'show port info' and 'show port stats' not working properly with bonding device. This patch fixed

[dpdk-dev] [PATCH v3 2/2] doc: Update for new HW vlan command

2015-03-06 Thread Qiu, Michael
On 3/6/2015 4:10 PM, Ouyang Changchun wrote: > Update the testpmd doc as there are new HW VLAN commands/options. > > Signed-off-by: Changchun Ouyang > --- Acked-by: Michael Qiu > doc/guides/testpmd_app_ug/run_app.rst | 12 +++ > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 33 >

[dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering

2015-03-06 Thread Stephen Hemminger
On Fri, 6 Mar 2015 03:39:47 + "Ouyang, Changchun" wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > > Hemminger > > Sent: Friday, March 6, 2015 8:45 AM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH 2/2] virtio: allow run

[dpdk-dev] [PATCH v3 1/2] testpmd: HW vlan command

2015-03-06 Thread Qiu, Michael
On 3/6/2015 4:11 PM, Ouyang Changchun wrote: > This patch enables testpmd user can config port hw_vlan with more fine > granularity: > hw vlan filter, hw vlan strip, and hw vlan extend. > > Don't remove the original command(hw-vlan) considering that some user still > want to use > only one comman

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread Stephen Hemminger
On Fri, 6 Mar 2015 03:41:25 + "Ouyang, Changchun" wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > > Hemminger > > Sent: Friday, March 6, 2015 8:45 AM > > To: dev at dpdk.org > > Subject: [dpdk-dev] [PATCH 1/2] virtio: initializ

[dpdk-dev] [PATCH v2 0/2]

2015-03-06 Thread Ouyang, Changchun
> -Original Message- > From: Ouyang, Changchun > Sent: Friday, March 6, 2015 4:00 PM > To: dev at dpdk.org > Cc: Butler, Siobhan A; De Lara Guarch, Pablo; Cao, Waterman; Ouyang, > Changchun > Subject: [PATCH v2 0/2] > > This patch enables testpmd user can config port hw_vlan with more fine

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

2015-03-06 Thread Qiu, Michael
On 3/6/2015 2:40 PM, Chen Jing D(Mark) 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 insertions(+), 0 deletions(-) > > diff --git a/do

[dpdk-dev] [PATCH v1] doc: prog guide update for eal multi-pthread

2015-03-06 Thread Butler, Siobhan A
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Cunming Liang > Sent: Monday, February 16, 2015 7:34 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v1] doc: prog guide update for eal multi-pthread > > The patch add the multi-pthread section under EAL

[dpdk-dev] [PATCH 3/3 v3] librte_eal/common: Fix redeclaration of enumerator ‘REG_EAX’

2015-03-06 Thread David Marchand
On Thu, Mar 5, 2015 at 2:57 PM, Michael Qiu wrote: > include/rte_cpuflags.h:154:2: error: redeclaration of enumerator ?REG_EAX? > In file included from /usr/include/signal.h:358:0, > from /usr/include/sys/wait.h:30, > from /root/dpdk/app/test/test_mp_secondary.c:

[dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is initialized

2015-03-06 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Friday, March 6, 2015 8:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/2] virtio: initialize iopl when device is > initialized > > The virtio driver needs to use in/out

[dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering

2015-03-06 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen > Hemminger > Sent: Friday, March 6, 2015 8:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 2/2] virtio: allow running w/o vlan filtering > > Vlan filtering is an option, and not a requirement

[dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format issue

2015-03-06 Thread Qiu, Michael
On 3/6/2015 1:28 AM, Thomas Monjalon wrote: > 2015-03-05 22:00, Michael Qiu: >> test_hash.c: In function ?test_crc32_hash_alg_equiv?: >> error: format ?%lu? expects argument of type ?long unsigned int?, >> but argument 2 has type ?size_t? [-Werror=format] >> >> According to C99, for size_t type sho

[dpdk-dev] [PATCH 1/3 v2] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-06 Thread Qiu, Michael
On 3/6/2015 1:11 AM, Thomas Monjalon wrote: > 2015-03-06 00:55, Michael Qiu: >> CC rte_hash.o >> Error: unsupported instruction `crc32' >> >> The root cause is that i686 platform does not support 'crc32q' >> Need make it only available in x86_64 platform >> >> Signed-off-by: Michael Qiu >> --- >>

[dpdk-dev] [PATCH 1/3 v2] librte_hash: Fix unsupported instruction `crc32' in i686 platform

2015-03-06 Thread Michael Qiu
CC rte_hash.o Error: unsupported instruction `crc32' The root cause is that i686 platform does not support 'crc32q' Need make it only available in x86_64 platform Signed-off-by: Michael Qiu --- v2 --> v1: Make crc32 instruction only works in X86 platform lib/librte_hash/rte_hash_crc.h