From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jeff@vectranetworks.com>
Received: from na01-bn1-obe.outbound.protection.outlook.com
 (mail-bn1bon0143.outbound.protection.outlook.com [157.56.111.143])
 by dpdk.org (Postfix) with ESMTP id A51F0592A
 for <dev@dpdk.org>; Thu, 23 Jul 2015 02:47:13 +0200 (CEST)
Received: from SN1PR08MB1376.namprd08.prod.outlook.com (10.162.1.146) by
 SN1PR08MB1373.namprd08.prod.outlook.com (10.162.1.143) with Microsoft SMTP
 Server (TLS) id 15.1.219.17; Thu, 23 Jul 2015 00:47:10 +0000
Received: from SN1PR08MB1376.namprd08.prod.outlook.com ([10.162.1.146]) by
 SN1PR08MB1376.namprd08.prod.outlook.com ([10.162.1.146]) with mapi id
 15.01.0219.018; Thu, 23 Jul 2015 00:47:10 +0000
From: "Jeff Venable, Sr." <jeff@vectranetworks.com>
To: "Zhang, Helin" <helin.zhang@intel.com>, lhffjzh <lhffjzh@126.com>,
 "'Thomas Monjalon'" <thomas.monjalon@6wind.com>
Thread-Topic: [dpdk-dev] Why only rx queue "0" can receive network packet	by
 i40e NIC
Thread-Index: AQHQUwUptdnjFbxdFU2dC7iwa2kdKJ0FeWOAgACnogCA4vqxMA==
Date: Thu, 23 Jul 2015 00:47:10 +0000
Message-ID: <SN1PR08MB1376864591D40CDB4E390E83A0820@SN1PR08MB1376.namprd08.prod.outlook.com>
References: <1416936405-25333-1-git-send-email-ssujith@cisco.com>
 <D1162370.313E9%ssujith@cisco.com> <03fb01d05269$fe8d2110$fba76330$@com>
 <1566601.Xkl8jJDb44@xps13> <046801d052f8$9090a530$b1b1ef90$@com>
 <F35DEAC7BCE34641BA9FAC6BCA4A12E70A80D82C@SHSMSX104.ccr.corp.intel.com>
 <049801d0530f$b866bce0$293436a0$@com>
 <F35DEAC7BCE34641BA9FAC6BCA4A12E70A80D97C@SHSMSX104.ccr.corp.intel.com>
In-Reply-To: <F35DEAC7BCE34641BA9FAC6BCA4A12E70A80D97C@SHSMSX104.ccr.corp.intel.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: intel.com; dkim=none (message not signed)
 header.d=none;
x-originating-ip: [12.226.156.82]
x-microsoft-exchange-diagnostics: 1; SN1PR08MB1373;
 5:1ZjP4a1mtUqvCrdcemL9wCO3PqPd92qY5NQug0n+qYoB7IZtjdIL60AaOVr+G0ALJzGvph33+Dn+8Gsg8GREZlSrfT1J3DCKlQ5AiB7xj44DrJdubRNmPewwOWkn7J3fkUqZFClhpR+LsCZGGyGuvQ==;
 24:mJegXic+ZGbAb3l03kB66YHnvrkgFnsB+7x3t2Fj8ZQnU28e6vvoW2M8SnBrWOd2CfAPf89mw1W4sbOUfDnZbVlCnKpD8W8yF9Yq1crLzqU=;
 20:WzsVAeWa4+8mXz5vSZFnxVsi7qeb7KTkanpOMYIbwx3MMTNrFjz5geicD/BGo3gpCSSuEmZqL9pCcKJu9sq5SA==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR08MB1373;
sn1pr08mb1373: X-MS-Exchange-Organization-RulesExecuted
x-microsoft-antispam-prvs: <SN1PR08MB13739311CFB41329F43D4DFDA0820@SN1PR08MB1373.namprd08.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
 RULEID:(601004)(5005006)(3002001); SRVR:SN1PR08MB1373; BCL:0; PCL:0; RULEID:;
 SRVR:SN1PR08MB1373; 
x-forefront-prvs: 06469BCC91
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(6009001)(377454003)(53754006)(377424004)(164054003)(13464003)(122556002)(5002640100001)(19580405001)(5001960100002)(102836002)(2950100001)(106116001)(46102003)(93886004)(77096005)(19580395003)(5001920100001)(77156002)(62966003)(87936001)(33656002)(5001770100001)(40100003)(2656002)(189998001)(92566002)(99286002)(76576001)(50986999)(76176999)(86362001)(54356999)(74316001)(5003600100002)(66066001);
 DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR08MB1373;
 H:SN1PR08MB1376.namprd08.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: vectranetworks.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2015 00:47:10.2546 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a6cc66bc-f419-45c2-a9c2-8ff4ab685f2d
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR08MB1373
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Why only rx queue "0" can receive network
	packet	by	i40e NIC
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jul 2015 00:47:14 -0000

Is the I40E incapable of operating RSS with ETH_RSS_IP (i.e. hashing withou=
t L4 ports)?

Thanks,

Jeff

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Helin
Sent: Saturday, February 28, 2015 6:34 AM
To: lhffjzh; 'Thomas Monjalon'
Cc: dev@dpdk.org; maintainers@dpdk.org
Subject: Re: [dpdk-dev] Why only rx queue "0" can receive network packet by=
 i40e NIC

Good to know that!

> -----Original Message-----
> From: lhffjzh [mailto:lhffjzh@126.com]
> Sent: Saturday, February 28, 2015 12:34 PM
> To: Zhang, Helin; 'Thomas Monjalon'
> Cc: dev@dpdk.org; maintainers@dpdk.org
> Subject: RE: [dpdk-dev] Why only rx queue "0" can receive network=20
> packet by i40e NIC
>=20
> Hi Helin,
>=20
> Thanks a lot for your great help, all of rx queue received network=20
> packet after I update rss_hf from "ETH_RSS_IP" to " ETH_RSS_PROTO_MASK ".
>=20
> static struct rte_eth_conf port_conf =3D {
>     .rxmode =3D {
>         .mq_mode        =3D ETH_MQ_RX_RSS,
>         .max_rx_pkt_len =3D ETHER_MAX_LEN,
>         .split_hdr_size =3D 0,
>         .header_split   =3D 0, /**< Header Split disabled */
>         .hw_ip_checksum =3D 1, /**< IP checksum offload enabled */
>         .hw_vlan_filter =3D 0, /**< VLAN filtering disabled */
>         .jumbo_frame    =3D 0, /**< Jumbo Frame Support disabled */
>         .hw_strip_crc   =3D 0, /**< CRC stripped by hardware */
>     },
>     .rx_adv_conf =3D {
>         .rss_conf =3D {
>             .rss_key =3D NULL,
>             .rss_hf =3D ETH_RSS_PROTO_MASK,
>         },
>     },
>     .txmode =3D {
>         .mq_mode =3D ETH_MQ_TX_NONE,
>     },
>     .fdir_conf.mode =3D RTE_FDIR_MODE_SIGNATURE, };
>=20
>=20
> Regards,
> Haifeng
>=20
> -----Original Message-----
> From: Zhang, Helin [mailto:helin.zhang@intel.com]
> Sent: Saturday, February 28, 2015 11:18 AM
> To: lhffjzh; 'Thomas Monjalon'
> Cc: dev@dpdk.org; maintainers@dpdk.org
> Subject: RE: [dpdk-dev] Why only rx queue "0" can receive network=20
> packet by i40e NIC
>=20
> Hi Haifeng
>=20
> > -----Original Message-----
> > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of lhffjzh
> > Sent: Saturday, February 28, 2015 9:48 AM
> > To: 'Thomas Monjalon'
> > Cc: dev@dpdk.org; maintainers@dpdk.org
> > Subject: Re: [dpdk-dev] Why only rx queue "0" can receive network=20
> > packet
> by
> > i40e NIC
> >
> > Hi Thomas,
> >
> > Thanks very much for your reminder, you give me many help in this=20
> > mail
> list.
> >
> > The issue with detailed information just as below. but I don't know=20
> > who is
> the
> > dpdk i40e maintainers? is maintainers@dpdk.org?
> >
> > Hardware list:
> >     2 i40e 40G NICs
> >     Xeon E5-2670 v2(10 cores)
> >     32G memory
> >
> > I loopback 2 i40e NICs by QSFP cable, one NIC send UDP network=20
> > packet by DPDK, and another for receiving. I bind 4 processor's=20
> > logical cores with 4
> rx
> > queue "0,1,2,3" on receiving NIC, when I start to send packet, only=20
> > rx
> queue
> > "0"
> > can receive
> > the UDP packet, the others queue always receive nothing. but it is=20
> > work
> well on
> > ixgbe 10G NICs, I can receive network packet from all rx queues.=20
> > does
> anyone
> > kindly know why?
> Could you help to list the DPDK version you are using now?
> Two possible reasons:
> 1. UDP rss is not enabled on your board correctly.
> 	I40e has different rss flags from ixgbe, so I am wondering if you use=20
> it correctly.
> 	In addition, this will be unified from 2.0. So I care about the DPDK ver=
sion.
> 2. The UDP stream is occasionally hit the hash key of queue 0.
> 	You'd better to try to send your UDP stream with random 5-tuples, to=20
> get the
> 	hash value hit different queues randomly.
>=20
> Regards,
> Helin
>=20
> >
> >
> > Regards,
> > Haifeng
> >
> > -----Original Message-----
> > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > Sent: Friday, February 27, 2015 6:55 PM
> > To: lhffjzh
> > Cc: dev@dpdk.org
> > Subject: Re: Why only rx queue "0" can receive network packet by=20
> > i40e NIC
> >
> > 2015-02-27 16:47, lhffjzh:
> > > Hi All,
> > >
> > > We use 4 cores loop 4 rx queues on one i40e port, but only rx queue "=
0"
> > can
> > > receive network packet, do anyone kindly know why? BTW, all of=20
> > > network packet has same destination ip address but has more than=20
> > > 200 different source ip address.
> >
> > It's possible that you don't have any answer for 2 reasons:
> > - you replied in a thread dedicated to Cisco enic questions
> > - you didn't describe your usage enough to understand your problem
> >
> > I suggest to use the button "new email" instead of "reply all" to=20
> > start a new question with enough details.
> >
> > Did you noticed you put some Cisco guys in CC instead of putting the=20
> > Intel responsible for i40e (see MAINTAINERS file)?
> >
>=20