* [Intel-wired-lan] [next S4 v2 04/11] i40e: add functions stubs to support EEE
@ 2019-03-30 0:04 Jeff Kirsher
2019-04-05 21:34 ` Bowers, AndrewX
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Kirsher @ 2019-03-30 0:04 UTC (permalink / raw)
To: intel-wired-lan
From: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
This patch adds functions stubs to support EEE on/off.
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
---
v2: fixed merge issue
drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
index 2c81afbd7c58..ffeab550b1aa 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_ethtool.c
@@ -5141,6 +5141,16 @@ static int i40e_get_module_eeprom(struct net_device *netdev,
return 0;
}
+static int i40e_get_eee(struct net_device *netdev, struct ethtool_eee *edata)
+{
+ return -EOPNOTSUPP;
+}
+
+static int i40e_set_eee(struct net_device *netdev, struct ethtool_eee *edata)
+{
+ return -EOPNOTSUPP;
+}
+
static const struct ethtool_ops i40e_ethtool_recovery_mode_ops = {
.set_eeprom = i40e_set_eeprom,
.get_eeprom_len = i40e_get_eeprom_len,
@@ -5168,6 +5178,8 @@ static const struct ethtool_ops i40e_ethtool_ops = {
.set_rxnfc = i40e_set_rxnfc,
.self_test = i40e_diag_test,
.get_strings = i40e_get_strings,
+ .get_eee = i40e_get_eee,
+ .set_eee = i40e_set_eee,
.set_phys_id = i40e_set_phys_id,
.get_sset_count = i40e_get_sset_count,
.get_ethtool_stats = i40e_get_ethtool_stats,
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Intel-wired-lan] [next S4 v2 04/11] i40e: add functions stubs to support EEE
2019-03-30 0:04 [Intel-wired-lan] [next S4 v2 04/11] i40e: add functions stubs to support EEE Jeff Kirsher
@ 2019-04-05 21:34 ` Bowers, AndrewX
0 siblings, 0 replies; 2+ messages in thread
From: Bowers, AndrewX @ 2019-04-05 21:34 UTC (permalink / raw)
To: intel-wired-lan
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Friday, March 29, 2019 5:05 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Loktionov, Aleksandr <aleksandr.loktionov@intel.com>
> Subject: [Intel-wired-lan] [next S4 v2 04/11] i40e: add functions stubs to
> support EEE
>
> From: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
>
> This patch adds functions stubs to support EEE on/off.
>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
> ---
> v2: fixed merge issue
>
> drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-05 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-30 0:04 [Intel-wired-lan] [next S4 v2 04/11] i40e: add functions stubs to support EEE Jeff Kirsher
2019-04-05 21:34 ` Bowers, AndrewX
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.