diff options
author | Shota Suzuki <suzuki_shota_t3@lab.ntt.co.jp> | 2015-12-11 18:43:59 +0900 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-02-15 16:09:39 -0800 |
commit | ceb27759987ec10ba22332bd7fdf1cfb35b86991 (patch) | |
tree | 3eb4848d8d821de414409e0e5ffc1ec1fb34c2d2 /drivers/net/ethernet/intel/igbvf | |
parent | 667f00630ebefc4d73aa105c6ab254e4aec867f8 (diff) |
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: Shota Suzuki <suzuki_shota_t3@lab.ntt.co.jp>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igbvf')
0 files changed, 0 insertions, 0 deletions