OpenCloudOS-Kernel/drivers/net/ethernet/chelsio/cxgb4vf
Zhengchao Shao c6092ea1e6 cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()
When t4vf_update_port_info() failed in cxgb4vf_open(), resources applied
during adapter goes up are not cleared. Fix it. Only be compiled, not be
tested.

Fixes: 18d79f721e ("cxgb4vf: Update port information in cxgb4vf_open()")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109012100.99132-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-11-09 19:30:30 -08:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adapter.h ethernet: chelsio: use eth_hw_addr_set() 2021-10-02 14:18:25 +01:00
cxgb4vf_main.c cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open() 2022-11-09 19:30:30 -08:00
sge.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
t4vf_common.h cxgb4vf: configure ports accessible by the VF 2020-06-30 15:54:25 -07:00
t4vf_defs.h
t4vf_hw.c cxgb4/cxgb4vf: Fix typo in comments 2022-06-23 20:55:27 -07:00