artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a24fbc
)
Set MTU size to ~4k until the TX path is ready to deal with larger packets
author
mikeb
<mikeb@openbsd.org>
Mon, 29 Aug 2016 17:35:25 +0000
(17:35 +0000)
committer
mikeb
<mikeb@openbsd.org>
Mon, 29 Aug 2016 17:35:25 +0000
(17:35 +0000)
sys/dev/pv/if_xnf.c
patch
|
blob
|
history
diff --git
a/sys/dev/pv/if_xnf.c
b/sys/dev/pv/if_xnf.c
index
a128899
..
ccc5b57
100644
(file)
--- a/
sys/dev/pv/if_xnf.c
+++ b/
sys/dev/pv/if_xnf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_xnf.c,v 1.3
3 2016/08/29 17:27:04
mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.3
4 2016/08/29 17:35:25
mikeb Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
@@
-290,7
+290,7
@@
xnf_attach(struct device *parent, struct device *self, void *aux)
ifp->if_softc = sc;
if (sc->sc_caps & XNF_CAP_SG)
- ifp->if_hardmtu =
9000
;
+ ifp->if_hardmtu =
XNF_MCLEN - ETHER_HDR_LEN
;
ifp->if_capabilities = IFCAP_VLAN_MTU;
if (sc->sc_caps & XNF_CAP_CSUM4)