]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/bnxt_re: Allocate multiple notification queues
authorSelvin Xavier <selvin.xavier@broadcom.com>
Wed, 2 Aug 2017 08:46:18 +0000 (01:46 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 18 Aug 2017 19:08:30 +0000 (15:08 -0400)
commit3c0285f8a8634f9be5921117922bb024cb1d67a1
treec67d1089b42bde370228e44587ac42851477a5c4
parent107aebbc48028967ad6ccd5d1c1773c286ac573d
RDMA/bnxt_re: Allocate multiple notification queues

Enables multiple Interrupt vectors. Driver is requesting the max
MSIX vectors based on the number of online  cpus and creates upto
9 MSIx vectors (1 for control path and 8 for data path).
A tasklet is created for each of these vectors. NQs are assigned
to CQs in round robin fashion.
This patch also adds IRQ affinity hint for the MSIX vector of each NQ.

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/bnxt_re.h
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/main.c
drivers/infiniband/hw/bnxt_re/qplib_fp.c
drivers/infiniband/hw/bnxt_re/qplib_fp.h