From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 06:21:37 2014 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87F45C61; Tue, 2 Dec 2014 06:21:37 +0000 (UTC) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EA6F87C; Tue, 2 Dec 2014 06:21:37 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id z20so10253469igj.10 for ; Mon, 01 Dec 2014 22:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=/vfxHFcMadQy/iwhRaSWiSnz0a6nv/q4NbzWV2zj8gQ=; b=OYNMosWghXuMUO1YhGmeKKLzhFNlbSbqhrkMnEXN6+PGwaiUDsVMuZ/JXPkVKMpDdR 6fZUGkCieQrrRGM7UiiPUtjVoJUymgEnkS8h9Li5YMxDlEmNcFo939Ytjoq1uHHPoMvA vlvdAl1TjM6BvNbTwn1AKA4ki1xVDHIx8dXld6N6BijvGYvwFrTSuPtl8IY5O4JtsjaB fgzMXY7xYgOuWuTWp2GE9KcdadwEZdfCi3loWx/RGVNeEaC6Y+ikUb6GCivHD9SYscCN +gTkRw8kAJ/GzvPP8GGU7AVgkTmY9xmumvYBD5jG3AaSLNVIcaW61h6BFta0KavlTEqE ltog== X-Received: by 10.51.17.66 with SMTP id gc2mr6630406igd.27.1417501296777; Mon, 01 Dec 2014 22:21:36 -0800 (PST) Received: from ketagalan.camachat.org ([2601:9:4700:360:a288:b4ff:fec2:e5d0]) by mx.google.com with ESMTPSA id qc7sm5368822igb.5.2014.12.01.22.21.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Dec 2014 22:21:36 -0800 (PST) Message-ID: <547D5A6E.5050806@gmail.com> Date: Mon, 01 Dec 2014 22:21:34 -0800 From: "Eric L. Camachat" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Adrian Chadd , FreeBSD Current Subject: compiling failed with RSS enabled Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2014 06:21:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 current failed to compile due to queues uninitialized at line 2883 in if_igb.c. from the context I guess it should be n_queues instead of queues. Index: sys/dev/e1000/if_igb.c =================================================================== - --- sys/dev/e1000/if_igb.c (revision 275391) +++ sys/dev/e1000/if_igb.c (working copy) @@ -2880,7 +2880,7 @@ #ifdef RSS /* If we're doing RSS, clamp at the number of RSS buckets */ - - if (queues > rss_getnumbuckets()) + if (n_queues > rss_getnumbuckets()) queues = rss_getnumbuckets(); #endif Eric -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlR9WmoACgkQSfBQu3oOwYxnrQD6Ah1uhoNaM3YTXHdOpOA7hw4j vZUCA9VU6n/jhUEneVkBALETmBfQudmEz9/eqnmsmer8RbulQdqIKTa8InSvE2yw =jLcf -----END PGP SIGNATURE-----