[dpdk-dev] [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support

2014-12-24 Thread Tetsuya Mukawa
(2014/12/11 6:37), Huawei Xie wrote: > vhost-user support > > > Signed-off-by: Huawei Xie > --- > lib/librte_vhost/Makefile | 5 +- > lib/librte_vhost/vhost-net.h | 4 + > lib/librte_vhost/vhost_cuse/virtio-net-cdev.c | 9 + >

[dpdk-dev] [PATCH] i40e: workaround for XL710 performance

2014-12-24 Thread Helin Zhang
on XL710, performance number is far from the expectation on recent firmware versions, if promiscuous mode is disabled, or promiscuous mode is enabled and port MAC address is equal to the packet destination MAC address. The fix for this issue may not be integrated in the following firmware version.

[dpdk-dev] [PATCH v3 6/6] testpmd: Set Rx VMDq RSS mode

2014-12-24 Thread Ouyang Changchun
Set VMDq RSS mode if it has VF(VF number is more than 1) and has RSS information. Signed-off-by: Changchun Ouyang --- app/test-pmd/testpmd.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 8c69756..6230f8b 100644 ---

[dpdk-dev] [PATCH v3 5/6] ixgbe: Config VF RSS

2014-12-24 Thread Ouyang Changchun
It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. The psrtype will determine how many queues the received packets will distribute to, and the value of psrtype should depends on both facet: max VF rxq number which has been negotiated with PF, and the number of rxq specified

[dpdk-dev] [PATCH v3 3/6] ixgbe: Get VF queue number

2014-12-24 Thread Ouyang Changchun
Get the available Rx and Tx queue number when receiving IXGBE_VF_GET_QUEUES message from VF. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_pf.c | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v3 1/6] ixgbe: Code cleanup

2014-12-24 Thread Ouyang Changchun
Put global register configuring out of loop for queue, where it should be there; Also fix typo and indent. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git

[dpdk-dev] [PATCH v3 0/6] Enable VF RSS for Niantic

2014-12-24 Thread Ouyang Changchun
This patch enables VF RSS for Niantic, which allow each VF having at most 4 queues. The actual queue number per VF depends on the total number of pool, which is determined by the total number of VF at PF initialization stage and the number of queue specified in config: 1) If the number of VF is

[dpdk-dev] [PATCH v3 5/6] ixgbe: Config VF RSS

2014-12-24 Thread Vlad Zolotarov
On 12/24/14 07:23, Ouyang Changchun wrote: > It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. > > The psrtype will determine how many queues the received packets will > distribute to, > and the value of psrtype should depends on both facet: max VF rxq number which > has

[dpdk-dev] [PATCH v3 0/6] Enable VF RSS for Niantic

2014-12-24 Thread Vlad Zolotarov
On 12/24/14 07:22, Ouyang Changchun wrote: > This patch enables VF RSS for Niantic, which allow each VF having at most 4 > queues. > The actual queue number per VF depends on the total number of pool, which is > determined by the total number of VF at PF initialization stage and the > number of

[dpdk-dev] [PATCH v2 6/6] testpmd: Set Rx VMDq RSS mode

2014-12-24 Thread Ouyang Changchun
Set VMDq RSS mode if it has VF(VF number is more than 1) and has RSS information. Signed-off-by: Changchun Ouyang --- app/test-pmd/testpmd.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c index 8c69756..6230f8b 100644 ---

[dpdk-dev] [PATCH v2 5/6] ixgbe: Config VF RSS

2014-12-24 Thread Ouyang Changchun
It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF RSS. The psrtype will determine how many queues the received packets will distribute to, and the value of psrtype should depends on both facets: max VF rxq number which has been negotiated with PF, and the number of rxq

[dpdk-dev] [PATCH v2 4/6] ether: Check VMDq RSS mode

2014-12-24 Thread Ouyang Changchun
Check multiple queues mode for VMDq RSS, handle it correctly instead of returning an error; Also remove the limitation of per pool queue number has max value of 1, because the per pool queue number could be 2 or 4 if it is VMDq RSS mode; The number of rxq specified in config will determine the

[dpdk-dev] [PATCH v2 3/6] ixgbe: Get VF queue number

2014-12-24 Thread Ouyang Changchun
Get the available Rx and Tx queue number when receiving IXGBE_VF_GET_QUEUES message from VF. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_pf.c | 35 ++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH v2 2/6] ixgbe: Negotiate VF API version

2014-12-24 Thread Ouyang Changchun
Negotiate API version with VF when receiving the IXGBE_VF_API_NEGOTIATE message. Signed-off-by: Changchun Ouyang --- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 1 + lib/librte_pmd_ixgbe/ixgbe_pf.c | 25 + 2 files changed, 26 insertions(+) diff --git

[dpdk-dev] [PATCH v2 0/6] Enable VF RSS for Niantic

2014-12-24 Thread Ouyang Changchun
This patch enables VF RSS for Niantic, which allow each VF having at most 4 queues. The actual queue number per VF depends on the total number of pool, which is determined by the total number of VF at PF initialization stage and the number of queue specified in config: 1) If the number of VF is

[dpdk-dev] No probed ethernet devices /DPDP 1.7.1 in Fedora 21

2014-12-24 Thread Neil Horman
On Wed, Dec 24, 2014 at 02:26:21PM +0100, sothy shan wrote: > Hello! > > I am playing with DPDK 1.7.1 in Fedora. > > When I do like this: > > export RTE_SDK=$(pwd)export RTE_TARGET="x86_64-ivshmem-linuxapp-gcc" > make install T="$RTE_TARGET" > > It worked. Means Testpmd is running. > > When I

[dpdk-dev] [PATCH 0/6] Enable VF RSS for Niantic

2014-12-24 Thread Vlad Zolotarov
On 12/24/14 08:37, Ouyang, Changchun wrote: > > Hi, > > I have v3 patch for this to resolve your comments, > > We can discuss on v3 patch if there are further comments. > I'm looking at your v3 patchset right now... ;) > Thanks > > Changchun > > *From:*Vladislav Zolotarov [mailto:vladz at

[dpdk-dev] [PATCH] i40e: workaround for XL710 performance

2014-12-24 Thread Neil Horman
On Wed, Dec 24, 2014 at 03:14:08PM +0800, Helin Zhang wrote: > on XL710, performance number is far from the expectation on recent > firmware versions, if promiscuous mode is disabled, or promiscuous > mode is enabled and port MAC address is equal to the packet > destination MAC address. The fix

[dpdk-dev] [PATCH 0/6] Enable VF RSS for Niantic

2014-12-24 Thread Ouyang, Changchun
Hi, I have v3 patch for this to resolve your comments, We can discuss on v3 patch if there are further comments. Thanks Changchun From: Vladislav Zolotarov [mailto:vl...@cloudius-systems.com] Sent: Sunday, December 21, 2014 4:02 PM To: Ouyang, Changchun Cc: dev at dpdk.org Subject: RE: [PATCH

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-24 Thread Qiu, Michael
Hi Bruce, I haven't seen the third patch of you patch set. Just want to know if only me missed. Thanks, Michael On 12/23/2014 12:48 AM, Bruce Richardson wrote: > This RFC is for a small addition to the ethdev library, to add in support for > callbacks at the RX and TX stages. This allows

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Ouyang, Changchun
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Wednesday, December 24, 2014 11:54 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup > > > > > -Original Message- > > From: Ouyang, Changchun > > Sent:

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Zhang, Helin
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, December 24, 2014 11:50 AM > To: Zhang, Helin > Cc: dev at dpdk.org; Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup > > Hi Helin, > > > -Original Message- > > From: Zhang, Helin >

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Ouyang, Changchun
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Wednesday, December 24, 2014 11:41 AM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup > > Hi Changchun > > > -Original Message- > > From: Ouyang, Changchun > >

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Zhang, Helin
Hi Changchun > -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, December 24, 2014 11:22 AM > To: Zhang, Helin; dev at dpdk.org > Cc: Ouyang, Changchun > Subject: RE: [dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup > > Hi Helin, > > > -Original Message- > > From:

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Ouyang, Changchun
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Wednesday, December 24, 2014 11:08 AM > To: Ouyang, Changchun; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup > > Is header split really supported in ixgbe? I guess not. If not, this code > changes

[dpdk-dev] [PATCH v2 1/6] ixgbe: Code cleanup

2014-12-24 Thread Zhang, Helin
Is header split really supported in ixgbe? I guess not. If not, this code changes are not needed at all. Regards, Helin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Wednesday, December 24, 2014 10:57 AM > To: dev at dpdk.org >

[dpdk-dev] [PATCH RFC 0/3] DPDK ethdev callback support

2014-12-24 Thread Zhang, Helin
For L2 RSS, I think i40e hardware supports it, which will be enabled soon later. Regards, Helin > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Vithal S Mohare > Sent: Tuesday, December 23, 2014 5:38 PM > To: Richardson, Bruce > Cc: dev at dpdk.org >