af_xdp: refill rx rings when interface goes up 78/32278/7
authorBenoît Ganne <bganne@cisco.com>
Tue, 11 May 2021 11:19:56 +0000 (13:19 +0200)
committerDamjan Marion <dmarion@me.com>
Fri, 21 May 2021 21:07:02 +0000 (21:07 +0000)
commit73b71225b1f6bdd65923ac8ac786ed226d57228e
treea0570587574000feb7cfc00d76c82e478ed893f9
parentefd4d702105bf86cd74ae777668d2c17e3a85bbc
af_xdp: refill rx rings when interface goes up

If interrupt mode is configured through startup.conf exec script, the
input function will not be polled and the rx ring will never be filled.
Always refill the ring when interface goes up so it is ready to receive
packets.

Type: fix

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