From owner-svn-src-all@FreeBSD.ORG Sat Jun 25 16:55:23 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EE9C106566B; Sat, 25 Jun 2011 16:55:23 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF1F78FC08; Sat, 25 Jun 2011 16:55:22 +0000 (UTC) Received: by qwc9 with SMTP id 9so2422540qwc.13 for ; Sat, 25 Jun 2011 09:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/G31MaKoWrJEvN9GtqhMIRPePj+gbnzRTmUvEUrT9A4=; b=Vn8CUIgsWe53Xa7p7G2oKF+2yCCSSGUr5r00f4e/+siiqCWYQHAaMMozn5lKmPFMgI UyBFbDPCo5KVSM7XToCWBg7Ait/t4hbU4993MJfg/f9bMiZUs8e6GLvhQaAE2Su+PiHS SAxTeiWkRAZ8fGqtdSbCVHkFJcH2zgRk8knRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=McBtjxgcQtFJ1IAXSIpyygem+2F02wtcCTYBfvTFZkT+/Pq8bm9cR//EiCy3UegLJd sPuU8Ivwf172znHYeVmmye5Hp/UL9YoWEj4axc+konCOXJyxsVPK6PeHSluK+qHDcnkK PUMop4FGkrMWdMG0rhiU3iTLaQq6EnJ2VAUWQ= MIME-Version: 1.0 Received: by 10.229.35.1 with SMTP id n1mr11198qcd.84.1309020921208; Sat, 25 Jun 2011 09:55:21 -0700 (PDT) Sender: pluknet@gmail.com Received: by 10.229.227.130 with HTTP; Sat, 25 Jun 2011 09:55:21 -0700 (PDT) In-Reply-To: <201106202259.p5KMxT1h069297@svn.freebsd.org> References: <201106202259.p5KMxT1h069297@svn.freebsd.org> Date: Sat, 25 Jun 2011 20:55:21 +0400 X-Google-Sender-Auth: Sx9z0uPeZ1Gt202loq5TiS6fp40 Message-ID: From: Sergey Kandaurov To: Jack F Vogel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r223350 - head/sys/dev/e1000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2011 16:55:23 -0000 On 21 June 2011 02:59, Jack F Vogel wrote: > Author: jfv > Date: Mon Jun 20 22:59:29 2011 > New Revision: 223350 > URL: http://svn.freebsd.org/changeset/base/223350 > > Log: > =A0Eliminate some global tuneables in favor of adapter-specific, > =A0particular flow control and dma coalesce. Also improve the > =A0sysctl operation on those too. > > =A0Add IPv6 detection in the ioctl code, this was done for > =A0ixgbe first, carrying that over. > > =A0Add resource ability to disable particular adapter. > > =A0Add HW TSO capability so vlans can make use of TSO This change breaks LINT-NOINET amd64 and i386 builds. ixgbe is broken in the same way in r222588. Something like this should fix it (not tested). Index: sys/dev/e1000/if_igb.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/dev/e1000/if_igb.c (revision 223490) +++ sys/dev/e1000/if_igb.c (working copy) @@ -1049,8 +1049,10 @@ ifp->if_flags |=3D IFF_UP; if (!(ifp->if_drv_flags & IFF_DRV_RUNNING)) igb_init(adapter); +#ifdef INET if (!(ifp->if_flags & IFF_NOARP)) arp_ifinit(ifp, ifa); +#endif } else #endif error =3D ether_ioctl(ifp, command, data); --=20 wbr, pluknet