Skip to content
Commit ceb27759 authored by Shota Suzuki's avatar Shota Suzuki Committed by Jeff Kirsher
Browse files

igb: Remove unnecessary flag setting in igb_set_flag_queue_pairs()



If VFs are enabled (max_vfs >= 1), both max_rss_queues and
adapter->rss_queues are set to 2 in the case of e1000_82576.
In this case, IGB_FLAG_QUEUE_PAIRS is always set in the default block as a
result of fall-through, thus setting it in the e1000_82576 block is not
necessary.

Signed-off-by: default avatarShota Suzuki <suzuki_shota_t3@lab.ntt.co.jp>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 667f0063
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment