Re: compiling failed with RSS enabled

2014-12-02 Thread Adrian Chadd
Ugh!

please file a bug and I'll go take a look at the code soon.

Thanks!


-a


On 1 December 2014 at 22:21, Eric L. Camachat eric.camac...@gmail.com wrote:
 -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-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: compiling failed with RSS enabled

2014-12-02 Thread Eric L. Camachat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 12/02/2014 07:30, Adrian Chadd wrote:
 Ugh!
 
 please file a bug and I'll go take a look at the code soon.
 
 Thanks!
 
 
 -a

Someone already did:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195518

Eric
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlR9+ScACgkQSfBQu3oOwYyNFQD+OOCF2hxRIrHuXfH00HEtLTwe
DeUYVqyM4ZODqIidD3cA/00teVl3L1CB7OANdNDh+fMSHS3coPZqxT6J/uJhDJ0F
=3sM8
-END PGP SIGNATURE-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


compiling failed with RSS enabled

2014-12-01 Thread Eric L. Camachat
-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-
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org