Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265591
b: refs/heads/master
c: 4fa2e0e
h: refs/heads/master
i:
  265589: b1f1a6f
  265587: e92ca67
  265583: 2f7c46f
v: v3
  • Loading branch information
John Fastabend authored and Jeff Kirsher committed Aug 29, 2011
1 parent a8962c6 commit a08fab2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 09dca476e3201baac2dcbddc857b83aa25cbdf2e
refs/heads/master: 4fa2e0e178b23819283839b64dcb56f0f259ba39
4 changes: 2 additions & 2 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4481,7 +4481,7 @@ static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc,
break;
case ixgbe_mac_82599EB:
case ixgbe_mac_X540:
if (num_tcs == 8) {
if (num_tcs > 4) {
if (tc < 3) {
*tx = tc << 5;
*rx = tc << 4;
Expand All @@ -4492,7 +4492,7 @@ static void ixgbe_get_first_reg_idx(struct ixgbe_adapter *adapter, u8 tc,
*tx = ((tc + 8) << 3);
*rx = tc << 4;
}
} else if (num_tcs == 4) {
} else {
*rx = tc << 5;
switch (tc) {
case 0:
Expand Down

0 comments on commit a08fab2

Please sign in to comment.