Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1508329

Re: [PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors enabled when non RDPQ card is enumerated first.

From Tomas Henzl <thenzl@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors enabled when non RDPQ card is enumerated first.
Date 2016-10-25 16:40 +0200
Message-ID <swb3s-6RL-27@gated-at.bofh.it> (permalink)
References <sukDU-7vO-15@gated-at.bofh.it> <sukDV-7vO-51@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 20.10.2016 14:20, Suganath Prabu S wrote:
> No. of MSIX vectors supported = min (Total no. of CPU cores,
> MSIX vectors supported by card)
>
> when RDPQ is disabled "max_msix_vectors" module parameter which was
> declared as global was set to '8' and hence if there are more than one card
> in system among which if RDPQ disabled card is enumerated first then only 8
> MSIX vectors was getting enabled for all the cards(including RDPQ enabled
> card,which can support more than 8 MSIX vectors).
>
> Used local variable instead of global variable ,if RDPQ is disabled this
> local variable is set to '8' else it is set to "max_msix_vectors" (by
> default this is set to -1, whose value can be set by user during driver
> load time).So now regardless of whether RDPQ disabled card is enumerated
> first or RDPQ enabled card is enumerated first , MSIX vectors enabled
> depends on the cards capability.
>
> Signed-off-by: Chaitra P B <chaitra.basappa@broadcom.com>
> Signed-off-by: Sathya Prakash <sathya.prakash@broadcom.com>
> Signed-off-by: Suganath Prabu S <suganath-prabu.subramani@broadcom.com>

Reviewed-by: Tomas Henzl <thenzl@redhat.com>

Tomas

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors  enabled when  non RDPQ card is enumerated first. Suganath Prabu S <suganath-prabu.subramani@broadcom.com> - 2016-10-20 14:30 +0200
  Re: [PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors  enabled when non RDPQ card is enumerated first. Hannes Reinecke <hare@suse.de> - 2016-10-24 16:50 +0200
  Re: [PATCH 02/10] mpt3sas: Fix for incorrect numbers for MSIX vectors  enabled when non RDPQ card is enumerated first. Tomas Henzl <thenzl@redhat.com> - 2016-10-25 16:40 +0200

csiph-web