From: Alex Kiselev <alex@therouter.net>
To: Users <users@dpdk.org>
Cc: Qiming Yang <qiming.yang@intel.com>, Wenzhuo Lu <wenzhuo.lu@intel.com>
Subject: E810/Ice L3 only RSS
Date: Mon, 31 Jan 2022 19:04:34 +0100 [thread overview]
Message-ID: <0dfc58727e0ee339e744ececa7ef3b42@therouter.net> (raw)
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
reply other threads:[~2022-01-31 18:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0dfc58727e0ee339e744ececa7ef3b42@therouter.net \
--to=alex@therouter.net \
--cc=qiming.yang@intel.com \
--cc=users@dpdk.org \
--cc=wenzhuo.lu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).