Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4125699pxu; Mon, 30 Nov 2020 18:43:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRyP79mn+uQjv6yFITg6+UREfzHlMnB1i51L3q/1XAheEwg5qeYYNm1T1XdzX3MMGzg+36 X-Received: by 2002:a17:906:5847:: with SMTP id h7mr952101ejs.124.1606790628221; Mon, 30 Nov 2020 18:43:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606790628; cv=none; d=google.com; s=arc-20160816; b=o5usnO6XRe/5LReFLKuB2o5aaTLOUNKF2WcVMm9BVCwEcuddiq6XiuWsp8gTarGxxe 5Cp/tlIxuVG2jYY/cv25RTnnOm/dCYORRdbUztv3YtfADfOMkxwdB3PyGPHxggQ9Q1yT VZ64nsX4BxcC6VBAVd5LlJQF/sGaxxSRn8Huu0CtcGu6RZtKtpJss/zhoUWcYns+ma0K 45DI4nYAdhnICrVHfLk9uV9ixadkVm0mY0LnnwkfWy4/fjrJ13D3zq9OVZHsd/Raahij UiG02cialR7GzDGPUtcYOaFloId/L+fDfI9VBxGlOkal6FZfCJPBpVag2fgVfCPvr9XF v0gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=cUm+F4cZCMzZGTJcHVk6zgj6IkQn0JD1n6GoeDnS/q4=; b=UUsaJQLnDLATWzevL9VxUMo3Jtg+lldEi2sTRqFhnCoy5jAy7/Xow06AZ/pu0IUCfQ LT+OwMMDdLGeu1UN4/7x5AXM0S3U/wcjcCgL4WFdexiDCTB97pJYFC+KtVfCWuHhXSXO oEOiQoOyloI9V9pLTeJyITAzPNcy6ZnddU02OM09K1Oeki+qVEknow9e2WUjnNxQtFga XObiNWqij9XWKFL53u/PXzNtFmy0SJV0kca6w1mHJ/XWs1pJeGsExQp3puxBXARP3Cr9 1u/Iwunpwjl2dqakiqRHdiKZQ5gW5p/OvoY/f6Wfs8BwlzEFEFph0gULwXDggjLDmtyU uPsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox26si108381ejb.605.2020.11.30.18.43.25; Mon, 30 Nov 2020 18:43:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388710AbgLABTd (ORCPT + 99 others); Mon, 30 Nov 2020 20:19:33 -0500 Received: from mga17.intel.com ([192.55.52.151]:30970 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729103AbgLABTd (ORCPT ); Mon, 30 Nov 2020 20:19:33 -0500 IronPort-SDR: 8AtsTZcyYNEjZdsGices1gIEJBEV+pwm/3PwHVwG12TFm3gYs2VtdVzNU7eRziC08Qpg+fdMXx 5slXKFiPTqsg== X-IronPort-AV: E=McAfee;i="6000,8403,9821"; a="152573314" X-IronPort-AV: E=Sophos;i="5.78,382,1599548400"; d="scan'208";a="152573314" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2020 17:18:53 -0800 IronPort-SDR: zqrZDTpcBY429/48iEvx829mVfItS5dLAJ+RZ+qfqbrJX8xmkv7rTiKJIz8IxntzwfwT4ijMCp nens/ksfw/og== X-IronPort-AV: E=Sophos;i="5.78,382,1599548400"; d="scan'208";a="549340012" Received: from chenyu-office.sh.intel.com ([10.239.158.173]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2020 17:18:49 -0800 From: Chen Yu To: Jesse Brandeburg , Tony Nguyen , Jakub Kicinski , Kai-Heng Feng , Paul Menzel Cc: "David S. Miller" , "Rafael J. Wysocki" , Len Brown , "Neftin, Sasha" , "Kirsher, Jeffrey T" , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Brandt, Todd E" , Chen Yu Subject: [PATCH 0/2][v3] Put the NIC in runtime suspended during s2ram Date: Tue, 1 Dec 2020 09:21:14 +0800 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The NIC is put in runtime suspend status when there is no cable connected. As a result, it is safe to keep non-wakeup NIC in runtime suspended during s2ram because the system does not rely on the NIC plug event nor WoL to wake up the system. Besides that, unlike the s2idle, s2ram does not need to manipulate S0ix settings during suspend. Chen Yu (2): e1000e: Leverage direct_complete to speed up s2ram e1000e: Remove the runtime suspend restriction on CNP+ drivers/net/ethernet/intel/e1000e/netdev.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 2.17.1