diff options
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c index b6e745f277cc..afad5aa5a12b 100644 --- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c +++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c | |||
@@ -1575,11 +1575,9 @@ static int i40e_set_coalesce(struct net_device *netdev, | |||
1575 | } else if (ec->rx_coalesce_usecs == 0) { | 1575 | } else if (ec->rx_coalesce_usecs == 0) { |
1576 | vsi->rx_itr_setting = ec->rx_coalesce_usecs; | 1576 | vsi->rx_itr_setting = ec->rx_coalesce_usecs; |
1577 | if (ec->use_adaptive_rx_coalesce) | 1577 | if (ec->use_adaptive_rx_coalesce) |
1578 | netif_info(pf, drv, netdev, | 1578 | netif_info(pf, drv, netdev, "rx-usecs=0, need to disable adaptive-rx for a complete disable\n"); |
1579 | "Rx-secs=0, need to disable adaptive-Rx for a complete disable\n"); | ||
1580 | } else { | 1579 | } else { |
1581 | netif_info(pf, drv, netdev, | 1580 | netif_info(pf, drv, netdev, "Invalid value, rx-usecs range is 0-8160\n"); |
1582 | "Invalid value, Rx-usecs range is 0, 8-8160\n"); | ||
1583 | return -EINVAL; | 1581 | return -EINVAL; |
1584 | } | 1582 | } |
1585 | 1583 | ||
@@ -1589,11 +1587,10 @@ static int i40e_set_coalesce(struct net_device *netdev, | |||
1589 | } else if (ec->tx_coalesce_usecs == 0) { | 1587 | } else if (ec->tx_coalesce_usecs == 0) { |
1590 | vsi->tx_itr_setting = ec->tx_coalesce_usecs; | 1588 | vsi->tx_itr_setting = ec->tx_coalesce_usecs; |
1591 | if (ec->use_adaptive_tx_coalesce) | 1589 | if (ec->use_adaptive_tx_coalesce) |
1592 | netif_info(pf, drv, netdev, | 1590 | netif_info(pf, drv, netdev, "tx-usecs=0, need to disable adaptive-tx for a complete disable\n"); |
1593 | "Tx-secs=0, need to disable adaptive-Tx for a complete disable\n"); | ||
1594 | } else { | 1591 | } else { |
1595 | netif_info(pf, drv, netdev, | 1592 | netif_info(pf, drv, netdev, |
1596 | "Invalid value, Tx-usecs range is 0, 8-8160\n"); | 1593 | "Invalid value, tx-usecs range is 0-8160\n"); |
1597 | return -EINVAL; | 1594 | return -EINVAL; |
1598 | } | 1595 | } |
1599 | 1596 | ||