From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay-out1.mail.masterhost.ru (relay-out1.mail.masterhost.ru [83.222.12.11]) by dpdk.org (Postfix) with ESMTP id CFD031B142 for ; Tue, 18 Dec 2018 19:45:13 +0100 (CET) Received: from [37.139.80.50] (helo=[192.168.5.135]) by relay1.mail.masterhost.ru with esmtpa envelope from authenticated with alex@therouter.net message id 1gZKMi-0002uQ-9A; Tue, 18 Dec 2018 21:45:12 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) From: Alex Kiselev In-Reply-To: <20181218103605.2f69f403@xeon-e3> Date: Tue, 18 Dec 2018 21:45:11 +0300 Cc: users@dpdk.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1127504271.20181218200206@therouter.net> <20181218103605.2f69f403@xeon-e3> To: Stephen Hemminger X-Mailer: Apple Mail (2.3445.102.3) X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Lua-Profiles: 133047 [Dec 18 2018] X-KLMS-AntiSpam-Version: 5.8.3.0 X-KLMS-AntiSpam-Envelope-From: alex@therouter.net X-KLMS-AntiSpam-Rate: 0 X-KLMS-AntiSpam-Status: not_detected X-KLMS-AntiSpam-Method: none X-KLMS-AntiSpam-Info: LuaCore: 228 228 d3d2c1e0d4b36e467412e5a9a99c631ac1b47f70, {rep_avail}, DmarcAF: none X-MS-Exchange-Organization-SCL: -1 X-KLMS-AntiSpam-Interceptor-Info: scan successful X-KLMS-AntiPhishing: not scanned, disabled by settings X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.2.16, not scanned, license restriction Subject: Re: [dpdk-users] RSS hash based on L2 (src mac, dst mac) on Intel 82599 NICs 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, 18 Dec 2018 18:45:14 -0000 I think I should describe the problem I am trying to solve. I am looking for a way to use RSS for PPPoE traffic. Using RSS calculation based on L2 is one way. It can be done using specific x710 API. And it looks like the DDP is event a better way to do so, but it's also supported only on intel 700 series NICs. So, I am looking for a solution to spread PPPoE flows to different queues=20 on x520 or mellanox NICs. > On 18 Dec 2018, at 21:36, Stephen Hemminger = wrote: >=20 > On Tue, 18 Dec 2018 20:02:06 +0300 > Alex Kiselev wrote: >=20 >> Hi. >>=20 >> Is it possible to configure Intel 82599 NICs RSS function to = calculate rss hash value >> based on only the L2 src address and dst address for nonIp packets? >>=20 >> It's possible to do so with Intel x710 cards, but I haven't found the = same feature >> for 82599. Have I missed something? Or it's a unique feature = available only on x710 >> cards? >>=20 >> Thanks. >>=20 >=20 > In DPDK this is ETH_RSS_L2_PAYLOAD. > The ixgbe driver does not list this is a supported offload type: >=20 > #define IXGBE_RSS_OFFLOAD_ALL ( \ > ETH_RSS_IPV4 | \ > ETH_RSS_NONFRAG_IPV4_TCP | \ > ETH_RSS_NONFRAG_IPV4_UDP | \ > ETH_RSS_IPV6 | \ > ETH_RSS_NONFRAG_IPV6_TCP | \ > ETH_RSS_NONFRAG_IPV6_UDP | \ > ETH_RSS_IPV6_EX | \ > ETH_RSS_IPV6_TCP_EX | \ > ETH_RSS_IPV6_UDP_EX) >=20 > The Linux driver does not appear to support this either.