Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 17:16:59 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Michael Tuexen <tuexen@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r259644 - head/sys/dev/ixgbe
Message-ID:  <20131220131659.GQ71033@FreeBSD.org>
In-Reply-To: <79AC6A0A-D8DC-4AFC-8699-5E9D6E437C20@freebsd.org>
References:  <201312201057.rBKAvlpg010156@svn.freebsd.org> <79AC6A0A-D8DC-4AFC-8699-5E9D6E437C20@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 20, 2013 at 02:12:42PM +0100, Michael Tuexen wrote:
M> On Dec 20, 2013, at 11:57 AM, Gleb Smirnoff <glebius@FreeBSD.org> wrote:
M> 
M> I think you need something like
M> 
M> [bsd5:~/head] tuexen% svn diff
M> Index: sys/dev/ixgbe/ixgbe.c
M> ===================================================================
M> --- sys/dev/ixgbe/ixgbe.c	(revision 259645)
M> +++ sys/dev/ixgbe/ixgbe.c	(working copy)
M> @@ -3592,8 +3592,10 @@
M>  static void
M>  ixgbe_txeof(struct tx_ring *txr)
M>  {
M> +#ifdef DEV_NETMAP
M>  	struct adapter		*adapter = txr->adapter;
M>  	struct ifnet		*ifp = adapter->ifp;
M> +#endif
M>  	u32			work, processed = 0;
M>  	u16			limit = txr->process_limit;
M>  	struct ixgbe_tx_buf	*buf;
M> 
M> to get it compiling if DEV_NETMAP is not defined.

Thanks, Michael. And sorry for broken build.

-- 
Totus tuus, Glebius.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131220131659.GQ71033>