aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/ixgbe_netmap.h
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2012-04-13 16:42:54 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2012-04-13 16:42:54 +0000
commit9b034c6f0876772d4526a403f8da75992f37ecf0 (patch)
tree813fa1aa7e17084be7b165f9ef2ef5ba71a23604 /sys/dev/netmap/ixgbe_netmap.h
parentccdc3305e42b64cd16b3e072519d3fd0b7686848 (diff)
Notes
Diffstat (limited to 'sys/dev/netmap/ixgbe_netmap.h')
-rw-r--r--sys/dev/netmap/ixgbe_netmap.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/netmap/ixgbe_netmap.h b/sys/dev/netmap/ixgbe_netmap.h
index 4f52ed8abc90..fb539636d46f 100644
--- a/sys/dev/netmap/ixgbe_netmap.h
+++ b/sys/dev/netmap/ixgbe_netmap.h
@@ -112,13 +112,12 @@ static void
set_crcstrip(struct ixgbe_hw *hw, int onoff)
{
/* crc stripping is set in two places:
- * IXGBE_HLREG0 (left alone by the original driver)
+ * IXGBE_HLREG0 (modified on init_locked and hw reset)
* IXGBE_RDRXCTL (set by the original driver in
* ixgbe_setup_hw_rsc() called in init_locked.
* We disable the setting when netmap is compiled in).
- * When netmap is compiled in we disabling IXGBE_RDRXCTL
- * modifications of the IXGBE_RDRXCTL_CRCSTRIP bit, and
- * instead update the state here.
+ * We update the values here, but also in ixgbe.c because
+ * init_locked sometimes is called outside our control.
*/
uint32_t hl, rxc;