linux_dsm_epyc7002/drivers/net/ethernet
Jan Sokolowski 32c23b47db i40e: Properly check allowed advertisement capabilities
The i40e_set_link_ksettings and i40e_get_link_ksettings use different
codepaths to check available and supported advertisement modes. This
creates scenarios where it's possible to set a mode that's not allowed,
resulting in a link down.

Fix setting advertisement in i40e_set_link_ksettings by calling
i40e_get_link_ksettings to check what modes are allowed.

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-03-19 09:42:20 -07:00
..
3com
8390 net/mac8390: Fix log messages 2018-02-21 14:14:05 -05:00
adaptec
adi
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon
amd net: amd8111e: remove redundant assignment to 'tx_index' 2018-03-04 18:17:27 -05:00
apm
apple net/macmace: Drop redundant MACH_IS_MAC test 2018-02-28 12:00:27 -05:00
aquantia Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-02-24 00:04:20 -05:00
arc
atheros
aurora
broadcom tg3: APE heartbeat changes 2018-02-19 14:16:52 -05:00
brocade
cadence net: macb: Add phy-handle DT support 2018-03-16 11:14:33 -04:00
calxeda
cavium liquidio: Simplified napi poll 2018-03-16 15:03:26 -04:00
chelsio cxgb4: Fix queue free path of ULD drivers 2018-03-17 17:20:03 -04:00
cirrus net/mac89x0: Replace custom debug logging with netif_* calls 2018-03-01 21:21:36 -05:00
cisco enic: drop IP proto check for vxlan tunnel delete 2018-03-16 09:50:40 -04:00
cortina
davicom
dec
dlink
emulex emulex/benet: Constify *be_misconfig_evt_port_state[] 2018-02-28 11:39:40 -05:00
ezchip
faraday
freescale Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-03-06 01:20:46 -05:00
fujitsu
hisilicon net: hns3: add result checking for VF when modify unicast mac address 2018-03-11 22:53:32 -04:00
hp
huawei
i825xx
ibm ibmvnic: Remove unused TSO resources in TX pool structure 2018-03-17 20:12:39 -04:00
intel i40e: Properly check allowed advertisement capabilities 2018-03-19 09:42:20 -07:00
marvell net: mvpp2: Add support for unicast filtering 2018-03-07 15:53:39 -05:00
mediatek net: mediatek: Explicitly include pinctrl headers 2018-02-05 09:41:54 -08:00
mellanox mlxsw: spectrum_kvdl: Make some functions static 2018-03-12 11:19:25 -04:00
micrel
microchip lan743x: make functions lan743x_csr_read and lan743x_csr_read static 2018-03-12 11:12:38 -04:00
moxa
myricom
natsemi net/sonic: Replace custom debug logging with netif_* calls 2018-02-26 14:40:02 -05:00
neterion
netronome nfp: advertise firmware for mixed 10G/25G mode 2018-02-22 15:22:50 -05:00
nuvoton
nvidia
nxp
oki-semi
packetengines
pasemi
qlogic qlogic/qed: Constify *pkt_type_str[] 2018-02-28 11:39:40 -05:00
qualcomm net: drivers/net: Remove unnecessary skb_copy_expand OOM messages 2018-03-15 14:28:03 -04:00
rdc
realtek r8169: switch to device-managed functions in probe (part 2) 2018-03-04 18:15:17 -05:00
renesas ravb: remove erroneous comment 2018-03-07 10:40:14 -05:00
rocker
samsung
seeq
sfc sfc: support FEC configuration through ethtool 2018-03-14 13:12:15 -04:00
sgi
silan
sis
smsc net/smc9194: Remove bogus CONFIG_MAC reference 2018-02-22 14:44:37 -05:00
socionext
stmicro net: stmmac: make dwmac4_release_tx_desc() clear all descriptor fields 2018-02-27 14:28:10 -05:00
sun sun: Add SPDX license tags to Sun network drivers 2018-02-07 21:51:02 -05:00
synopsys
tehuti
ti net: ethernet: ti: cpsw: enable vlan rx vlan offload 2018-03-17 19:51:01 -04:00
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
netx-eth.c