Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291389
b: refs/heads/master
c: 35551c4
h: refs/heads/master
i:
  291387: aa9c18f
v: v3
  • Loading branch information
Jeff Kirsher committed Mar 13, 2012
1 parent 7dd6cf5 commit 0a1196c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 51a76c30929cc8b7d541f51e634f146e54ea9bb7
refs/heads/master: 35551c47495a762fcfa5ca6217bf3eb36983d0df
6 changes: 0 additions & 6 deletions trunk/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -2108,8 +2108,6 @@ static int ixgbe_get_coalesce(struct net_device *netdev,
{
struct ixgbe_adapter *adapter = netdev_priv(netdev);

ec->tx_max_coalesced_frames_irq = adapter->tx_work_limit;

/* only valid if in constant ITR mode */
if (adapter->rx_itr_setting <= 1)
ec->rx_coalesce_usecs = adapter->rx_itr_setting;
Expand Down Expand Up @@ -2177,9 +2175,6 @@ static int ixgbe_set_coalesce(struct net_device *netdev,
&& ec->tx_coalesce_usecs)
return -EINVAL;

if (ec->tx_max_coalesced_frames_irq)
adapter->tx_work_limit = ec->tx_max_coalesced_frames_irq;

if ((ec->rx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)) ||
(ec->tx_coalesce_usecs > (IXGBE_MAX_EITR >> 2)))
return -EINVAL;
Expand Down Expand Up @@ -2214,7 +2209,6 @@ static int ixgbe_set_coalesce(struct net_device *netdev,

for (i = 0; i < num_vectors; i++) {
q_vector = adapter->q_vector[i];
q_vector->tx.work_limit = adapter->tx_work_limit;
if (q_vector->tx.count && !q_vector->rx.count)
/* tx only */
q_vector->itr = tx_itr_param;
Expand Down

0 comments on commit 0a1196c

Please sign in to comment.