[dpdk-dev] [PATCH v3] virtio: Fix vring entry number issue

2014-10-14 Thread Ouyang Changchun
-- V1 change: Fix one issue in virtio TX: it needs one more vring descriptor to hold the virtio header when transmitting packets, it is used later to determine whether to free more entries from used vring. It fixes failing to transmit any packet with 1 segment in the circumstance of onl

[dpdk-dev] [PATCH] Fix librte_pmd_ring: connect primary and secondary ring with correct port.

2014-10-14 Thread Masaru Oki
thank you for reply. > From my reading, this is really two patches: > 1. add in a port id to packets received from an eth_ring port > 2. change the rte_eth_ring_create function to create two sets of rings. > so perhaps this could be split up into two proposed patches. yes. > A ring or a ring-eth

[dpdk-dev] kernel panic when stop my test demo

2014-10-14 Thread Lilijun
Hi Stephen and all, I have a same problem as this older email describes on Aug 14, 2013. Any help will be appreciated. The details is shown as follows. The key step implementation of my demo is: 1. Firstly, call rte_eal_init() to do some initialization. 2. Switch the driver of my Intel 82599 NIC

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Thomas Monjalon
> >I thought our .gitignore could do with a few entries added alright, I > >just never expected this one to be top of the list! While I don't think > >it does any harm, I'm just curious why you think it needs to be added? > > > >/Bruce > > I import all my DPDK dependencies as git submodules. When

[dpdk-dev] [PATCH v4 00/10] VM Power Management

2014-10-14 Thread Thomas Monjalon
2014-10-14 12:37, Carew, Alan: > > > The following patches add two DPDK sample applications and an alternate > > > implementation of librte_power for use in virtualized environments. > > > The idea is to provide librte_power functionality from within a VM to > > > address > > > the lack of MSRs to

[dpdk-dev] [PATCH v4] virtio: Fix vring entry number issue

2014-10-14 Thread Xie, Huawei
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Tuesday, October 14, 2014 9:04 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v4] virtio: Fix vring entry number issue > > Fix one issue in virtio TX: it needs one more vring

[dpdk-dev] [PATCH 5/6] i40e: macaddr add/del enhancement

2014-10-14 Thread Thomas Monjalon
2014-09-23 21:14, Chen Jing D: > + PMD_DRV_LOG(ERR, "VMDQ not %s, can't set mac to pool %u\n", > + pf->flags | I40E_FLAG_VMDQ ? "configured" : "enabled", > + pool); [...] > - if (ret != I40E_SUCCESS) { > - PMD_DRV_LOG(ERR, "Failed

[dpdk-dev] [PATCH 1/6] ether: enhancement for VMDQ support

2014-10-14 Thread Thomas Monjalon
2014-09-23 21:14, Chen Jing D: > The change includes several parts: > 1. Clear pool bitmap when trying to remove specific MAC. > 2. Define RSS, DCB and VMDQ flags to combine rx_mq_mode. > 3. Use 'struct' to replace 'union', which to expand the rx_adv_conf >arguments to better support RSS, DCB a

[dpdk-dev] [PATCH v5 0/8] link bonding

2014-10-14 Thread De Lara Guarch, Pablo
> -Original Message- > From: Doherty, Declan > Sent: Tuesday, October 14, 2014 2:00 PM > To: dev at dpdk.org > Cc: Jiajia, SunX; De Lara Guarch, Pablo; thomas.monjalon at 6wind.com; > Doherty, Declan > Subject: [PATCH v5 0/8] link bonding > > v5: > - Fix uninitialized variable in broadca

[dpdk-dev] [PATCH v3] virtio: Fix vring entry number issue

2014-10-14 Thread Ouyang, Changchun
Hi Olivier, Any other comments for this v3 patch? Thanks and regards, Changchun > -Original Message- > From: Ouyang, Changchun > Sent: Tuesday, October 14, 2014 11:13 PM > To: dev at dpdk.org > Cc: Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v3] virtio: Fix vring entry number issu

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Ananyev, Konstantin
> -Original Message- > From: Karmarkar Suyash [mailto:skarmarkar at sonusnet.com] > Sent: Tuesday, October 14, 2014 4:07 PM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Dey, Souvik; Patil, PraveenKumar > Subject: RE: Bug in IPACL library of DPDK-1.6.0 > > Hi Konstantin, > > We did e

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Karmarkar Suyash
Hi Konstantin, We did even tried with DPDK-1.7.0 version still we faced the same issue. Regards Suyash Karmarkar -Original Message- From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com] Sent: Tuesday, October 14, 2014 8:15 PM To: Karmarkar Suyash; dev at dpdk.org Cc: Dey, Souv

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Ananyev, Konstantin
> From: Karmarkar Suyash [mailto:skarmarkar at sonusnet.com] > Sent: Tuesday, October 14, 2014 1:36 PM > To: Ananyev, Konstantin; dev at dpdk.org > Cc: Dey, Souvik; Patil, PraveenKumar > Subject: RE: Bug in IPACL library of DPDK-1.6.0 > > There are two user defined ACL rules and they are added wit

[dpdk-dev] [PATCH v5 8/8] bond: unit test test macro refactor

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- app/test/test_link_bonding.c | 2574 +- 1 file changed, 1036 insertions(+), 1538 deletions(-) diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c index c32b685..c4fcaf7 100644 --- a/app/test/test_link

[dpdk-dev] [PATCH v5 7/8] bond: lsc polling support

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- app/test-pmd/cmdline.c | 63 + app/test/test.h| 7 +- app/test/test_link_bonding.c | 258 --- app/test/virtual_pmd.c | 17 +- app/test/virtual_pmd.h

[dpdk-dev] [PATCH v5 6/8] testpmd: adding parameter to reconfig method to set socket_id when adding new port to portlist

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- app/test-pmd/cmdline.c | 2 +- app/test-pmd/testpmd.c | 3 ++- app/test-pmd/testpmd.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 0b972f9..e9cf53e 100644 --- a/app/test-pmd/cmdline.

[dpdk-dev] [PATCH v5 5/8] test app: adding support for generating variable sized packet

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- app/test/packet_burst_generator.c | 25 - app/test/packet_burst_generator.h | 6 +- app/test/test_link_bonding.c | 14 +- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/app/test/packet_burst_generat

[dpdk-dev] [PATCH v5 4/8] bond: free mbufs if transmission fails in bonding tx_burst functions

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- app/test/test_link_bonding.c | 393 - app/test/virtual_pmd.c | 79 +-- app/test/virtual_pmd.h | 7 + lib/librte_pmd_bond/rte_eth_bond_pmd.c | 83 +-- 4 files changed, 524 inser

[dpdk-dev] [PATCH v5 3/8] bond: fix naming inconsistency in tx_burst_round_robin

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c index 348e28f..66f1650 100644 --- a/lib/librte_pmd_bond/rte_eth

[dpdk-dev] [PATCH v5 2/8] bond: removing switch statement from rx burst method

2014-10-14 Thread Declan Doherty
Signed-off-by: Declan Doherty --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 62 +++--- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c index aca2dcf..348e28f 100644 --- a/l

[dpdk-dev] [PATCH v5 1/8] bond: link status interrupt support

2014-10-14 Thread Declan Doherty
Adding support for lsc interrupt from bonded device to link bonding library with supporting unit tests in the test application. Signed-off-by: Declan Doherty --- app/test/test_link_bonding.c | 213 +++-- lib/librte_pmd_bond/rte_eth_bond_api.c | 4 + lib/li

[dpdk-dev] [PATCH v5 0/8] link bonding

2014-10-14 Thread Declan Doherty
v5: - Fix uninitialized variable in broadcast_tx_burst function which caused a build error in 32-bit build - Address unit test issue which is exposed by new test in mode 4/5 patch sets v4: - Rebased to account for changes in master. - Fix for rte_eth_bond_slaves_get() introduced in v3 patch set

[dpdk-dev] [PATCH] librte_eal: FreeBSD contigmem prevent possible buffer overrun during module unload.

2014-10-14 Thread Alan Carew
The maximum mount contiguous memory regions for FreeBSD is limited by RTE_CONTIGMEM_MAX_NUM_BUFS, a pointer to each region is stored in static void * contigmem_buffers[RTE_CONTIGMEM_MAX_NUM_BUFS] A user can specify a greater amount via hw.contigmem.num_buffers, while the allocation logic will prev

[dpdk-dev] [PATCH v4 00/10] VM Power Management

2014-10-14 Thread Carew, Alan
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, October 13, 2014 9:26 PM > To: Carew, Alan > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 00/10] VM Power Management > > Hi Alan, > > 2014-10-12 20:36, Alan Carew: > >

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Karmarkar Suyash
There are two user defined ACL rules and they are added with just different priority - 1. And all other fields are wild card: > SOURCE IP and DEST IP = wild card (*) > LIF_GRP_INFO_FIELD_IPV6 = wild card (*) > PORTS = wild card (*) 2. Only next header protocol is spec

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-14 Thread Gonzalez Monroy, Sergio
Hi Matthew, Could you provide steps to reproduce your issue with virtio non-UIO PMD (virtio-net-pmd) using static combined DPDK lib? Regarding one of your comments: > It doesn't seem to have a link dependency against any DPDK library that might > contain such a symbol, either: > > $ ldd librte

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Stephen Hemminger
On Tue, 14 Oct 2014 10:44:16 +0100 Bruce Richardson wrote: > On Tue, Oct 14, 2014 at 07:53:56AM +, Matthew Hall wrote: > > Signed-off-by: Matthew Hall > > --- > > .gitignore | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/.gitignore b/.gitignore > > index e69de29..08d831a 10

[dpdk-dev] [PATCH 2/3] pmd: add new header containing TCP offload specific definitions

2014-10-14 Thread Thomas Monjalon
Hi Miroslaw, 2014-10-13 10:38, miroslaw.walukiewicz at intel.com: > From: Miroslaw Walukiewicz > > The function for computing initial TCP header checksum. > The file is common for both i40e and ixgbe PMD drivers > > Signed-off-by: Mirek Walukiewicz > --- > lib/librte_net/Makefile |3

[dpdk-dev] [PATCH] Fix librte_pmd_ring: connect primary and secondary ring with correct port.

2014-10-14 Thread Bruce Richardson
On Tue, Oct 07, 2014 at 11:11:45PM +0900, Masaru OKI wrote: > librte_pmd_ring provides created port and attached port. > Packet is received from attached port if packet is sent to created port. > So, packet is received from created port if packet is sent to attached port. > It must be need two ring

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Ananyev, Konstantin
Hi, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Karmarkar Suyash > Sent: Tuesday, October 14, 2014 10:55 AM > To: dev at dpdk.org > Cc: Dey, Souvik; Patil, PraveenKumar > Subject: [dpdk-dev] Bug in IPACL library of DPDK-1.6.0 > > Hello All, > > If there

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Bruce Richardson
On Tue, Oct 14, 2014 at 07:53:56AM +, Matthew Hall wrote: > Signed-off-by: Matthew Hall > --- > .gitignore | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/.gitignore b/.gitignore > index e69de29..08d831a 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -0,0 +1 @@ > +librte_pmd_virt

[dpdk-dev] Bug in IPACL library of DPDK-1.6.0

2014-10-14 Thread Karmarkar Suyash
Hello All, If there are two identical IPv6 rules with source and destination IP addresses as wild card but with different priority, then during lookup always the rule that is added first in TRIE is returned even though the second rule that has highest priority. Regards Suyash Karmarkar

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Matthew Hall
In the virtio-net-pmd it is done in the same directory. Hence me submitting this to try to make it easier for others to use the product. Also the default DPDK doesn't ignore the build target directories... but I already had to fork that one to fix clang compile failures in the examples files.

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Matthew Hall
Sure, I can put the classic C gitignore entries in there if you guys prefer. I was just trying to make the minimum change to get it to work right for my environment. -- Sent from my mobile device. On October 14, 2014 2:52:20 AM PDT, Stephen Hemminger wrote: >On Tue, 14 Oct 2014 10:44:16 +0100

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Matthew Hall
I import all my DPDK dependencies as git submodules. When the submodules contain unignored files, they get marked as dirty by git, and it makes like difficult when it comes to updating my submodule pointers. Matthew. -- Sent from my mobile device. On October 14, 2014 2:44:16 AM PDT, Bruce Rich

[dpdk-dev] [PATCH 0/6] i40e VMDQ support

2014-10-14 Thread Chen, Jing D
Hi Thomas, Any comments with below patch? -Original Message- From: Chen, Jing D Sent: Tuesday, September 23, 2014 9:14 PM To: dev at dpdk.org Cc: Chen, Jing D Subject: [PATCH 0/6] i40e VMDQ support From: "Chen Jing D(Mark)" Define extra VMDQ arguments to expand VMDQ configuration. Thi

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-14 Thread Gonzalez Monroy, Sergio
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matthew Hall > Sent: Tuesday, October 14, 2014 7:34 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud > Images > > > > On Mon, Oct 13, 2014 at 11:03:53PM -070

[dpdk-dev] [PATCH] virtio-net-pmd: .gitignore: ignore librte_pmd_virtio.so

2014-10-14 Thread Matthew Hall
Signed-off-by: Matthew Hall --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e69de29..08d831a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +librte_pmd_virtio.so -- 1.9.1

[dpdk-dev] [PATCH 1/3] pmd: add new flag to indicate TX TSO operation on the packet

2014-10-14 Thread Liu, Jijiang
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > miroslaw.walukiewicz at intel.com > Sent: Monday, October 13, 2014 10:39 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/3] pmd: add new flag to indicate TX TSO operation > on the packet > > From: Mi

[dpdk-dev] [PATCH v4 0/7] Support configuring hash functions

2014-10-14 Thread Wu, Jingjing
Acked-by: Jingjing Wu > -Original Message- > From: Zhang, Helin > Sent: Monday, October 13, 2014 2:13 PM > To: dev at dpdk.org > Cc: Zhan, Zhaochen; Cao, Waterman; Zhang, Helin > Subject: [PATCH v4 0/7] Support configuring hash functions > > These patches mainly support configuring hash

[dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images

2014-10-14 Thread Matthew Hall
Yes, I suspected some of your patches were related to this besides just the COMBINE_LIBS options. However none of these will fix the issue that the virtio non-UIO PMD doesn't work right with a statically linked DPDK, so, despite all your fixes I've still got problems getting it all to work right

[dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx cycles/packet

2014-10-14 Thread Liang, Cunming
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, October 13, 2014 8:56 PM > To: Liang, Cunming; Neil Horman > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/4] app/test: unit test for rx and tx > cycles/packet > > > > > -Original Message- > > From:

[dpdk-dev] [PATCH v4 4/7] i40e: add hash filter control implementation

2014-10-14 Thread Zhang, Helin
Hi Andrey Yes, you are right. Actually I tried to rename those macros to more readable. For now, I'd like to put those renaming into another patches after all current feature patches merged. Thank you very much! Regards, Helin > -Original Message- > From: Chilikin, Andrey > Sent: Monda

[dpdk-dev] Alternatives to RSS on virtio-net devices

2014-10-14 Thread Matthew Hall
Hello, Having worked around the previously reported bizarre linker issues, I can now see this new error: PMD: virtio_dev_start(): RSS cannot be configured for VirtI/O net devices If I want to ensure that the flows are sent consistently to the same core on virtio-net to prevent surprises, what