Skip to contentSkip to conversation

net/af_packet: defragmented packet will be truncated when exceed the frame size

DPDK/ethdev Bug 1443 [email protected] 1 participant 1 message May 17, 2024

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 1443
           Summary: net/af_packet: defragmented packet will be truncated
                    when exceed the frame size
           Product: DPDK
           Version: 23.03
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

af_packet use packet fanout, set flag: PACKET_FANOUT_FLAG_DEFRAG, if set, causes packets to be defragmented before fanout is applied, the packets that read from AF_PACKET socket maybe larger than the frame size and the mbuf size, so the packet will be truncated.

In PACKET_FANOUT mode, each matching packet is enqueued onto only one socket in the group. But when af_packet use one rx queue, there is no need to set packet fanout.

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