]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set the DROP_EN bit before the RX queue is brought up and active.
authorAdrian Chadd <adrian@FreeBSD.org>
Wed, 15 Oct 2014 01:22:56 +0000 (01:22 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Wed, 15 Oct 2014 01:22:56 +0000 (01:22 +0000)
commitbba61d1a89eb429250de43064874eed79c258f45
tree2f4c558ed6e369d4280b6a2ba212a043270cb3f1
parent55056be25481e74c5efb7243fffc1eb83db1e965
Set the DROP_EN bit before the RX queue is brought up and active.

He noticed issues setting this bit in SRRCTL after the queue was up,
so doing it from the sysctl handler isn't enough and may not actually
work correctly.

This commit doesn't remove the sysctl path or try to change its
behaviour.  I'll talk with others about how to finish fixing that
before I tackle that.

PR: kern/194311
Submitted by: luigi
MFC after: 3 days
Sponsored by: Norse Corp, Inc
sys/dev/ixgbe/ixgbe.c