From ffc6bdcd38b8209050671d3d86f943c37887a7b7 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 1 Feb 2021 17:13:59 +0100 Subject: devices: af-packet gso mtu Type: fix Set the GSO flag when buffer length exceeds the linux mtu. Don't listen for mtu changes on linux side for now. This also fixes a TX issue, as we only search for valid frames on tx to the extent of n_left, we might stay stuck. Change-Id: Idf0bdd88990254a614962c2f7bc3e0292ccfd61a Signed-off-by: Nathan Skrzypczak --- src/vnet/devices/af_packet/af_packet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vnet/devices/af_packet/af_packet.h') diff --git a/src/vnet/devices/af_packet/af_packet.h b/src/vnet/devices/af_packet/af_packet.h index 395f2d93fdf..fc35b48b85e 100644 --- a/src/vnet/devices/af_packet/af_packet.h +++ b/src/vnet/devices/af_packet/af_packet.h @@ -48,6 +48,7 @@ typedef struct u32 per_interface_next_index; u8 is_admin_up; u32 queue_index; + u32 host_mtu; } af_packet_if_t; typedef struct -- cgit 1.2.3-korg