X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_ethernet.h;h=c4725a9c84181fa6b3a3aa744f70dbd44ad684eb;hp=dadb7755636c2e772cdac2d0f347f3d964e4c9cb;hb=926fe574cd42bb860c19fd04610451c24b6d42b6;hpb=83942e281e4e17d6eb296d343094578dc50b3b0b diff --git a/palacios/include/palacios/vmm_ethernet.h b/palacios/include/palacios/vmm_ethernet.h index dadb775..c4725a9 100644 --- a/palacios/include/palacios/vmm_ethernet.h +++ b/palacios/include/palacios/vmm_ethernet.h @@ -28,9 +28,9 @@ #define ETH_ALEN 6 #define MIN_MTU 68 -#define MAX_MTU 65535 +#define MAX_MTU 65536 -#define MAX_PACKET_LEN (MAX_MTU) +#define MAX_PACKET_LEN (MAX_MTU + ETHERNET_HEADER_LEN) #ifdef V3_CONFIG_VNET extern int net_debug;