DPDK usage discussions
 help / color / mirror / Atom feed
* E810/Ice L3 only RSS
@ 2022-01-31 18:04 Alex Kiselev
  0 siblings, 0 replies; only message in thread
From: Alex Kiselev @ 2022-01-31 18:04 UTC (permalink / raw)
  To: Users; +Cc: Qiming Yang, Wenzhuo Lu

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-31 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 18:04 E810/Ice L3 only RSS Alex Kiselev

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).