af_xdp: make sure all packets are transmitted 68/34668/3
authorBenoît Ganne <bganne@cisco.com>
Thu, 2 Dec 2021 15:06:12 +0000 (16:06 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 8 Jun 2023 11:53:21 +0000 (11:53 +0000)
commitf40bdbb80d59be824ee9cc9273785f9548a3fe77
tree9e89d3615f62ef9187e9f3be211e5209ec5eee19
parentf441b5d0ed8ff9d87412c1640dfec93e9cba03bd
af_xdp: make sure all packets are transmitted

AF_XDP socket will only tx enqueued packets up to a max batch size so
we need to retry until everything has been sent.

Type: fix

Change-Id: Ia487ab63d3e85a478471cd1d679c5fb471804ba3
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/af_xdp/input.c
src/plugins/af_xdp/output.c