Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265941
b: refs/heads/master
c: 4c1d7b4
h: refs/heads/master
i:
  265939: cbb08ba
v: v3
  • Loading branch information
Alexander Duyck authored and Jeff Kirsher committed Sep 17, 2011
1 parent e000f58 commit 0877114
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 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: d7ccb8c2f2f73a9fcdb8fb0f3bcdd09746f3a9ef
refs/heads/master: 4c1d7b4b5dec6b8a97202d88538c06733173b1c5
13 changes: 4 additions & 9 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3409,16 +3409,12 @@ static void ixgbe_fdir_filter_restore(struct ixgbe_adapter *adapter)

static void ixgbe_configure(struct ixgbe_adapter *adapter)
{
struct net_device *netdev = adapter->netdev;
struct ixgbe_hw *hw = &adapter->hw;
int i;

ixgbe_configure_pb(adapter);
#ifdef CONFIG_IXGBE_DCB
ixgbe_configure_dcb(adapter);
#endif

ixgbe_set_rx_mode(netdev);
ixgbe_set_rx_mode(adapter->netdev);
ixgbe_restore_vlan(adapter);

#ifdef IXGBE_FCOE
Expand All @@ -3427,15 +3423,14 @@ static void ixgbe_configure(struct ixgbe_adapter *adapter)

#endif /* IXGBE_FCOE */
if (adapter->flags & IXGBE_FLAG_FDIR_HASH_CAPABLE) {
for (i = 0; i < adapter->num_tx_queues; i++)
adapter->tx_ring[i]->atr_sample_rate =
adapter->atr_sample_rate;
ixgbe_init_fdir_signature_82599(hw, adapter->fdir_pballoc);
ixgbe_init_fdir_signature_82599(&adapter->hw,
adapter->fdir_pballoc);
} else if (adapter->flags & IXGBE_FLAG_FDIR_PERFECT_CAPABLE) {
ixgbe_init_fdir_perfect_82599(&adapter->hw,
adapter->fdir_pballoc);
ixgbe_fdir_filter_restore(adapter);
}

ixgbe_configure_virtualization(adapter);

ixgbe_configure_tx(adapter);
Expand Down

0 comments on commit 0877114

Please sign in to comment.