Skip to contentSkip to conversation

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

Bug 1342 [email protected] 1 participant 1 message Jan 5, 2024

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.