RE: [PATCH net-next 09/10] bnxt_en: Support for "ethtool -r" command

2016-09-19 Thread Mintz, Yuval
> Restart autoneg if autoneg is enabled. > + if (!(link_info->autoneg & BNXT_AUTONEG_SPEED)) > + return -EINVAL; Looks like a lot of the of implementations of this ethtool are unconditionally doing the reset. Perhaps the right thing to do is check for autoneg availability at the e

[PATCH net-next 09/10] bnxt_en: Support for "ethtool -r" command

2016-09-19 Thread Michael Chan
From: Deepak Khungar Restart autoneg if autoneg is enabled. Signed-off-by: Deepak Khungar Signed-off-by: Michael Chan --- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool