[dpdk-dev] Signature filter for virtual function

2014-08-19 Thread Vladimir Medvedkin
Hi all, According to 82599 datasheet it is possible to route packets to different queues within VF. So in not VT mode rx_queue defines absolute queue number, and in VT rx_queue defines relative queue number within VF. I can make patch later when I will have free time. Regards, Vladimir 2014-08-

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

2014-08-19 Thread Declan Doherty
Fix for "show port info" command which displays the incorrect "connected to socket" when port is a link bonding port. 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 del

[dpdk-dev] [PATCH 5/6] test app: adding support for generating variable sized packets

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

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

2014-08-19 Thread Declan Doherty
Fixing a number of corner cases that if transmission failed on slave devices then this could lead to leaked mbufs Signed-off-by: Declan Doherty --- app/test/test_link_bonding.c |4 +- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 46 +--- 2 files changed

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

2014-08-19 Thread Declan Doherty
Renaming struct bond_dev_pritvate *dev_private to internals to match convention used in other pmds Signed-off-by: Declan Doherty --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b

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

2014-08-19 Thread Declan Doherty
Splitting rx burst function into seperate functions to avoid the need for a switch statement and also to match the structure of the tx burst functions. Signed-off-by: Declan Doherty --- lib/librte_pmd_bond/rte_eth_bond_pmd.c | 62 ++-- 1 files changed, 35 insertion

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

2014-08-19 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 | 216 +++- lib/librte_pmd_bond/rte_eth_bond_api.c |4 + lib/l

[dpdk-dev] [PATCH 0/6] link bonding

2014-08-19 Thread Declan Doherty
This patch set adds support for link status interrupt in the link bonding pmd. It also contains some patches to tidy up the code structure and to of the link bonding code and to fix bugs relating to transmission failures in the under lying slave pmd which could lead to leaked mbufs. Declan Doh

[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

2014-08-19 Thread Tahhan, Maryam
Thanks I was looking at the wrong version of the patch :( -Original Message- From: Xie, Huawei Sent: Tuesday, August 19, 2014 10:07 AM To: Tahhan, Maryam; Cao, Waterman; dev at dpdk.org Cc: Long, Thomas Subject: RE: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

[dpdk-dev] [PATCH] there are some memory leak about Dir operator

2014-08-19 Thread zhang.zhang...@huawei.com
From: zhangkun Signed-off-by: zhangkun --- lib/librte_eal/linuxapp/eal/eal_hugepage_info.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c b/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c index b72a205..d784b7c 100

[dpdk-dev] [PATCH] there are some memory leak about Dir operator

2014-08-19 Thread zhang.zhang...@huawei.com
From: zhangkun Signed-off-by: zhangkun --- lib/librte_eal/linuxapp/eal/eal_hugepage_info.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c b/lib/librte_eal/linuxapp/eal/eal_hugepage_info.c index b72a205..d784b7c 100

[dpdk-dev] How to use dpdk ring and mem lib in kernel level?

2014-08-19 Thread GongJinrong
Thanks, Bruce, it's a good sample. -Original Message- From: Richardson, Bruce [mailto:bruce.richard...@intel.com] Sent: Monday, August 18, 2014 8:10 PM To: GongJinrong; dev at dpdk.org Subject: RE: [dpdk-dev] How to use dpdk ring and mem lib in kernel level? > -Original Message-

[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

2014-08-19 Thread Xie, Huawei
Hi Maryam: This patch removes eventfd kernel module from example. Qemu user space vhost support is within progress. This is our existing vhost implementation. With the new implementation, there should be no or minor change to the library API. BR. -huawei > -Original Message- > From: Tah

[dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

2014-08-19 Thread Tahhan, Maryam
Hi I see the eventfd module is still included... is this to support existing vhost implementations? Is Qemu's vhost-user supported? Thanks Maryam -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Cao, Waterman Sent: Thursday, August 7, 2014 3:29 PM To: Xie, Huawei;

[dpdk-dev] Signature filter for virtual function

2014-08-19 Thread Ilan Borenshtein
Yes, 82599. I'll be updated. Thank you for your answer. -Original Message- From: Wu, Jingjing [mailto:jingjing...@intel.com] Sent: Tuesday, August 19, 2014 10:41 AM To: Ilan Borenshtein; dev at dpdk.org Subject: RE: Signature filter for virtual function Are you talking about 82599? I

[dpdk-dev] Signature filter for virtual function

2014-08-19 Thread Wu, Jingjing
Are you talking about 82599? I have no plan to support this currently. But I don't know there may be volunteers who is planning for it. I guess it also be great if you are eager to contribute to it. > -Original Message- > From: Ilan Borenshtein [mailto:ilan at asocstech.com] > Sent: Mo

[dpdk-dev] 答复: [PATCH] there are some memory leak about Dir operator

2014-08-19 Thread Zhangkun (K)
Hi, Helin This is no problem with the OS dealing with resource recovery during process exiting. However,I consider the following principles. 1.The function internally allocated memory is returned before releasing memory resources to prevent the caller did not release the cause memory leaks;

[dpdk-dev] [PATCH] there are some memory leak about Dir operator

2014-08-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > zhang.zhangkun at huawei.com > Sent: Tuesday, August 19, 2014 11:40 AM > To: dev at dpdk.org > Cc: zhangkun > Subject: [dpdk-dev] [PATCH] there are some memory leak about Dir operator > > From: zhangkun >

[dpdk-dev] [PATCH] kni: fix build with Linux 3.17

2014-08-19 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Aaro Koskinen > Sent: Monday, August 18, 2014 8:45 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] kni: fix build with Linux 3.17 > > In the series of ever-lasting ugly #ifdefs trying make out-of-tree d