linux_dsm_epyc7002/drivers/net/ethernet/chelsio
Ganesh Goudar bc1b50309c cxgb4: do not return DUPLEX_UNKNOWN when link is down
We were returning DUPLEX_UNKNOWN in get_link_ksettings() when
the link was down.  Unfortunately, this causes a problem when
"ethtool -s autoneg on" is issued for a link which is down because
the ethtool code first reads the settings and then reapplies them
with only the changes provided on the command line. Which results
in us diving into set_link_ksettings() with DUPLEX_UNKNOWN which is
not DUPLEX_FULL, so set_link_ksettings() throws an -EINVAL error.
do not return DUPLEX_UNKNOWN to fix the issue.

Signed-off-by: Casey Leedom <leedom@chelsio.com>
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-16 13:43:10 -07:00
..
cxgb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
cxgb3 net: cxgb3: add error handling for sysfs_create_group 2018-06-15 09:15:24 -07:00
cxgb4 cxgb4: do not return DUPLEX_UNKNOWN when link is down 2018-07-16 13:43:10 -07:00
cxgb4vf net: chelsio: Use zeroing memory allocator instead of allocator/memset 2018-06-04 16:07:30 -04:00
libcxgb libcxgb,cxgb4: use __skb_put_zero to simplfy code 2018-04-30 11:53:48 -04:00
Kconfig cxgb4: enable ZLIB_DEFLATE when building cxgb4 2018-01-24 10:56:59 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00