From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A189A034E for ; Mon, 31 Jan 2022 19:04:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 273EA411B8; Mon, 31 Jan 2022 19:04:38 +0100 (CET) Received: from wh10.alp1.flow.ch (wh10.alp1.flow.ch [185.119.84.194]) by mails.dpdk.org (Postfix) with ESMTP id 183D341190 for ; Mon, 31 Jan 2022 19:04:37 +0100 (CET) Received: from [::1] (port=34850 helo=wh10.alp1.flow.ch) by wh10.alp1.flow.ch with esmtpa (Exim 4.94.2) (envelope-from ) id 1nEb2b-00DIpr-8a; Mon, 31 Jan 2022 19:04:36 +0100 MIME-Version: 1.0 Date: Mon, 31 Jan 2022 19:04:34 +0100 From: Alex Kiselev To: Users Cc: Qiming Yang , Wenzhuo Lu Subject: E810/Ice L3 only RSS User-Agent: Roundcube Webmail/1.4.12 Message-ID: <0dfc58727e0ee339e744ececa7ef3b42@therouter.net> X-Sender: alex@therouter.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh10.alp1.flow.ch X-AntiAbuse: Original Domain - dpdk.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - therouter.net X-Get-Message-Sender-Via: wh10.alp1.flow.ch: authenticated_id: alex@therouter.net X-Authenticated-Sender: wh10.alp1.flow.ch: alex@therouter.net X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hello, I am trying to set up a L3 only RSS for E810 (Ice) NIC by following this document https://doc.dpdk.org/dts/test_plans/fortville_rss_input_test_plan.html while l3-dst-only or l3-dst-only cases work perfectly fine and produce the same RSS value for all 10 test packets, >>> sendp([Ether(dst="B4:96:91:B3:5C:D8")/IP(src="192.168.0.1", >>> dst="192.168.0.2")/TCP(sport=RandShort(),dport=RandShort())],iface='ens865f1',count=10) the combination of l3-dst-only l3-src-only doesn't work and produce different RSS hash value for each packet. What am I missing? Below are some details about my test environment, testpmd results, versions, etc. Thank you. testpmd> flow create 0 ingress pattern eth / ipv4 / tcp / end actions rss types ipv4-tcp l3-dst-only l3-src-only end queues end / end Flow rule #0 created testpmd> testpmd> port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xed2453da - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xced5e78a - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xe693dd90 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 1: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xfe171109 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x1 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0x424d7372 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 1: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0x4efdbc27 - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x1 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xafbabc0e - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 1: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xb28893df - RSS queue=0x1 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x1 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0xef11190a - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD port 0/queue 0: received 1 packets src=A4:BF:01:1B:61:F2 - dst=B4:96:91:B3:5C:D8 - type=0x0800 - length=60 - nb_segs=1 - RSS hash=0x28944432 - RSS queue=0x0 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_TCP - sw ptype: L2_ETHER L3_IPV4 L4_TCP - l2_len=14 - l3_len=20 - l4_len=20 - Receive queue=0x0 ol_flags: PKT_RX_RSS_HASH PKT_RX_L4_CKSUM_GOOD PKT_RX_IP_CKSUM_GOOD PKT_RX_OUTER_L4_CKSUM_GOOD testpmd> >>> sendp([Ether(dst="B4:96:91:B3:5C:D8")/IP(src="192.168.0.1", >>> dst="192.168.0.2")/TCP(sport=RandShort(),dport=RandShort())],iface='ens865f1',count=10) .......... Sent 10 packets. root@Bison-DEV:/usr/src/ice/ice-1.7.16/src# ethtool -i ens865f1 driver: ice version: 1.7.16 firmware-version: 3.10 0x8000ad67 1.3106.0 expansion-rom-version: bus-info: 0000:03:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes DPDK ver 19.11.11 DPDK ver 20.11.3