[dpdk-dev] [PATCH] mbuf: add comment explaining confusing code

2015-03-26 Thread Olivier MATZ
Hi Bruce, On 03/26/2015 10:14 PM, Bruce Richardson wrote: > The logic used in the condition check before freeing an mbuf is > sometimes confusing, so explain it in a proper comment. > > Signed-off-by: Bruce Richardson > --- > lib/librte_mbuf/rte_mbuf.h | 10 ++ > 1 file changed, 10 inse

[dpdk-dev] [PATCH] mbuf: add comment explaining confusing code

2015-03-26 Thread Bruce Richardson
The logic used in the condition check before freeing an mbuf is sometimes confusing, so explain it in a proper comment. Signed-off-by: Bruce Richardson --- lib/librte_mbuf/rte_mbuf.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_

[dpdk-dev] [PATCH] mbuf: optimize refcnt handling during free

2015-03-26 Thread Bruce Richardson
On Thu, Mar 26, 2015 at 09:00:33PM +, Wiles, Keith wrote: > > > On 3/26/15, 1:10 PM, "Zoltan Kiss" wrote: > > >The current way is not the most efficient: if m->refcnt is 1, the second > >condition never evaluates, and we set it to 0. If refcnt > 1, the 2nd > >condition fails again, although

[dpdk-dev] [PATCH] mbuf: optimize refcnt handling during free

2015-03-26 Thread Wiles, Keith
On 3/26/15, 1:10 PM, "Zoltan Kiss" wrote: >The current way is not the most efficient: if m->refcnt is 1, the second >condition never evaluates, and we set it to 0. If refcnt > 1, the 2nd >condition fails again, although the code suggest otherwise to branch >prediction. Instead we should keep th

[dpdk-dev] documentation for 2.0

2015-03-26 Thread Butler, Siobhan A
Hi all, Does anyone have remaining documentation changes for release 2.0 - if so can you please post immediately? Many Thanks, Siobhan

[dpdk-dev] usvhost interface dropping packets

2015-03-26 Thread Srinivasreddy R
hi, I am using usvhost interfaces for VM to VM communication with ovdk Version 1.2 . when i am sending packets form one VM to another using PacketGen , i observed packet drop . the reason for this is , when packets are send in burst on vhost interface it checks for the free entries in vhost_virtque

[dpdk-dev] [PATCH] vhost library doc update

2015-03-26 Thread Butler, Siobhan A
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Huawei Xie > Sent: Wednesday, March 11, 2015 4:22 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] vhost library doc update > > add vhost user documentation > > Signed-off-by: Huawei Xie > --- > doc/guides/prog_guide/vhost_lib.rst

[dpdk-dev] [PATCH] test: Disable strict-aliasing warnings

2015-03-26 Thread Pablo de Lara
DPDK does not build on gcc 4.4, as it complains due to strict-aliasing rules in virtual_pmd and link_bonding_mode4 tests, with no errors in next gcc versions: CC virtual_pmd.o CC test_link_bonding_mode4.o cc1: warnings being treated as errors /root/dpdk/app/test/test_link_bonding_mode4.c: In funct

[dpdk-dev] [PATCH] mbuf: optimize refcnt handling during free

2015-03-26 Thread Zoltan Kiss
The current way is not the most efficient: if m->refcnt is 1, the second condition never evaluates, and we set it to 0. If refcnt > 1, the 2nd condition fails again, although the code suggest otherwise to branch prediction. Instead we should keep the second condition only, and remove the duplicate

[dpdk-dev] [PATCH] examples/vhost: use library routines instead of local copies

2015-03-26 Thread Zoltan Kiss
On 26/03/15 17:34, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Thursday, March 26, 2015 4:46 PM >> To: Ananyev, Konstantin; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] examples/vhost: use library routines ins

[dpdk-dev] [dpdk-announce] China DPDK Summit 2015 is open for registration

2015-03-26 Thread Kantak, Pravin
DPDK Summit in China is announced to commence on April 21st in Beijing. These events bring our DPDK open source community together face to face for a forward looking dialogue. This event will be run mostly in Mandarin as preferred by regional participants. Check out more information on http://w

[dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules

2015-03-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yerden > Zhumabekov > Sent: Tuesday, March 24, 2015 1:32 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] hash: fix breaking strict-aliasing rules > > Fix rte_hash_crc() function by making use of uint

[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-26 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, March 26, 2015 5:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ethdev: fix crash with multiprocess > > The data structure for the rx and tx callbacks is local to

[dpdk-dev] [PATCH] examples/vhost: use library routines instead of local copies

2015-03-26 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Thursday, March 26, 2015 4:46 PM > To: Ananyev, Konstantin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vhost: use library routines instead > of local copies > > > > On 26/03/15 01:20, A

[dpdk-dev] [PATCH] vhost: Fix `struct file' leakage in `eventfd_link'

2015-03-26 Thread Pavel Boldin
On Thu, Mar 26, 2015 at 9:56 AM, Xie, Huawei wrote: > On 3/23/2015 8:54 PM, Pavel Boldin wrote: > > Due to increased `struct file's reference counter subsequent call > > to `filp_close' does not free the `struct file'. Prepend `fput' call > > to decrease the reference counter. > > > > Signed-off-

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

2015-03-26 Thread Zoltan Kiss
On 26/03/15 15:59, Olivier Matz wrote: > Add a new private_size field in mbuf structure that should > be initialized at mbuf pool creation. This field contains the > size of the application private data in mbufs. > > Introduce new static inline functions rte_mbuf_from_indirect() > and rte_mbuf_to

[dpdk-dev] [PATCH] ethdev: fix crash with multiprocess

2015-03-26 Thread Bruce Richardson
The data structure for the rx and tx callbacks is local to each process since it contains function pointers and cannot be shared between different unique binaries. However, because it is not in rte_eth_dev_data structure, the array is not getting initialized for secondary processes - neither is it

[dpdk-dev] [PATCH v2 5/5] test/mbuf: verify that cloning a clone works properly

2015-03-26 Thread Olivier Matz
Signed-off-by: Olivier Matz --- app/test/test_mbuf.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 9d8ee4e..e59aedc 100644 --- a/app/test/test_mbuf.c +++ b/app/test/test_mbuf.c @@ -325,6 +325,7 @@ testclone_testup

[dpdk-dev] [PATCH v2 4/5] test/mbuf: enhance mbuf refcnt test

2015-03-26 Thread Olivier Matz
Check that the data in the cloned mbuf is the same than in the reference mbuf. Check that the reference counter is incremented for each segment. Signed-off-by: Olivier Matz --- app/test/test_mbuf.c | 37 + 1 file changed, 37 insertions(+) diff --git a/app/tes

[dpdk-dev] [PATCH v2 3/5] test/mbuf: rename mc variable in m

2015-03-26 Thread Olivier Matz
It's better to name the mbuf 'm' instead of 'mc' as it's not a clone. Signed-off-by: Olivier Matz --- app/test/test_mbuf.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c index 1ff66cb..9a3cf8f 100644 ---

[dpdk-dev] [PATCH v2 2/5] mbuf: allow to clone an indirect mbuf

2015-03-26 Thread Olivier Matz
Remove one limitation of rte_pktmbuf_attach(): "mbuf we're attaching to must be direct". Now, when we attach to an indirect mbuf: - copy the all relevant fields (addr, len, offload, ...) as before - get the pointer to the mbuf that embeds the data buffer (direct mbuf), and increase the reference

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

2015-03-26 Thread Olivier Matz
Add a new private_size field in mbuf structure that should be initialized at mbuf pool creation. This field contains the size of the application private data in mbufs. Introduce new static inline functions rte_mbuf_from_indirect() and rte_mbuf_to_baddr() to replace the existing macros, which take

[dpdk-dev] [PATCH v2 0/5] mbuf: enhancements of mbuf clones

2015-03-26 Thread Olivier Matz
This series fixes the support of indirect mbufs when the application reserves a private area in mbufs. This is done adding a new field in each mbuf storing the size of this private area. Another option would have been to store that in the mbuf pool private info, but as we have enough room in mbuf,

[dpdk-dev] [PATCH] examples/vhost: use library routines instead of local copies

2015-03-26 Thread Zoltan Kiss
On 26/03/15 01:20, Ananyev, Konstantin wrote: > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss >> Sent: Wednesday, March 25, 2015 6:43 PM >> To: dev at dpdk.org >> Cc: Zoltan Kiss >> Subject: [dpdk-dev] [PATCH] examples/vhost: use library ro

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

2015-03-26 Thread Olivier MATZ
Hi Bruce, On 03/26/2015 02:35 PM, Bruce Richardson wrote: > On Wed, Mar 25, 2015 at 06:00:34PM +0100, Olivier Matz wrote: >> Add a new private_size field in mbuf structure that should >> be initialized at mbuf pool creation. This field contains the >> size of the application private data in mbufs.

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Linhaifeng
On 2015/3/26 15:58, Qiu, Michael wrote: > On 3/26/2015 3:52 PM, Xie, Huawei wrote: >> On 3/26/2015 3:05 PM, Qiu, Michael wrote: >>> Function gpa_to_vva() could return zero, while this will lead >>> a Segmentation fault. >>> >>> This patch is to fix this issue. >>> >>> Signed-off-by: Michael Qiu

[dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed

2015-03-26 Thread Wu, Jingjing
Hi, It's a fix. Because we don't support flex filter in NIC 82576 in current e1000 pmd, So add a check here. Only i350 and 82580 support it. So The MAC_TYPE_FILTER_SUP_EXT is used to check whether the MAC type is i350 or 82580. > -Original Message- > From: Thomas Monjalon [mailto:thomas

[dpdk-dev] [PATCH] vhost: Fix `struct file' leakage in `eventfd_link'

2015-03-26 Thread Xie, Huawei
On 3/23/2015 8:54 PM, Pavel Boldin wrote: > Due to increased `struct file's reference counter subsequent call > to `filp_close' does not free the `struct file'. Prepend `fput' call > to decrease the reference counter. > > Signed-off-by: Pavel Boldin > --- > lib/librte_vhost/eventfd_link/eventfd_l

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Michael Qiu
Function gpa_to_vva() could return zero, while this will lead a Segmentation fault. This patch is to fix this issue. Signed-off-by: Michael Qiu --- lib/librte_vhost/vhost_rxtx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/librte_vhost/vhost_rxtx.c b/lib/librte_vhost/vhost_rxtx.c

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

2015-03-26 Thread Bruce Richardson
On Wed, Mar 25, 2015 at 06:00:34PM +0100, Olivier Matz wrote: > Add a new private_size field in mbuf structure that should > be initialized at mbuf pool creation. This field contains the > size of the application private data in mbufs. > > Introduce new static inline functions rte_mbuf_from_baddr(

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

2015-03-26 Thread Tetsuya Mukawa
On 2015/03/25 14:07, Stephen Hemminger wrote: > On Wed, 25 Mar 2015 12:17:32 +0900 > Tetsuya Mukawa wrote: > >> On 2015/03/25 3:33, Stephen Hemminger wrote: >>> On Tue, 24 Mar 2015 13:18:33 +0900 >>> Tetsuya Mukawa wrote: >>> When pci_uio_unmap_resource() is called, a file descriptor that is

[dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed

2015-03-26 Thread Jingjing Wu
This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in flex filter handling function. It will remove NIC 82576 from flex filter support. Signed-off-by: Jingjing Wu --- lib/librte_pmd_e1000/igb_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_p

[dpdk-dev] Kernel deadlock due to rte_kni

2015-03-26 Thread Dey, Souvik
Thanks got your point then we should be changing this in DPDK also as in 1.8 we are using netif_rx in rte_kni.c. Souvik -Original Message- From: Neil Horman [mailto:nhor...@tuxdriver.com] Sent: Thursday, March 26, 2015 5:51 PM To: Dey, Souvik Cc: dev at dpdk.org Subject: Re: [dpdk-dev]

[dpdk-dev] promiscuous mode

2015-03-26 Thread Olivier MATZ
On 03/26/2015 05:00 AM, Shankari Vaidyalingam wrote: > Hi, > > > Would like to know whether enabling of promiscouous mode in the command > line is removed in the DPDK version 1.7.1. > I tried enabling the option by giving -P but it was giving me "Invalid > argument" error. Which program? Have you

[dpdk-dev] Interface name after bound to IGB

2015-03-26 Thread Olivier MATZ
Hi, On 03/26/2015 04:58 AM, Shankari Vaidyalingam wrote: > Hi Olivier, > > Thanks for the response. > I executed the L2fwd application by injecting packets from an external > source to the DPDK bound interface. > I was not able to see the stats getting incremented. I'm doing this > testing on a VM

[dpdk-dev] [PATCH v2] librte_pmd_bond: remove memory alloc for rte_pci_driver

2015-03-26 Thread Declan Doherty
On 23/03/15 21:53, Jia Yu wrote: > eth_driver already contains rte_pci_driver data structure. > Allocating rte_pci_driver without referencing it after bond > creation causes memory leakage. > > Added signed off information. > > Signed-off-by: Jia Yu > --- > lib/librte_pmd_bond/rte_eth_bond_api.c

[dpdk-dev] [PATCH] librte_pmd_bond: remove memory alloc for rte_pci_driver

2015-03-26 Thread Declan Doherty
On 23/03/15 11:31, Thomas Monjalon wrote: > Declan, > Any comment? > > 2015-03-12 14:38, Jia Yu: >> eth_driver already contains rte_pci_driver data structure. >> Allocating rte_pci_driver without referencing it after bond >> creation causes memory leakage. > > Jia, Signed-off is missing. > Hey Tho

[dpdk-dev] [PATCH v2 5/6] eal: Use map_idx in pci_uio_map_resource() of bsdapp to work same as linuxapp

2015-03-26 Thread Tetsuya Mukawa
On 2015/03/26 0:27, Iremonger, Bernard wrote: > >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Tuesday, March 24, 2015 4:19 AM >> To: dev at dpdk.org >> Cc: Iremonger, Bernard; Richardson, Bruce; david.marchand at 6wind.com; >> Tetsuya Mukawa >> Subjec

[dpdk-dev] [PATCH v2 3/6] eal: Fix memory leaks and needless increment of pci_map_addr

2015-03-26 Thread Tetsuya Mukawa
On 2015/03/26 0:00, Iremonger, Bernard wrote: > >> -Original Message- >> From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] >> Sent: Tuesday, March 24, 2015 4:19 AM >> To: dev at dpdk.org >> Cc: Iremonger, Bernard; Richardson, Bruce; david.marchand at 6wind.com; >> Tetsuya Mukawa >> Subjec

[dpdk-dev] Kernel deadlock due to rte_kni

2015-03-26 Thread Dey, Souvik
Do you see any benefit of calling netif_rx_ni() and not directly netif_rx() ? -Original Message- From: Neil Horman [mailto:nhor...@tuxdriver.com] Sent: Thursday, March 26, 2015 4:16 PM To: Dey, Souvik Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Kernel deadlock due to rte_kni On Wed, Mar

[dpdk-dev] [PATCH v2 5/6] eal: Use map_idx in pci_uio_map_resource() of bsdapp to work same as linuxapp

2015-03-26 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 26, 2015 2:51 AM > To: Iremonger, Bernard; dev at dpdk.org > Cc: Richardson, Bruce; david.marchand at 6wind.com > Subject: Re: [PATCH v2 5/6] eal: Use map_idx in pci_uio_map_resource() of >

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

2015-03-26 Thread Iremonger, Bernard
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Thursday, March 26, 2015 4:19 AM > To: Stephen Hemminger > Cc: Iremonger, Bernard; david.marchand at 6wind.com; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 2/6] eal: Close file descriptor of uio > c

[dpdk-dev] [PATCH 5/5] test/mbuf: verify that cloning a clone works properly

2015-03-26 Thread Olivier MATZ
On 03/25/2015 06:00 PM, Olivier Matz wrote: > Signed-off-by: Olivier Matz > --- > app/test/test_mbuf.c | 26 ++ > 1 file changed, 26 insertions(+) > > [...] > > @@ -394,6 +418,8 @@ fail: > rte_pktmbuf_free(m); > if (clone) > rte_pktmbuf_

[dpdk-dev] ovs-dpdk: placing the metadata

2015-03-26 Thread Olivier MATZ
Hi Zoltan, On 03/25/2015 07:57 PM, Zoltan Kiss wrote: > I have some comments for the first patch: > >> diff --git a/examples/vhost/main.c b/examples/vhost/main.c >> index c3fcb80..050f3ac 100644 >> --- a/examples/vhost/main.c >> +++ b/examples/vhost/main.c > I've sent in a separate patch for this

[dpdk-dev] [PULL REQUEST] i40e: removel of switch flag of ALLOW_LB from VF VSI, and bug fix for FD

2015-03-26 Thread Helin Zhang
The following changes since commit 91a8743eb9bcbf83011bb8b6073cfc0ac11a8c85: eal: remove argument need of --create_uio_dev option (2015-03-23 17:34:23 +0100) are available in the git repository at: helin at dpdk.org:dpdk-i40e-next.git master for you to fetch changes up to aa2e753901c820450

[dpdk-dev] promiscuous mode

2015-03-26 Thread Shankari Vaidyalingam
Hi, Would like to know whether enabling of promiscouous mode in the command line is removed in the DPDK version 1.7.1. I tried enabling the option by giving -P but it was giving me "Invalid argument" error. Regards Shankari.V

[dpdk-dev] Interface name after bound to IGB

2015-03-26 Thread Shankari Vaidyalingam
Hi Olivier, Thanks for the response. I executed the L2fwd application by injecting packets from an external source to the DPDK bound interface. I was not able to see the stats getting incremented. I'm doing this testing on a VM inside Oracle VirtualBox. I've added 2 Bridged Adapters with the adapt

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

2015-03-26 Thread Gonzalez Monroy, Sergio
On 18/03/2015 12:59, Thomas Monjalon wrote: > Hi Sergio, > > Thank you for explaining the situation. > > 2015-03-18 12:11, Gonzalez Monroy, Sergio: >> Given that the patch to remove combined libraries is not welcome, I'll >> try to explain the current situation so we can agree on the way forward. >

[dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed

2015-03-26 Thread Thomas Monjalon
2015-03-26 12:53, Jingjing Wu: > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EXT in > flex filter handling function. It will remove NIC 82576 from flex filter > support. Please, could you explain the goal of this change? Is it a fix? an enhancement? Which behaviour is changed?

[dpdk-dev] Kernel deadlock due to rte_kni

2015-03-26 Thread Neil Horman
On Thu, Mar 26, 2015 at 11:01:14AM +, Dey, Souvik wrote: > Do you see any benefit of calling netif_rx_ni() and not directly netif_rx() ? > Yes, I see using the ni variant as not being a bug. kni_net_rx is run from process context (it runs as a thread created by kthread_create). netif_rx assu

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Qiu, Michael
On 3/26/2015 3:52 PM, Xie, Huawei wrote: > On 3/26/2015 3:05 PM, Qiu, Michael wrote: >> Function gpa_to_vva() could return zero, while this will lead >> a Segmentation fault. >> >> This patch is to fix this issue. >> >> Signed-off-by: Michael Qiu >> --- >> lib/librte_vhost/vhost_rxtx.c | 3 +++ >>

[dpdk-dev] [PATCH] vhost: Fix `struct file' leakage in `eventfd_link'

2015-03-26 Thread Xie, Huawei
On 3/23/2015 8:54 PM, Pavel Boldin wrote: > Due to increased `struct file's reference counter subsequent call > to `filp_close' does not free the `struct file'. Prepend `fput' call > to decrease the reference counter. > > Signed-off-by: Pavel Boldin > --- > lib/librte_vhost/eventfd_link/eventfd_l

[dpdk-dev] [PATCH] vhost: Fix `struct file' leakage in `eventfd_link'

2015-03-26 Thread Xie, Huawei
On 3/25/2015 4:08 AM, Pavel Boldin wrote: On Tue, Mar 24, 2015 at 6:20 PM, Xie, Huawei mailto:huawei.xie at intel.com>> wrote: On 3/24/2015 7:10 PM, Pavel Boldin wrote: On Tue, Mar 24, 2015 at 8:28 AM, Xie, Huawei mailto:huawei.xie at intel.com>

[dpdk-dev] [PATCH] vhost: Fix Segmentation fault of NULL address

2015-03-26 Thread Xie, Huawei
On 3/26/2015 3:05 PM, Qiu, Michael wrote: > Function gpa_to_vva() could return zero, while this will lead > a Segmentation fault. > > This patch is to fix this issue. > > Signed-off-by: Michael Qiu > --- > lib/librte_vhost/vhost_rxtx.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/l

[dpdk-dev] DPDK testpmd, Virtual Disk IO limitation

2015-03-26 Thread Cheng Kevin
Hi Mr.Bruce Richardson I expect the testpmd is able to store the payload of the coming packets and that's all. However, as you can see, my program hits the bottlenecks. The performance is unable to reach 800mbps anymore. My end-goal is simple, finding a way to store the payload wi

[dpdk-dev] Kernel deadlock due to rte_kni

2015-03-26 Thread Neil Horman
On Wed, Mar 25, 2015 at 07:39:49PM +, Dey, Souvik wrote: > Hi All, > There looks like an issue will rte_kni.ko which gets kernel > into deadlock. We are trying to run rte_kni.ko with multiple thread support > which are pinned to different non-isolated cores. When we test with

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

2015-03-26 Thread Neil Horman
On Thu, Mar 26, 2015 at 08:52:29AM +, Gonzalez Monroy, Sergio wrote: > On 18/03/2015 12:59, Thomas Monjalon wrote: > >Hi Sergio, > > > >Thank you for explaining the situation. > > > >2015-03-18 12:11, Gonzalez Monroy, Sergio: > >>Given that the patch to remove combined libraries is not welcome,

[dpdk-dev] [PATCH] i40e: zero local variable

2015-03-26 Thread Jingjing Wu
This patch sets the local variable ctxt to zero to avoid uncertain data causes error when creating a vsi for flow director. Signed-off-by: Jingjing Wu --- lib/librte_pmd_i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/

[dpdk-dev] [PATCH] e1000: modify mac type checking before flex filter is programmed

2015-03-26 Thread Liu, Yong
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 26, 2015 12:53 PM > To: dev at dpdk.org > Cc: Wu, Jingjing; Liu, Yong > Subject: [PATCH] e1000: modify mac type checking before flex filter is > programmed > > This patch changes MAC_TYPE_FILTER_SUP to MAC_TYPE_FILTER_SUP_EX

[dpdk-dev] [PATCH] examples/vhost: use library routines instead of local copies

2015-03-26 Thread Ouyang, Changchun
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: Thursday, March 26, 2015 9:21 AM > To: Zoltan Kiss; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] examples/vhost: use library routines > instead of local copies > > > > > --

[dpdk-dev] [PATCH] virtio: Fix crash issue for secondary process

2015-03-26 Thread Xie, Huawei
On 3/23/2015 10:33 PM, Xie, Huawei wrote: > On 3/21/2015 5:59 AM, Thomas Monjalon wrote: > > 2015-03-19 09:45, Ouyang Changchun: > > > It definitely needs Rx function even in the case of secondary process, so put > the assignment a bit earlier to make sure of it. > > Signed-off-by: Changchun Ouyang

[dpdk-dev] [PATCH] examples/vhost: use library routines instead of local copies

2015-03-26 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss > Sent: Wednesday, March 25, 2015 6:43 PM > To: dev at dpdk.org > Cc: Zoltan Kiss > Subject: [dpdk-dev] [PATCH] examples/vhost: use library routines instead of > local copies > > This macro and fu

[dpdk-dev] [PATCH] i40e: zero local variable

2015-03-26 Thread Zhang, Helin
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, March 26, 2015 5:38 AM > To: dev at dpdk.org > Cc: Wu, Jingjing; Zhang, Helin; Cao, Min > Subject: [PATCH] i40e: zero local variable > > This patch sets the local variable ctxt to zero to avoid uncertain data causes > error when

[dpdk-dev] DPDK testpmd, Virtual Disk IO limitation

2015-03-26 Thread Cheng Kevin
Mr. Bruce Richardson Yes, you are right. This really bother me. Is there any way to get rid of system call? Maybe some DPDK threading API? Maybe i should use a extra nic card for posting the data out through internet, instead of writing on the disk - ex. fwrite. Or you have some better advises??