]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: IB: restore the vector spreading for the CQs
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 10 Jun 2016 04:05:54 +0000 (21:05 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 10 Jun 2016 19:36:12 +0000 (12:36 -0700)
commit12d79d5f8552a7a6164e650dc58a9ca08c7a10b9
treed62c6ed3303cc242b8ffadcfe5a6ab801bcd93fe
parentc38cf04d801729fc7436930f0fad0290d184ecba
RDS: IB: restore the vector spreading for the CQs

Since the IB_CQ_LEAST_LOADED vector support is not their on newer
kernels(post OFED 1.5), we had #if 0 code for it which got removed
as part of 'commit 3f1db626594e ("RDS: IB: drop discontinued IB
CQ_VECTOR support")'. On UEK2, the drivers had implementation
for this IB verb. UEK4 which is based on newer kernel obviously
doesn't support it.

RDS had an alternate fallback scheme which can be used in absence
of the dropped verb. On UEK2, we didn't use it but UEK4 RDS code was
silently using that till the code got removed. The patch restores
that code with bit more clarity on what it is actually doing.

Orabug: 23550561

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib_cm.c