From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8B51DA0545;
	Thu, 30 Jun 2022 10:34:38 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 2BB2A40223;
	Thu, 30 Jun 2022 10:34:38 +0200 (CEST)
Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178])
 by mails.dpdk.org (Postfix) with ESMTP id 29B76400EF
 for <dev@dpdk.org>; Thu, 30 Jun 2022 10:34:37 +0200 (CEST)
Received: by inbox.dpdk.org (Postfix, from userid 33)
 id 16AFBA0547; Thu, 30 Jun 2022 10:34:37 +0200 (CEST)
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1044] [dpdk-22.07] ice_iavf_fdir: the ipv4/6 gtpu_eh rule not
 take effect
Date: Thu, 30 Jun 2022 08:34:36 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: DPDK
X-Bugzilla-Component: testpmd
X-Bugzilla-Version: unspecified
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: major
X-Bugzilla-Who: zhiminx.huang@intel.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: <bug-1044-3@http.bugs.dpdk.org/>
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
MIME-Version: 1.0
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

https://bugs.dpdk.org/show_bug.cgi?id=3D1044

            Bug ID: 1044
           Summary: [dpdk-22.07] ice_iavf_fdir: the ipv4/6 gtpu_eh rule
                    not take effect
           Product: DPDK
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: testpmd
          Assignee: dev@dpdk.org
          Reporter: zhiminx.huang@intel.com
  Target Milestone: ---

DPDK version:=20
22.07-rc2:7cac53f205ebd04d8ebd3ee6a9dd84f698d4ada3
OS:=20
4.18.0-348.el8.x86_64/redhat8.5
Compiler:=20
gcc version 8.5.0 20210514 (Red Hat 8.5.0-4)
Hardware platform:=20
Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
NIC hardware:=20
Intel Corporation Ethernet Controller E810-C for QSFP [8086:1592]
NIC firmware:=20
driver: 1.9.3_dirty
firmware-version: 4.00 0x80011845 1.3236.0
ddp: ICE COMMS Package version 1.3.37.0


Reproduced Step:
1.
echo 1 > /sys/bus/pci/devices/0000\:ca\:00.0/sriov_numvfs

2.
./usertools/dpdk-devbind.py -b vfio-pci 0000:ca:01.0=20

3.
ip link set ens25f0 vf 0 mac 00:11:22:33:44:55

4.
./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -- -i --rxq=3D16
--txq=3D16

5.
set fwd rxonly
set verbose 1
start

flow create 0 ingress pattern eth / ipv4 / udp / gtpu teid is 0x12345678 /
gtp_psc qfi is 0x34 / end actions queue index 1 / end=20=20

6.
Ether(src=3D"a4:bf:01:51:27:ca", dst=3D"00:11:22:33:44:55")/IP(src=3D"192.1=
68.0.20",
dst=3D"192.168.0.21")/UDP(dport=3D2152)/GTP_U_Header(gtp_type=3D255,teid=3D=
0x12345678)/GTPPDUSessionContainer(type=3D1,P=3D1,QFI=3D0x34)/IP()/Raw("x"*=
20)

output:
testpmd> port 0/queue 10: received 1 packets
  src=3DA4:BF:01:51:27:CA - dst=3D00:11:22:33:44:55 - type=3D0x0800 - lengt=
h=3D102 -
nb_segs=3D1 - RSS hash=3D0x43723baa - RSS queue=3D0xa - hw ptype: L2_ETHER
L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG =
 -
sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=3D14 - l3_len=3D20 - l4_len=3D8=
 - VXLAN
packet: packet type =3D32913, Destination UDP port =3D2152, VNI =3D 1193046,
last_rsvd =3D 120 - Receive queue=3D0xa
  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_UNKNOWN=20

expect output:
testpmd> port 0/queue 1: received 1 packets
  src=3DA4:BF:01:51:27:CA - dst=3D00:11:22:33:44:55 - type=3D0x0800 - lengt=
h=3D102 -
nb_segs=3D1 - RSS hash=3D0x9ce7492b - RSS queue=3D0x1 - hw ptype: L2_ETHER
L3_IPV4_EXT_UNKNOWN TUNNEL_GTPU INNER_L3_IPV4_EXT_UNKNOWN INNER_L4_NONFRAG =
 -
sw ptype: L2_ETHER L3_IPV4 L4_UDP  - l2_len=3D14 - l3_len=3D20 - l4_len=3D8=
 - VXLAN
packet: packet type =3D32913, Destination UDP port =3D2152, VNI =3D 1193046,
last_rsvd =3D 120 - 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_UNKNOWN

Regression
Is this issue a regression: (Y/N) Y

commit 0718b7716c9516fca458695f7a0195b1f45d4778 (HEAD, refs/bisect/bad)
Author: Gregory Etelson <getelson@nvidia.com>
Date:   Thu Jun 16 21:01:03 2022 +0300

    net: fix GTP PSC headers

    Fix bitmap fields order in little endian section of GTP PSC headers.

    Fixes: e8ca1479cdc4 ("net: add extension header for GTP PSC")
    Cc: stable@dpdk.org

    Signed-off-by: Gregory Etelson <getelson@nvidia.com>
    Reviewed-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
    Acked-by: Aman Singh <aman.deep.singh@intel.com>
    Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>

--=20
You are receiving this mail because:
You are the assignee for the bug.=