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

2015-01-04 Thread Liang, Cunming
> -Original Message- > From: Ouyang, Changchun > Sent: Wednesday, December 24, 2014 1:23 PM > To: dev at dpdk.org > Cc: Liang, Cunming; Cao, Waterman; Ouyang, Changchun > Subject: [PATCH v3 5/6] ixgbe: Config VF RSS > > It needs config RSS and IXGBE_MRQC and IXGBE_VFPSRTYPE to enable VF

[dpdk-dev] l3fwd error, port 0 is not present on the board

2015-01-04 Thread Qiu, Michael
On 1/2/2015 11:08 PM, Lyn M wrote: > Neil, your patch works. I am now able to run testpmd, as well as l3fwd > with DPDK 1.8.0 and CONFIG_RTE_BUILD_COMBINE_LIBS=y. Thank you much! > > In my original post, I thought my choice of hex portmask -p 0x3 was causing > this issue -- now I know that was no

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

2015-01-04 Thread Ouyang, Changchun
Hi Steve, > -Original Message- > From: Liang, Cunming > Sent: Sunday, January 4, 2015 10:11 AM > To: Ouyang, Changchun; dev at dpdk.org > Cc: Cao, Waterman > Subject: RE: [PATCH v3 5/6] ixgbe: Config VF RSS > > > > > -Original Message- > > From: Ouyang, Changchun > > Sent: Wedne

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

2015-01-04 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 max number of VF at PF initialization stage and the number of queue specified in config: 1) If the max number of VF is

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

2015-01-04 Thread Ouyang Changchun
Put global register configuring out of loop for queue; also fix typo and indent; 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 a/lib/librte_pm

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

2015-01-04 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 a/lib/librte_pmd_ixgb

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

2015-01-04 Thread Ouyang Changchun
Check mq 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 mq mode for VMDq

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

2015-01-04 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 v4 6/6] testpmd: Set Rx VMDq RSS mode

2015-01-04 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 --- a/app/te

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

2015-01-04 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 a/lib/librte_pmd_ixgbe/ixgbe_pf.

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 09:18, Ouyang Changchun wrote: > Put global register configuring out of loop for queue; also fix typo and > indent; > Also fix typo and indent. > > Signed-off-by: Changchun Ouyang Reviewed-by: Vlad Zolotarov > --- > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 35 ++--

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 09:18, Ouyang Changchun wrote: > Negotiate API version with VF when receiving the IXGBE_VF_API_NEGOTIATE > message. > > Signed-off-by: Changchun Ouyang Reviewed-by: Vlad Zolotarov > --- > lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 1 + > lib/librte_pmd_ixgbe/ixgbe_pf.c | 25 +++

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 10:26, Vlad Zolotarov wrote: > > On 01/04/15 09:18, Ouyang Changchun wrote: >> Negotiate API version with VF when receiving the >> IXGBE_VF_API_NEGOTIATE message. >> >> Signed-off-by: Changchun Ouyang > > Reviewed-by: Vlad Zolotarov One small remark below. > >> --- >> lib/librte

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

2015-01-04 Thread Ouyang, Changchun
Hi Vlad, > -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Sunday, January 4, 2015 4:30 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 2/6] ixgbe: Negotiate VF API version > > > On 01/04/15 10:26, Vlad Zolotarov wr

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 09:18, Ouyang Changchun wrote: > 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(+),

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 10:37, Ouyang, Changchun wrote: > Hi Vlad, > >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Sunday, January 4, 2015 4:30 PM >> To: Ouyang, Changchun; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4 2/6] ixgbe: Negotiate VF API

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 09:18, Ouyang Changchun wrote: > Check mq 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

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 09:18, Ouyang Changchun wrote: > 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

[dpdk-dev] two tso related questions

2015-01-04 Thread Helmut Sim
Hi Alex and Olivier, Alex, I made the test and the segmentation is not at the IP level (i.e. each packet ip total length indicated the mss length), hence the 16 bits total length limitation is not relevant here. I went over the 82599 datasheet and as Olivier mentioned it is a 18 bits field, hence

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

2015-01-04 Thread Ouyang, Changchun
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Sunday, January 4, 2015 4:40 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 2/6] ixgbe: Negotiate VF API version > > > On 01/04/15 10:37, Ouyang, Changchun wrote: >

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

2015-01-04 Thread Ouyang, Changchun
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Sunday, January 4, 2015 4:45 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 4/6] ether: Check VMDq RSS mode > > > On 01/04/15 09:18, Ouyang Changchun wrote: > > Che

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

2015-01-04 Thread Ouyang, Changchun
> -Original Message- > From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] > Sent: Sunday, January 4, 2015 4:50 PM > To: Ouyang, Changchun; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v4 6/6] testpmd: Set Rx VMDq RSS mode > > > On 01/04/15 09:18, Ouyang Changchun wrote: > >

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 10:51, Ouyang, Changchun wrote: >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Sunday, January 4, 2015 4:40 PM >> To: Ouyang, Changchun; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4 2/6] ixgbe: Negotiate VF API version >> >

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 10:58, Ouyang, Changchun wrote: >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Sunday, January 4, 2015 4:45 PM >> To: Ouyang, Changchun; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4 4/6] ether: Check VMDq RSS mode >> >> >>

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

2015-01-04 Thread Vlad Zolotarov
On 01/04/15 11:01, Ouyang, Changchun wrote: >> -Original Message- >> From: Vlad Zolotarov [mailto:vladz at cloudius-systems.com] >> Sent: Sunday, January 4, 2015 4:50 PM >> To: Ouyang, Changchun; dev at dpdk.org >> Subject: Re: [dpdk-dev] [PATCH v4 6/6] testpmd: Set Rx VMDq RSS mode >> >>

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

2015-01-04 Thread Xie, Huawei
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Wednesday, December 24, 2014 12:21 AM > To: Xie, Huawei; dev at dpdk.org > Cc: haifeng.lin at intel.com > Subject: Re: [PATCH RFC v2 08/12] lib/librte_vhost: vhost-user support > > (2014/12/11 6:37), Huawei X

[dpdk-dev] two tso related questions

2015-01-04 Thread Alex Markuze
On Sun, Jan 4, 2015 at 10:50 AM, Helmut Sim wrote: > Hi Alex and Olivier, > > Alex, I made the test and the segmentation is not at the IP level (i.e. > each packet ip total length indicated the mss length), hence the 16 bits > total length limitation is not relevant here. > Oliver thanks for rep

[dpdk-dev] two tso related questions

2015-01-04 Thread Helmut Sim
correct. In such case, a modified api should not require to set the ip_hdr total_length field, which is 16 bits. The HW will assign the correct packet length for each transmitted IP packet which is l3_len+l4_len+mss (except of the last segment which may be smaller than mss). Sim On Sun, Jan 4, 20

[dpdk-dev] [PATCH 0/7] Move EAL common functions

2015-01-04 Thread Ravi Kerur
Hi, I plan to work on this and would like to know if I need consider anything else other than mentioned in the email by Olivier/Neil i.e.go with 2 directories common-os/generic-os common-posix under librte_eal directory and move relevant files accordingly. Thanks, Ravi On Mon, Dec 29, 2014 at

[dpdk-dev] Q on Support for I217 and I218 Intel chipsets.

2015-01-04 Thread Ravi Kerur
Hi, We have a Gigabyte H97N motherboard which has I217 Intel chipset which uses e100e drivers. I looked into lib/librte_pmd_e1000 directory and I do see that e1000e code is integrated but missing some support for read/write from flash_address and other minor things. I have made changes shown below