compiling failed with RSS enabled

From: Eric L. Camachat <eric.camachat_at_gmail.com>
Date: Mon, 01 Dec 2014 22:21:34 -0800
-----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)
_at__at_ -2880,7 +2880,7 _at__at_

 #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-----
Received on Tue Dec 02 2014 - 05:21:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:54 UTC