[Bug 1342] net/i40e rejects packet without any Tx offload on Tx prepare

bugzilla at dpdk.org bugzilla at dpdk.org
Fri Jan 5 13:57:11 CET 2024


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

            Bug ID: 1342
           Summary: net/i40e rejects packet without any Tx offload on Tx
                    prepare
           Product: DPDK
           Version: 23.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev at dpdk.org
          Reporter: andrew.rybchenko at oktetlabs.ru
  Target Milestone: ---

net/i40e rejects packet without any Tx offload on Tx prepare

Tx is configured to use no offloads. So, simple Tx prepare callback is used by
the driver.

mbuf has the following flags set: TX_L4_NO_CKSUM  |TX_IPV4 | TX_OUTER_IPV4 |
TX_TUNNEL_VXLAN | RX_IP_CKSUM_UNKNOWN | RX_L4_CKSUM_UNKNOWN
See logs
https://ts-factory.io/bublik/v2/log/362398?focusId=368929&mode=treeAndinfoAndlog&experimental=true&lineNumber=1_70

These flags do not request any Tx offloads, just specify that it is a VXLAN
packet with inner and outer IPv4.

However, Tx prepare rejects it:
https://ts-factory.io/bublik/v2/log/362398?focusId=368929&mode=treeAndinfoAndlog&experimental=true&lineNumber=1_89

Above logs are result of the test suite run at UNH IOL.

I guess the problem is TX_TUNNEL_VXLAN. I guess addition of
RTE_MBUF_F_TX_TUNNEL_MASK to I40E_TX_OFFLOAD_SIMPLE_SUP_MASK will solve the
problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240105/02860208/attachment.htm>


More information about the dev mailing list