linux/drivers/net/ethernet/intel/i40e
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
..
i40e.h i40e: Add and delete cloud filter 2018-02-14 09:43:22 -08:00
i40e_adminq.c i40e: cleanup unnecessary parens 2018-01-26 13:23:28 -08:00
i40e_adminq.h
i40e_adminq_cmd.h i40e: link_down_on_close private flag support 2018-02-26 11:48:06 -08:00
i40e_alloc.h
i40e_client.c i40e: Disable iWARP VSI PETCP_ENA flag on netdev down events 2018-01-23 11:29:19 -08:00
i40e_client.h i40e: Disable iWARP VSI PETCP_ENA flag on netdev down events 2018-01-23 11:29:19 -08:00
i40e_common.c i40e: fix for wrong partition id calculation on OCP mezz cards 2018-03-14 12:32:53 -07:00
i40e_dcb.c
i40e_dcb.h
i40e_dcb_nl.c
i40e_debugfs.c i40e: don't leak memory addresses 2018-02-13 11:40:10 -08:00
i40e_devids.h
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Properly check allowed advertisement capabilities 2018-03-19 09:42:20 -07:00
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_main.c i40e: restore TCPv4 input set when re-enabling ATR 2018-03-14 12:34:35 -07:00
i40e_nvm.c
i40e_osdep.h
i40e_prototype.h i40e: Display LLDP information on vSphere Web Client 2018-01-26 13:23:11 -08:00
i40e_ptp.c
i40e_register.h
i40e_status.h i40e: Add returning AQ critical error to SW 2018-01-26 13:22:56 -08:00
i40e_trace.h
i40e_txrx.c i40e/i40evf: use SW variables for hang detection 2018-02-26 12:33:27 -08:00
i40e_txrx.h i40e/i40evf: use SW variables for hang detection 2018-02-26 12:33:27 -08:00
i40e_type.h i40e: fix for wrong partition id calculation on OCP mezz cards 2018-03-14 12:32:53 -07:00
i40e_virtchnl_pf.c i40e: Fix permission check for VF MAC filters 2018-03-14 12:23:11 -07:00
i40e_virtchnl_pf.h i40e: Add and delete cloud filter 2018-02-14 09:43:22 -08:00
Makefile