]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ib_mad: incoming sminfo SMPs gets discarded if no process_mad function is registered
authorDag Moxnes <dag.moxnes@oracle.com>
Tue, 21 Apr 2015 10:20:02 +0000 (12:20 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Wed, 8 Jul 2015 01:10:55 +0000 (18:10 -0700)
commit24b440a9d3bae8586b64e15a28c96a9625d37356
treec00264d6a3a607e07cf19d3da34e3c9d36eedebf
parent85765163952add2dcef85347a398dc0779c5c163
ib_mad: incoming sminfo SMPs gets discarded if no process_mad function is registered

The process_mad function is an optional IB driver entry point
allows a driver to intercept or modify MAD traffic.

This fix allows MAD traffic to flow down to the device also
when MAD traffic is completely handled by the device and
no process_mad function is provided.

Orabug: 20930262

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/smi.h