Date: Mon, 18 Jul 2016 09:06:10 GMT From: vincenzo@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r306409 - soc2016/vincenzo/head/sys/dev/netmap Message-ID: <201607180906.u6I96ATb097819@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607180906.u6I96ATb097819>