From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00110701.pphosted.com (mx0a-00110701.pphosted.com [148.163.144.83]) by dpdk.org (Postfix) with ESMTP id 258401B4D1 for ; Tue, 23 Oct 2018 14:41:42 +0200 (CEST) Received: from pps.filterd (m0163004.ppops.net [127.0.0.1]) by mx0a-00110701.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9NCY8fn026961; Tue, 23 Oct 2018 08:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uml.edu; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=dkim20180810; bh=mBieP7E/vhCmiDq/4iG/7PDm8xcq2qM693odPDtLleI=; b=YRQ2LIOGho/rKlZQhGJ0VHiLk6LyoKOxRm5df2VQ5EojUOZtyHAkokPijG+C3JmCXyhW WAXr5hVdACKyjPF/SOIFBn74In+MeHZB4zU3YJX3BMBbRXIUcD1QZD3DNKVgzLH2y0l3 415tWxR8xXWponw2bOndB8TZgE78iI+IF9Vdja9ZWcuX4oRqUZY5oJWf/zA2zAw4NgjS Pr69258uOrLuQF/c13yKjKAA3NGChTbKZytXASRDaI4/q26EUdDVDOs2k4yeDjIf4pCJ YbjcWy0WSRbBK5MlvR6MUmbQZluGtNF7BpeHnjxd2rxyO8zQoYGERMNpTHGRj8iodNjL vA== Received: from nam01-by2-obe.outbound.protection.outlook.com (mail-by2nam01lp0175.outbound.protection.outlook.com [216.32.181.175]) by mx0a-00110701.pphosted.com with ESMTP id 2n7w14kxve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 23 Oct 2018 08:41:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studentuml.onmicrosoft.com; s=selector1-student-uml-edu; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mBieP7E/vhCmiDq/4iG/7PDm8xcq2qM693odPDtLleI=; b=V6Pe9qCI1HfigEU2jfbxh+KvWhGgBU/Ps7Nn3tNI0bSKuB14hNXgH2V7qprggpIR1phOQq/iOjl6Z7hs34BKUj1OlV2pleTeBX5xXPKM5DcYySHmNlY7AEIbO56xsQQcGInRpZ8u/FrdcAKLVbFKSu84hTBroWy7XKDI6pb+6/0= Received: from DM5PR02MB2523.namprd02.prod.outlook.com (10.168.195.17) by DM5PR02MB2220.namprd02.prod.outlook.com (10.168.173.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1250.30; Tue, 23 Oct 2018 12:41:39 +0000 Received: from DM5PR02MB2523.namprd02.prod.outlook.com ([fe80::24e8:d137:1d5f:b7a8]) by DM5PR02MB2523.namprd02.prod.outlook.com ([fe80::24e8:d137:1d5f:b7a8%8]) with mapi id 15.20.1250.028; Tue, 23 Oct 2018 12:41:39 +0000 From: "Wu, Xiaoban" To: zhilong zheng , Xiao Kong CC: "users@dpdk.org" Thread-Topic: [dpdk-users] RSS problems with Intel XL710 NIC (i40e) Thread-Index: AQHUaBiBMiU8BY4BLkOVZVToCpTi3aUsWGsAgAByEq0= Date: Tue, 23 Oct 2018 12:41:39 +0000 Message-ID: References: <5bca8bec.1c69fb81.81f91.2e08@mx.google.com>, In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.63.253.89] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR02MB2220; 6:roymQTgGOAVoLLXn1KlQJrqoE9yBzmtog376mjowDF4MWmPWWuDgOCUu9a3ubeeaUl2d4Kdg8v+lZ5/84Ak/ezG7Aa8epUwVg8U4S/+Tzbl2ORfkF9/5nSwtlMsUg4zvYpjpcNAVy2AiAFiC1SMzrWMEBFVVSox+ZhyoZtsm9LBWBaVFw6DnsJpzjtQMS6Jnpi1pS5x/l0T5BiaNrNjeq2bEIK+Dvl176DG/2PcChIplpFiCtVJr4NcwNHtwcJZIrknB04WOetclrvR2Qc94be43AFBQlKxhdSqOT60Dv8tkC15Qc5XvoM11MvSBdvn+BoRbwmGsVxMSzQI4BYD5zzQ4Nlhi2J3ze8Mi1xu/uwiujNr7uxZr+MbvhkDUfW3mZEhy87ANzUuP2dI+Ah2IwKs6J3Hlwv13jn13xonOA8VCJpbgcXUHKBG/+/vAxvw3XbbmQllLwS+oiomX6nWjdA==; 5:szqqLF/GanBLwsOAoja59+DLiLM9+NJJW4QxZy0Ip7IlaBArePW+eJgrJf585JJpD1ctgAxPf/38flrvDWnmNh6/Xs3BRKMJrRjRlTOKsH4Ic6TFw85xBKQt7pOLk2Fw1h3TRe7aw3+PTErAd1nyuAjx51UAd0ZOYALQ9VHsx7g=; 7:JG9H6QKo6USsUFML/2zlYbYf+ifwa4fUYHgN1cJAdqpWHRG0MstxzLLM/21KACaZSWYoCYx3JIeo7y2m+wdQfOb1AkFiDFegFAXeQw9jjyU/N+k59JeTzXyHEv+Zk/u1Q/pg83fCMwwCJtjVd7bnkDGzpgfcR6NWzTRCN3luE+z2og5AuyxZtnZzdYiV9QrGo8tKEpxviSHLwNrz6kP1bHpbEQkgoQve8vmKKAAIWj891O3f+xu37iaQ4QyWNbxj x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: d58ec51e-ee1e-4687-5bf8-08d638e4e0d9 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:DM5PR02MB2220; x-ms-traffictypediagnostic: DM5PR02MB2220: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185212123834332)(85827821059158); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(148016)(149066)(150057)(6041310)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(20161123564045)(201708071742011)(7699051)(76991095); SRVR:DM5PR02MB2220; BCL:0; PCL:0; RULEID:; SRVR:DM5PR02MB2220; x-forefront-prvs: 0834BAF534 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(346002)(396003)(376002)(366004)(189003)(199004)(316002)(6436002)(66066001)(19627405001)(6506007)(53546011)(14454004)(8936002)(71190400001)(81166006)(72206003)(71200400001)(26005)(33656002)(102836004)(106356001)(88552002)(81156014)(966005)(5660300001)(229853002)(8676002)(105586002)(4326008)(99286004)(25786009)(2906002)(39060400002)(7736002)(74316002)(606006)(97736004)(68736007)(76176011)(11346002)(478600001)(6116002)(446003)(186003)(2900100001)(6246003)(14444005)(110136005)(9686003)(75432002)(6606003)(3846002)(7696005)(256004)(54896002)(53936002)(786003)(55016002)(86362001)(6306002)(1015004)(5250100002)(476003)(236005)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR02MB2220; H:DM5PR02MB2523.namprd02.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: student.uml.edu does not designate permitted sender hosts) x-microsoft-antispam-message-info: gVmjB78KgZND0vzwauupb8Ue6+qtzVrLNFBnRDAjq+QnDNOMv/lnQ9vdqAbajV1zRWCjNAw+C4dEqtR7SfNaHsoUoDvtBoT18T4aax8thxeOq1LwR/7TgZm28Ln9zabf28WZFoQ2aAsUxcv8g2kZdNJQ/oft5dp/7flUS+WQmMznk1V8cEkvGfzJbwOVgX1pkb45B2aYvPT1tC09PsEreTY0EvINBZOYyPQd/qX7YBdtK1zVKL+JFyp/H0D5Tyh0Q2Kp3q/Yenp7h5lhjATWFaNEFiW5/GmDuBMzecMTeSZeaasAmG3ekduXcgkAVPULUrnHyDTEmJrxv76h4vV6WVudW35t98YuWbgjg6bx+Ts= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: student.uml.edu X-MS-Exchange-CrossTenant-Network-Message-Id: d58ec51e-ee1e-4687-5bf8-08d638e4e0d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Oct 2018 12:41:39.4450 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4c25b8a6-17f7-46f9-83f0-54734ab81fb1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR02MB2220 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-10-23_03:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810230107 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-users] RSS problems with Intel XL710 NIC (i40e) X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2018 12:41:43 -0000 Hi Zhilong, I encountered the same problem before, and I found a solution at https://st= ackoverflow.com/questions/42342723/how-to-set-up-rss-hash-fuction-in-xl710-= to-receive-ipv4-flow-type# You basically need to find the corresponding C function of each CLI command= , and directly call them with some modifications. Best wishes, Xiaoban ________________________________ From: users on behalf of zhilong zheng Sent: Tuesday, October 23, 2018 1:50:30 AM To: Xiao Kong Cc: users@dpdk.org Subject: Re: [dpdk-users] RSS problems with Intel XL710 NIC (i40e) Hi Kong, What command that you use to run testpmd? It seems that your RSS is not ena= bled/configured. Regards, Zhilong > =1B$B:_=1B(B 2018=1B$BG/=1B(B10=1B$B7n=1B(B20=1B$BF|!$=1B(B09:59=1B$B!$= =1B(BXiao Kong =1B$B > Dear all, > We are currently trying to build a multi-RX-queue dpdk program, using RSS= to split the incoming traffic evenly into RX queues on a single port. It w= orks fine when we use an Intel 82599ES 10Gig NIC. However when we switch to= the Intel XL710 40Gig NIC (i40e), RSS does not seem to work. As a result, = TCP packets belonging to various flows (with different src&dst IPs, ports) = are all sent into the same RX queue. Below is our code. > static const struct rte_eth_conf port_conf_default =3D { > .rxmode =3D { > .max_rx_pkt_len =3D ETHER_MAX_LEN, //1518 > .mq_mode =3D ETH_MQ_RX_RSS, > }, > .rx_adv_conf =3D { > .rss_conf =3D { > .rss_key =3D NULL, > .rss_hf =3D ETH_RSS_IP | ETH_RSS_UDP | ETH_RSS_TCP | ETH_RSS_= SCTP, > } > }, > }; > We noticed that it is mentioned on several pages that XL710 sometimes beh= aves quite differently from other NICs, but we just can't find a way to con= figurate RSS hash fields on our card. Another thing is when we tried to ena= ble RSS or setup hash fields in testpmd, it showed error messages as follow= s. > testpmd> port config all rss all > Configuration of RSS hash at ethernet port 0 failed with error (22): Inva= lid argument. > Configuration of RSS hash at ethernet port 1 failed with error (22): Inva= lid argument. > testpmd> show port 1 rss-hash ipv4 > RSS disabled > I am wondering if there is any mistake we made or if there is a unique me= thod for XL710 to configure RSS hash fields. > By the way, we are using DPDK ver. 17.08. > Thanks. > -------------------------- > Best Regards, > Kong >