devices: restore regular af-packet tx path 69/33669/2
authorMohammed Hawari <mohammed@hawari.fr>
Mon, 6 Sep 2021 09:48:17 +0000 (11:48 +0200)
committerDamjan Marion <dmarion@me.com>
Tue, 7 Sep 2021 17:14:36 +0000 (17:14 +0000)
commiteed6fc9a98e2574a9f39caec512a072e60b0bdb5
tree219e45be5232c491ffe8faee6d13962ac503008f
parent0b42ac565b970c186a9ad734f980b440f56fb25b
devices: restore regular af-packet tx path

This change restores the af_packet tx path prior
in use prior to Change
Idf0bdd88990254a614962c2f7bc3e0292ccfd61a but
fixes the stalling issue by ensuring that the next
tx frame pointer is only incremented when a new tx
frame is used. This change also enables the
af_packet PACKET_QDISC_BYPASS option, for better
performance.

Change-Id: I65dde648ed66d21654847a900ceda5a8980ae6ec
Type: improvement
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
src/vnet/devices/af_packet/af_packet.c
src/vnet/devices/af_packet/device.c