socsvn commit: r306409 - soc2016/vincenzo/head/sys/dev/netmap
vincenzo at FreeBSD.org
vincenzo at FreeBSD.org
Mon Jul 18 09:06:11 UTC 2016
Author: vincenzo
Date: Mon Jul 18 09:06:09 2016
New Revision: 306409
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=306409
Log:
freebsd: use TUNABLE_INT macro to change ptnet_vnet_hdr
Modified:
soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
Modified: soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c
==============================================================================
--- soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jul 18 09:06:00 2016 (r306408)
+++ soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c Mon Jul 18 09:06:09 2016 (r306409)
@@ -99,7 +99,8 @@
#endif /* !DEBUG */
/* Tunable parameters. */
-static bool ptnet_vnet_hdr = true;
+static int ptnet_vnet_hdr = 0;
+TUNABLE_INT("hw.ptnet.vnet_hdr", &ptnet_vnet_hdr);
struct ptnet_softc;
More information about the svn-soc-all
mailing list