1
0
Fork 0
alistair23-linux/drivers/net/ethernet/intel/i40e
Sylwester Dziedziuch 6aba31a7c7 i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
[ Upstream commit 3ac874fa84 ]

When removing VFs for PF added to bridge there was
an error I40E_AQ_RC_EINVAL. It was caused by not properly
resetting and reinitializing PF when adding/removing VFs.
Changed how reset is performed when adding/removing VFs
to properly reinitialize PFs VSI.

Fixes: fc60861e9b ("i40e: start up in VEPA mode by default")
Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-12 20:16:10 +01:00
..
Makefile i40e: Implement DDP support in i40e driver 2019-04-16 15:10:21 -07:00
i40e.h i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 2021-01-12 20:16:10 +01:00
i40e_adminq.c i40e: Add drop mode parameter to set mac config 2019-08-22 13:24:13 -07:00
i40e_adminq.h
i40e_adminq_cmd.h i40e: Set RX_ONLY mode for unicast promiscuous on VLAN 2020-08-26 10:41:00 +02:00
i40e_alloc.h
i40e_client.c i40e: Use struct_size() in kzalloc() 2019-05-04 17:34:43 -07:00
i40e_client.h
i40e_common.c i40e: Set RX_ONLY mode for unicast promiscuous on VLAN 2020-08-26 10:41:00 +02:00
i40e_dcb.c i40e: Persistent LLDP support 2019-08-22 13:24:14 -07:00
i40e_dcb.h i40e: Persistent LLDP support 2019-08-22 13:24:14 -07:00
i40e_dcb_nl.c
i40e_ddp.c i40e: Implement DDP support in i40e driver 2019-04-16 15:10:21 -07:00
i40e_debugfs.c i40e: Remove EMPR traces from debugfs facility 2019-09-09 11:36:43 -07:00
i40e_devids.h i40e: Add support for X710 B/P & SFP+ cards 2019-05-04 17:24:48 -07:00
i40e_diag.c
i40e_diag.h
i40e_ethtool.c i40e: Wrong 'Advertised FEC modes' after set FEC to AUTO 2019-12-31 16:44:23 +01:00
i40e_hmc.c i40e: Implement debug macro hw_dbg using dev_dbg 2019-09-09 11:22:20 -07:00
i40e_hmc.h
i40e_lan_hmc.c i40e: fix hw_dbg usage in i40e_hmc_get_object_va 2019-09-09 10:18:18 -07:00
i40e_lan_hmc.h
i40e_main.c i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 2021-01-12 20:16:10 +01:00
i40e_nvm.c i40e: Persistent LLDP support 2019-08-22 13:24:14 -07:00
i40e_osdep.h i40e: Implement debug macro hw_dbg using dev_dbg 2019-09-09 11:22:20 -07:00
i40e_prototype.h i40e: Persistent LLDP support 2019-08-22 13:24:14 -07:00
i40e_ptp.c i40e: use ktime_get_real_ts64 instead of ktime_to_timespec64 2019-09-11 09:10:45 -07:00
i40e_register.h i40e: check_recovery_mode had wrong if statement 2019-08-22 13:24:13 -07:00
i40e_status.h
i40e_trace.h
i40e_txrx.c i40e: avoid premature Rx buffer reuse 2020-12-30 11:50:56 +01:00
i40e_txrx.h net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
i40e_txrx_common.h i40e: DRY rx_ptype handling code 2018-12-12 15:46:02 -08:00
i40e_type.h i40e: Persistent LLDP support 2019-08-22 13:24:14 -07:00
i40e_virtchnl_pf.c i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 2021-01-12 20:16:10 +01:00
i40e_virtchnl_pf.h i40e: don't report link up for a VF who hasn't enabled queues 2019-08-05 11:42:05 -07:00
i40e_xsk.c i40e: Refactor rx_bi accesses 2020-12-30 11:50:55 +01:00
i40e_xsk.h xsk: replace ndo_xsk_async_xmit with ndo_xsk_wakeup 2019-08-17 23:07:31 +02:00