DPDK patches and discussions
 help / color / mirror / Atom feed
* [Bug 1134] net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested
@ 2022-11-30  7:19 bugzilla
  2022-11-30  7:20 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2022-11-30  7:19 UTC (permalink / raw)
  To: dev

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

            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 information
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 packet
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=249938&mode=treeAndinfoAndlog
[2]
https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.html#line48
[3]
https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.html#line79
[3]
https://ts-factory.io/logs/2022/11/29/balin-x710-p0-22/html/node_id6531.html#line31

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 1134] net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested
  2022-11-30  7:19 [Bug 1134] net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested bugzilla
@ 2022-11-30  7:20 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2022-11-30  7:20 UTC (permalink / raw)
  To: dev

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

Andrew Rybchenko (andrew.rybchenko@oktetlabs.ru) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dev@dpdk.org                |yuying.zhang@intel.com
                 CC|                            |beilei.xing@intel.com,
                   |                            |dev@dpdk.org

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-30  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  7:19 [Bug 1134] net/i40e Tx prepare unexpectedly rejects packet with tunnel type set and no offloads requested bugzilla
2022-11-30  7:20 ` bugzilla

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