]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sif: eq: increase cq_eq_max to 46
authorHakon Bugge <Haakon.Bugge@oracle.com>
Fri, 8 Jul 2016 10:39:19 +0000 (12:39 +0200)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 27 Jul 2016 17:24:21 +0000 (10:24 -0700)
commit1ef1959d58ed54e2e72556c6e07a5e8d49aa8d99
treea0945858786de65a56c25dff1acfd004c7632635
parent7df48f2a9e4da85ac1d5367dae71cef51056ca24
sif: eq: increase cq_eq_max to 46

PSIF supports 48 msi-x interrupts. We associate one msi-x per event
queue (EQ). Further, PSIF need one eq for epsc and one for async
events from the hardware. That leaves 46 for completion notification
events or completion vectors.

This commit also reduces the number of completion notification event
queues to the lesser of the number of cpus present and the default.

Note, this requires fw 1.0.0.1 or newer...

Orabug: 23705843

Change-Id: Iea9101bf09203dff86403453a7e0690cb31b3756
Signed-off-by: Hakon Bugge <Haakon.Bugge@oracle.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
drivers/infiniband/hw/sif/sif_epsc.c
drivers/infiniband/hw/sif/sif_main.c