diff options
Diffstat (limited to 'sys/dev/ic/gemreg.h')
-rw-r--r-- | sys/dev/ic/gemreg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/ic/gemreg.h b/sys/dev/ic/gemreg.h index ff983484230..53169b9b64a 100644 --- a/sys/dev/ic/gemreg.h +++ b/sys/dev/ic/gemreg.h @@ -530,4 +530,11 @@ struct gem_desc { #define GEM_RD_BUFSHIFT 16 #define GEM_RD_BUFLEN(x) (((x)&GEM_RD_BUFSIZE)>>GEM_RD_BUFSHIFT) +#ifndef EVL_ENCAPLEN /* defined if NVLAN > 0 */ +#define EVL_ENCAPLEN 0 #endif + +#define GEM_MTU \ + (ETHERMTU + EVL_ENCAPLEN + sizeof(u_int32_t) + sizeof(struct ether_header)) + +#endif /* _IF_GEMREG_H */ |