From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by dpdk.org (Postfix) with ESMTP id 9A1351B123 for ; Tue, 23 Oct 2018 07:50:33 +0200 (CEST) Received: by mail-pl1-f172.google.com with SMTP id bh10-v6so112746plb.4 for ; Mon, 22 Oct 2018 22:50:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LwM2mFLTkZUEAJj0+ovLEHhqTCC+/0sGoPHNw4sXjzM=; b=CUaMtzgSdMNKpyVmxAYYEqSICwyr3CX0xsSeNWD7u68oGbjxnj9D4U0MBrrcUhJWrm DpbPGrH5IAndpMyrMRZtnDSqNMAJfzQYNHVOqetFyzK5pfZ/1bOtXT9koOoQakvYnYxQ YRNHyDBqxdHzzHpZ65vTRTOK/MjJuNiPcZemXaemz4LId1kKJ+1BXsb3FBGaIuYMHpUy /+deDQa8W72lc5CPP5QvVgtpvWwpg9BVzJyPI2XvnH3U/0eA5R1T9xVZV2FbEW2hc21S o0TcUW1b3uYfKQZV+A1c2QgQNPlhM2osk21OXEwxWSRyuSx+2Cwo4nRI9ayv/aMiO6OB hJ6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LwM2mFLTkZUEAJj0+ovLEHhqTCC+/0sGoPHNw4sXjzM=; b=oX8L2crvFAGEdzUAAQdwAcRhBEoO9GZpuDWZjl5MyGiG6YPGgsbTHDw1Zyc0RMbzqK +mEymo/Sc370Gftp2gwTYaNCqJCKty6Xg3dTxYkL2ZINT9qkM0muuyHYANyGDALti/Vs VkmQdoyTO5d/SaI30iA41r/0y5LkPpBewAZ82Xjn75Az53y8QfOR4lNYx6e+OJ9AU+Bb hTSWubU8Xzy0IjDq4O1jTSMvyVvy0NOar4zHn1Kywm6ffhLNsTfVPBVW6a4kmhtQEP2R BxRVoSGOmzrHigEdQt4qMZzsaw+p8mUcLQrBrziBgLsaePcX+SfgLf5Yy9Vl3x+ZoyM1 xyGA== X-Gm-Message-State: ABuFfoi/gGgkJjPOg96n+6JGTl7+tUl1WkFKFn6LeBDU/DBX3xXKMTud K0yreUTB/nJKii5uaTuc/0Y= X-Google-Smtp-Source: ACcGV625JSPbWTGrLgb6e8DbJXjZRPa1X43A0OchxMNWX4v5ddsAJ5q55udLK2YDFAcbSno6Rb/RVg== X-Received: by 2002:a17:902:bb88:: with SMTP id m8-v6mr45916612pls.120.1540273832813; Mon, 22 Oct 2018 22:50:32 -0700 (PDT) Received: from ?IPv6:2402:f000:2:a001:1d91:65c:255e:2a45? ([2402:f000:2:a001:1d91:65c:255e:2a45]) by smtp.gmail.com with ESMTPSA id w2-v6sm390434pfk.140.2018.10.22.22.50.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 22:50:31 -0700 (PDT) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3445.1.7\)) From: zhilong zheng X-Priority: 3 In-Reply-To: <5bca8bec.1c69fb81.81f91.2e08@mx.google.com> Date: Tue, 23 Oct 2018 13:50:30 +0800 Cc: "users@dpdk.org" Content-Transfer-Encoding: quoted-printable Message-Id: References: <5bca8bec.1c69fb81.81f91.2e08@mx.google.com> To: Xiao Kong X-Mailer: Apple Mail (2.3445.1.7) 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 05:50:34 -0000 Hi Kong, What command that you use to run testpmd? It seems that your RSS is not = enabled/configured. Regards, Zhilong > =D4=DA 2018=C4=EA10=D4=C220=C8=D5=A3=AC09:59=A3=ACXiao Kong = =D0=B4=B5=C0=A3=BA >=20 > 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 works 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 = behaves quite differently from other NICs, but we just can't find a way = to configurate RSS hash fields on our card. Another thing is when we = tried to enable RSS or setup hash fields in testpmd, it showed error = messages as follows. > testpmd> port config all rss all=20 > Configuration of RSS hash at ethernet port 0 failed with error (22): = Invalid argument. > Configuration of RSS hash at ethernet port 1 failed with error (22): = Invalid 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 = method for XL710 to configure RSS hash fields. > By the way, we are using DPDK ver. 17.08. > Thanks. =20 > -------------------------- > Best Regards, > Kong >=20