e1000e: Export S0ix flags to ethtool
authorMario Limonciello <mario.limonciello@dell.com>
Mon, 14 Dec 2020 19:29:35 +0000 (13:29 -0600)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 23 Dec 2020 23:18:34 +0000 (15:18 -0800)
commit3c98cbf22a96c1b12f48c1b2a4680dfe5cb280f9
treedc0a62293f192a2a2bd5b5927d27b3647835bd85
parent6cecf02e77ab9bf97e9252f9fcb8f0738a6de12c
e1000e: Export S0ix flags to ethtool

This flag can be used by an end user to disable S0ix flows on a
buggy system or by an OEM for development purposes.

If you need this flag to be persisted across reboots, it's suggested
to use a udev rule to call adjust it until the kernel could have your
configuration in a disallow list.

Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Yijun Shen <Yijun.shen@dell.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ethtool.c
drivers/net/ethernet/intel/e1000e/netdev.c