Skip to content

Commit 54c9016

Browse files
Edward Creekuba-moo
authored andcommitted
sfc: don't fail probe if MAE/TC setup fails
Existing comment in the source explains why we don't want efx_init_tc() failure to be fatal. Cited commit erroneously consolidated failure paths causing the probe to be failed in this case. Fixes: 7e056e2 ("sfc: obtain device mac address based on firmware handle for ef100") Reviewed-by: Martin Habets <habetsm.xilinx@gmail.com> Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Link: https://lore.kernel.org/r/aa7f589dd6028bd1ad49f0a85f37ab33c09b2b45.1692114888.git.ecree.xilinx@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent fa165e1 commit 54c9016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/sfc/ef100_nic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ int ef100_probe_netdev_pf(struct efx_nic *efx)
11941194
net_dev->features |= NETIF_F_HW_TC;
11951195
efx->fixed_features |= NETIF_F_HW_TC;
11961196
}
1197-
return rc;
1197+
return 0;
11981198
}
11991199

12001200
int ef100_probe_vf(struct efx_nic *efx)

0 commit comments

Comments
 (0)