We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5902ee6 commit 6a0d989Copy full SHA for 6a0d989
drivers/net/ethernet/intel/iavf/iavf_main.c
@@ -1420,8 +1420,10 @@ void iavf_down(struct iavf_adapter *adapter)
1420
iavf_clear_fdir_filters(adapter);
1421
iavf_clear_adv_rss_conf(adapter);
1422
1423
- if (!(adapter->flags & IAVF_FLAG_PF_COMMS_FAILED) &&
1424
- !(test_bit(__IAVF_IN_REMOVE_TASK, &adapter->crit_section))) {
+ if (adapter->flags & IAVF_FLAG_PF_COMMS_FAILED)
+ return;
1425
+
1426
+ if (!test_bit(__IAVF_IN_REMOVE_TASK, &adapter->crit_section)) {
1427
/* cancel any current operation */
1428
adapter->current_op = VIRTCHNL_OP_UNKNOWN;
1429
/* Schedule operations to close down the HW. Don't wait
0 commit comments