diff options
author | 2008-09-18 15:16:30 +0000 | |
---|---|---|
committer | 2008-09-18 15:16:30 +0000 | |
commit | 813a735f41a385058bf2de685b40100e238d480e (patch) | |
tree | 62316a0fa334da64ee378e3b5d8a30449734acd9 /sys/dev/pci/if_bge.c | |
parent | Rework the drm locking to be at least halfway sane. The freebsd code (diff) | |
download | wireguard-openbsd-813a735f41a385058bf2de685b40100e238d480e.tar.xz wireguard-openbsd-813a735f41a385058bf2de685b40100e238d480e.zip |
Introduce the infrastructure required to support hardware VLAN tag
stripping: Add a field to the mbuf pkthdr to hold the tag and an
mbuf flag that tells if the tag is valid. Inspired by FreeBSD.
Struct packing suggested by kettenis@. csum_flags is now 16 bits.
Adapt to this in the drivers.
ok reyk@, henning@
Diffstat (limited to 'sys/dev/pci/if_bge.c')
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 1c330c05fe9..943ddcce938 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.243 2008/09/10 14:01:22 blambert Exp $ */ +/* $OpenBSD: if_bge.c,v 1.244 2008/09/18 15:16:30 naddy Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -2449,7 +2449,7 @@ bge_rxeof(struct bge_softc *sc) u_int32_t rxidx; struct mbuf *m = NULL; #ifdef BGE_CHECKSUM - int sumflags = 0; + u_int16_t sumflags = 0; #endif cur_rx = &sc->bge_rdata-> |