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 5FEBCA00C2; Wed, 30 Nov 2022 08:19:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 133BB40395; Wed, 30 Nov 2022 08:19:38 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id BA7574014F for ; Wed, 30 Nov 2022 08:19:36 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 93DA4A00C3; Wed, 30 Nov 2022 08:19:36 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 1134] net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested Date: Wed, 30 Nov 2022 07:19:36 +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: 22.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: andrew.rybchenko@oktetlabs.ru 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D1134 Bug ID: 1134 Summary: net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested Product: DPDK Version: 22.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: andrew.rybchenko@oktetlabs.ru Target Milestone: --- net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested Tunnel type (e.g. RTE_MBUF_F_TX_TUNNEL_VXLAN) is just an auxiliary informat= ion which does not request any Tx offload itself (similar to RTE_MBUF_F_TX_IPV4= ). So, if a packet has the tunnel type set it should not be rejected by i40e_simple_prep_pkts() as unsupported offload requested. I.e. RTE_MBUF_F_TX_TUNNEL_MASK should be included in I40E_TX_OFFLOAD_SIMPLE_SUP_MASK. Found using [1]. Line 48 [2] sets ol_flags. Line 79 [3] shows that the pack= et is rejected by Tx prepare. Requested Tx offload can be found in line 31 [4] [1] https://ts-factory.io/bublik/v2/log/243407?focusId=3D249938&mode=3DtreeAndi= nfoAndlog [2] https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.htm= l#line48 [3] https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.htm= l#line79 [3] https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.htm= l#line31 --=20 You are receiving this mail because: You are the assignee for the bug.=