Date: Sat, 20 Aug 2016 00:08:11 +0000 (UTC) From: Eric Joyner <erj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r304510 - head/sys/dev/ixl Message-ID: <201608200008.u7K08Bok069627@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: erj Date: Sat Aug 20 00:08:10 2016 New Revision: 304510 URL: https://svnweb.freebsd.org/changeset/base/304510 Log: ixlv(4): Fix ixlv(4) not loading when loaded as a kernel module and netmap is enabled. Define (unused) netmap variables; ixlv(4) doesn't support netmap yet. Reported by: sergey.kozlov@intel.com Sponsored by: Intel Corporation Modified: head/sys/dev/ixl/if_ixlv.c Modified: head/sys/dev/ixl/if_ixlv.c ============================================================================== --- head/sys/dev/ixl/if_ixlv.c Fri Aug 19 23:44:07 2016 (r304509) +++ head/sys/dev/ixl/if_ixlv.c Sat Aug 20 00:08:10 2016 (r304510) @@ -217,6 +217,10 @@ TUNABLE_INT("hw.ixlv.tx_itr", &ixlv_tx_i SYSCTL_INT(_hw_ixlv, OID_AUTO, tx_itr, CTLFLAG_RDTUN, &ixlv_tx_itr, 0, "TX Interrupt Rate"); +/* Fix when building as a standalone module when netmap is enabled */ +#if defined(DEV_NETMAP) && !defined(NETMAP_IXL_MAIN) +int ixl_rx_miss, ixl_rx_miss_bufs, ixl_crcstrip; +#endif /********************************************************************* * Device identification routine
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608200008.u7K08Bok069627>