e1000e: Alert the user that C-states will be disabled by enabling jumbo frames
authorMatt Turner <matt.turner@intel.com>
Tue, 14 Nov 2017 23:51:33 +0000 (15:51 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 24 Jan 2018 20:27:48 +0000 (12:27 -0800)
I personally spent a long time trying to decypher why my CPU would not
reach deeper C-states. Let's just tell the next user what's going on.

Signed-off-by: Matt Turner <matt.turner@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@oracle.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c

index 5af93ce5acc6187360b9c6693df39e28f86555ba..1298b69f990b40628ef1fbb353e6d9f1bfafdd76 100644 (file)
@@ -3306,6 +3306,8 @@ static void e1000_configure_rx(struct e1000_adapter *adapter)
                        ew32(RXDCTL(0), rxdctl | 0x3 | BIT(8));
                }
 
+               dev_info(&adapter->pdev->dev,
+                        "Some CPU C-states have been disabled in order to enable jumbo frames\n");
                pm_qos_update_request(&adapter->pm_qos_req, lat);
        } else {
                pm_qos_update_request(&adapter->pm_qos_req,