From: Shota Suzuki <suzuki_shota_t3@lab.ntt.co.jp> To: jeffrey.t.kirsher@intel.com, jesse.brandeburg@intel.com, shannon.nelson@intel.com, carolyn.wyborny@intel.com, donald.c.skidmore@intel.com, matthew.vick@intel.com, john.ronciak@intel.com, mitch.a.williams@intel.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org Cc: suzuki_shota_t3@lab.ntt.co.jp Subject: [PATCH net-next 1/2] igb: Remove unnecessary flag setting in igb_set_flag_queue_pairs() Date: Fri, 11 Dec 2015 18:43:59 +0900 [thread overview] Message-ID: <1449827040-1806-1-git-send-email-suzuki_shota_t3@lab.ntt.co.jp> (raw) 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> --- drivers/net/ethernet/intel/igb/igb_main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 3d4b502..340ba4fb 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -2922,14 +2922,6 @@ void igb_set_flag_queue_pairs(struct igb_adapter *adapter, /* Device supports enough interrupts without queue pairing. */ break; case e1000_82576: - /* If VFs are going to be allocated with RSS queues then we - * should pair the queues in order to conserve interrupts due - * to limited supply. - */ - if ((adapter->rss_queues > 1) && - (adapter->vfs_allocated_count > 6)) - adapter->flags |= IGB_FLAG_QUEUE_PAIRS; - /* fall through */ case e1000_82580: case e1000_i350: case e1000_i354: -- 1.8.3.1
WARNING: multiple messages have this Message-ID (diff)
From: Shota Suzuki <suzuki_shota_t3@lab.ntt.co.jp> To: intel-wired-lan@osuosl.org Subject: [Intel-wired-lan] [PATCH net-next 1/2] igb: Remove unnecessary flag setting in igb_set_flag_queue_pairs() Date: Fri, 11 Dec 2015 18:43:59 +0900 [thread overview] Message-ID: <1449827040-1806-1-git-send-email-suzuki_shota_t3@lab.ntt.co.jp> (raw) 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> --- drivers/net/ethernet/intel/igb/igb_main.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 3d4b502..340ba4fb 100644 --- a/drivers/net/ethernet/intel/igb/igb_main.c +++ b/drivers/net/ethernet/intel/igb/igb_main.c @@ -2922,14 +2922,6 @@ void igb_set_flag_queue_pairs(struct igb_adapter *adapter, /* Device supports enough interrupts without queue pairing. */ break; case e1000_82576: - /* If VFs are going to be allocated with RSS queues then we - * should pair the queues in order to conserve interrupts due - * to limited supply. - */ - if ((adapter->rss_queues > 1) && - (adapter->vfs_allocated_count > 6)) - adapter->flags |= IGB_FLAG_QUEUE_PAIRS; - /* fall through */ case e1000_82580: case e1000_i350: case e1000_i354: -- 1.8.3.1
next reply other threads:[~2015-12-11 9:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-12-11 9:43 Shota Suzuki [this message] 2015-12-11 9:43 ` [Intel-wired-lan] [PATCH net-next 1/2] igb: Remove unnecessary flag setting in igb_set_flag_queue_pairs() Shota Suzuki 2015-12-11 9:44 ` [PATCH net-next 2/2] igb: Unpair the queues when changing the number of queues Shota Suzuki 2015-12-11 9:44 ` [Intel-wired-lan] " Shota Suzuki 2015-12-19 3:25 ` Brown, Aaron F 2015-12-19 3:25 ` Brown, Aaron F 2015-12-19 3:24 ` [PATCH net-next 1/2] igb: Remove unnecessary flag setting in igb_set_flag_queue_pairs() Brown, Aaron F 2015-12-19 3:24 ` [Intel-wired-lan] " Brown, Aaron F
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1449827040-1806-1-git-send-email-suzuki_shota_t3@lab.ntt.co.jp \ --to=suzuki_shota_t3@lab.ntt.co.jp \ --cc=carolyn.wyborny@intel.com \ --cc=donald.c.skidmore@intel.com \ --cc=intel-wired-lan@lists.osuosl.org \ --cc=jeffrey.t.kirsher@intel.com \ --cc=jesse.brandeburg@intel.com \ --cc=john.ronciak@intel.com \ --cc=matthew.vick@intel.com \ --cc=mitch.a.williams@intel.com \ --cc=netdev@vger.kernel.org \ --cc=shannon.nelson@intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.