[DPDK/ethdev Bug 1443] net/af_packet: defragmented packet will be truncated when exceed the frame size

bugzilla at dpdk.org bugzilla at dpdk.org
Fri May 17 11:39:35 CEST 2024


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: dev at dpdk.org
          Reporter: 1204565380 at qq.com
  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.

-- 
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/20240517/7ab7a515/attachment.htm>


More information about the dev mailing list