summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-06-16 22:25:12 -0400
committerDan McDonald <danmcd@joyent.com>2017-06-16 22:25:12 -0400
commit483bfec1aa5a73a38b72bfd7cef9b9f1d42a7d41 (patch)
treebabc541a1eda0dc6505fc768c03d3754d9aa15b8 /usr/src
parent415a310d21931e2c92758fb1bbf6625e01ee1472 (diff)
downloadillumos-joyent-483bfec1aa5a73a38b72bfd7cef9b9f1d42a7d41.tar.gz
8229 ixgbe: misleading-indentation
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/ixgbe/ixgbe_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ixgbe/ixgbe_main.c b/usr/src/uts/common/io/ixgbe/ixgbe_main.c
index d87a3d7dbd..6ed17caa0a 100644
--- a/usr/src/uts/common/io/ixgbe/ixgbe_main.c
+++ b/usr/src/uts/common/io/ixgbe/ixgbe_main.c
@@ -2998,7 +2998,7 @@ ixgbe_setup_rss_table(ixgbe_t *ixgbe)
reta = reta >> 8;
reta = reta | (((uint32_t)ring) << 24);
- if ((i & 3) == 3)
+ if ((i & 3) == 3) {
/*
* The first 128 table entries are programmed into the
* RETA register, with any beyond that (eg; on X550)
@@ -3010,6 +3010,7 @@ ixgbe_setup_rss_table(ixgbe_t *ixgbe)
IXGBE_WRITE_REG(hw, IXGBE_ERETA((i >> 2) - 32),
reta);
reta = 0;
+ }
}
/*