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 BBF01428D4;
Wed, 5 Apr 2023 16:33:42 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
by mails.dpdk.org (Postfix) with ESMTP id 61CD441153;
Wed, 5 Apr 2023 16:33:42 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
by mails.dpdk.org (Postfix) with ESMTP id 6E3B741133
for ; Wed, 5 Apr 2023 16:33:40 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
id 51FD5428D5; Wed, 5 Apr 2023 16:33:40 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1211] ice: 'eth / ipv4 / udp dst is XXX / mark' rte_flow not
marking any packet
Date: Wed, 05 Apr 2023 14:33:40 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: ethdev
X-Bugzilla-Version: 23.03
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: maxime.leroy@6wind.com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: Normal
X-Bugzilla-Assigned-To: dev@dpdk.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
op_sys bug_status bug_severity priority component assigned_to reporter
target_milestone
Message-ID:
Content-Type: multipart/alternative; boundary=16807052200.dFDC.295944
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dev-bounces@dpdk.org
--16807052200.dFDC.295944
Date: Wed, 5 Apr 2023 16:33:40 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
https://bugs.dpdk.org/show_bug.cgi?id=3D1211
Bug ID: 1211
Summary: ice: 'eth / ipv4 / udp dst is XXX / mark' rte_flow not
marking any packet
Product: DPDK
Version: 23.03
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: ethdev
Assignee: dev@dpdk.org
Reporter: maxime.leroy@6wind.com
Target Milestone: ---
Environment
-------------
distribution for host/vm: Ubuntu 22.04.2 LTS, kernel 5.15.0-67-generic
kernel driver: 1.10.1.2.2
firmware-version: 4.20 0x8001778a 1.3346.0
COMMS DDP: 1.3.37
ICE OS Default Package version 1.3.30.0
testpmd cmdline: ./build/app/dpdk-testpmd --log-level=3D.*ice.*,debug
--legacy-mem -c 0x1110001110 -a 0000:17:00.0 -a 0000:17:00.1 -- -i
--nb-cores=3D5 --nb-ports=3D2 --total-num-mbufs=3D16384 --rxq=3D4 --txq=3D4
dpdk version: 22.11.1
NIC: Intel Corporation Ethernet Controller E810-C for QSFP=20
Reproduction
------------
Configuration
.............
On dut device, test-pmd configuration:
testpmd> set fwd rxonly=20
Set rxonly packet forwarding mode
testpmd> set verbose 1
Change verbose level from 0 to=20
testpmd> flow create 0 ingress pattern eth / ipv4 / udp dst is 42 / end=20
actions mark id 4 / end
ice_fdir_cur_prof_conflict(): Profile already exists for flow type 1.
ice_fdir_rx_parsing_enable(): FDIR processing on RX set to 1
ice_flow_create(): Succeeded to create (1) flow
Flow rule #1 created
testpmd> start
Tester script:
# cat port-42.scapy=20
port =3D 42
p =3D []
p +=3D Ether(src=3D'b8:ce:f6:83:b3:13',
dst=3D'40:a6:b7:7d:43:90')/IP(dst=3D'10.100.0.2', src=3D'10.100.0.1')/UDP(d=
port=3Dport,
sport=3Dport)
sendp(p, iface=3D"eth1", count=3D3, inter=3D0.1)
With dpdk 23.03
...............
Tester Machine:
scapy < port-42.scapy=20
...>>> >>> >>> >>> >>>=20
Sent 3 packets.
Result:
testpmd> port 0/queue 1: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xa1658a75 - RSS queue=3D0x1 - hw =
ptype:
L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP -
l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD
RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
port 0/queue 1: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xa1658a75 - RSS queue=3D0x1 - hw =
ptype:
L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP -
l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD
RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
port 0/queue 1: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xa1658a75 - RSS queue=3D0x1 - hw =
ptype:
L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ETHER L3_IPV4 L4_UDP -
l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D0x1
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_L4_CKSUM_GOOD
RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
No Mark on packet !
With dpdk 22.11
...............
Tester Machine:
scapy < port-42.scapy=20
...>>> >>> >>> >>> >>>=20
Sent 3 packets.
Result:
testpmd> port 0/queue 2: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xd302816a - RSS queue=3D0x2 - FDI=
R matched
ID=3D0x4 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ET=
HER
L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D=
0x2
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_FDIR
RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_FDIR_=
ID
RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
port 0/queue 2: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xd302816a - RSS queue=3D0x2 - FDI=
R matched
ID=3D0x4 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ET=
HER
L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D=
0x2
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_FDIR
RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_FDIR_=
ID
RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
port 0/queue 2: received 1 packets
src=3DB8:CE:F6:83:B3:13 - dst=3D40:A6:B7:7D:43:90 - pool=3Dmb_pool_0 - ty=
pe=3D0x0800
- length=3D60 - nb_segs=3D1 - RSS hash=3D0xd302816a - RSS queue=3D0x2 - FDI=
R matched
ID=3D0x4 - hw ptype: L2_ETHER L3_IPV4_EXT_UNKNOWN L4_UDP - sw ptype: L2_ET=
HER
L3_IPV4 L4_UDP - l2_len=3D14 - l3_len=3D20 - l4_len=3D8 - Receive queue=3D=
0x2
ol_flags: RTE_MBUF_F_RX_RSS_HASH RTE_MBUF_F_RX_FDIR
RTE_MBUF_F_RX_L4_CKSUM_GOOD RTE_MBUF_F_RX_IP_CKSUM_GOOD RTE_MBUF_F_RX_FDIR_=
ID
RTE_MBUF_F_RX_OUTER_L4_CKSUM_GOOD=20
Packet is correctly marked.
It seems there is a regression between dpdk-22.11 and dpdk-23.03. Or at lea=
st,
a change of behavior of the rte flow API on ice pmd.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--16807052200.dFDC.295944
Date: Wed, 5 Apr 2023 16:33:40 +0200
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.dpdk.org/
Auto-Submitted: auto-generated
X-Auto-Response-Suppress: All
Bug ID |
1211
|
Summary |
ice: 'eth / ipv4 / udp dst is XXX / mark' rte_flow not markin=
g any packet
|
Product |
DPDK
|
Version |
23.03
|
Hardware |
All
|
OS |
All
|
Status |
UNCONFIRMED
|
Severity |
normal
|
Priority |
Normal
|
Component |
ethdev
|
Assignee |
dev@dpdk.org
|
Reporter |
maxime.leroy@6wind.com
|
Target Milestone |
---
|
You are receiving this mail because:
- You are the assignee for the bug.
=20=20=20=20=20=20=20=20=20=20
=
--16807052200.dFDC.295944--