Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287535
b: refs/heads/master
c: 4cd6923
h: refs/heads/master
i:
  287533: 54b72f4
  287531: 097a82a
  287527: 68780af
  287519: b6cc97e
v: v3
  • Loading branch information
Greg Rose authored and Jeff Kirsher committed Feb 9, 2012
1 parent 99f8305 commit 9971ac3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a4b08329c74985e5cc3a44b6d2b2c59444ed8079
refs/heads/master: 4cd6923d3481773f3fbcae5ca940c8823aa33475
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ static void ixgbe_configure_virtualization(struct ixgbe_adapter *adapter)
IXGBE_WRITE_REG(hw, IXGBE_VT_CTL, vmdctl | vt_reg_bits);

vf_shift = adapter->num_vfs % 32;
reg_offset = (adapter->num_vfs > 32) ? 1 : 0;
reg_offset = (adapter->num_vfs >= 32) ? 1 : 0;

/* Enable only the PF's pool for Tx/Rx */
IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), (1 << vf_shift));
Expand Down

0 comments on commit 9971ac3

Please sign in to comment.