igb: Unpair the queues when changing the number of queues
[deliverable/linux.git] / drivers / net / ethernet / intel / igb / igb_main.c
index eb24b403534f1bb33906d393a3af17fd0cf61980..85c47aa16a31f4c82b56200ac603c5df75e42ec1 100644 (file)
@@ -2931,6 +2931,8 @@ void igb_set_flag_queue_pairs(struct igb_adapter *adapter,
                 */
                if (adapter->rss_queues > (max_rss_queues / 2))
                        adapter->flags |= IGB_FLAG_QUEUE_PAIRS;
+               else
+                       adapter->flags &= ~IGB_FLAG_QUEUE_PAIRS;
                break;
        }
 }
This page took 0.024517 seconds and 5 git commands to generate.