af_xdp: linearize buffer chains before TX 33/39033/5
authorShmuel Hazan <shmuel.h@siklu.com>
Tue, 13 Jun 2023 10:55:04 +0000 (13:55 +0300)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 14 Jun 2023 14:16:27 +0000 (14:16 +0000)
commit07e6c829507cbb3f842227db66f615dd8a262239
treed0f5ba934c96e5604f4d1ce6af7726c884b7f27a
parent39c40fa349505b584472678318ef8548ab203aed
af_xdp: linearize buffer chains before TX

The af_xdp plugin does not support chained buffers; attempting to send
chain buffers will result truncated packets or even send other packet's
data. As a workaround, turn any buffer chain into a single buffer before
tx.

Type: fix

Change-Id: I05dec912455eb2bb6c8122a28cd646f88983aa9a
Signed-off-by: Shmuel Hazan <shmuel.h@siklu.com>
src/plugins/af_xdp/output.c