android_kernel_xiaomi_sm8350/drivers/infiniband/core
Jack Morgenstein acaea9ee46 IB/core: Fix SM LID/LID change with client reregister set
After commit 12bbb2b7be, when SM LID
change or LID change MAD also has a client reregistration bit set,
only CLIENT_REREGISTER event is generated.

As a result, the sa_query module and the cache module don't update the
port information, and ULPs (e.g. IPoIB) stop working.  This is the
regression we observe as compared to 2.6.17.

Rather than generate multiple events (which would have negative
performance impact), let us simply let cache and SA query respond to
reregister event in the same way as to LID and SM change events.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-08-16 09:54:47 -07:00
..
addr.c [NET] infiniband: Cleanup ib_addr module to use the netevents 2006-08-02 13:38:22 -07:00
agent.c
agent.h
cache.c IB/core: Fix SM LID/LID change with client reregister set 2006-08-16 09:54:47 -07:00
cm_msgs.h
cm.c IB/cm: Fix error handling in ib_send_cm_req 2006-08-03 09:44:22 -07:00
cma.c [PATCH] IB/cm: set private data length for reject messages 2006-07-14 21:53:50 -07:00
core_priv.h
device.c
fmr_pool.c [PATCH] fmr pool: remove unnecessary pointer dereference 2006-07-14 21:53:51 -07:00
mad_priv.h
mad_rmpp.c [PATCH] drivers: use list_move() 2006-06-26 09:58:18 -07:00
mad_rmpp.h
mad.c IB/mad: Validate MADs for spec compliance 2006-07-24 09:18:07 -07:00
Makefile
packer.c
sa_query.c IB/core: Fix SM LID/LID change with client reregister set 2006-08-16 09:54:47 -07:00
smi.c
smi.h
sysfs.c
ucm.c
ud_header.c
user_mad.c IB/mad: Validate MADs for spec compliance 2006-07-24 09:18:07 -07:00
uverbs_cmd.c IB/uverbs: Fix lockdep warnings 2006-07-23 15:16:04 -07:00
uverbs_main.c IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
uverbs_marshall.c
uverbs_mem.c
uverbs.h IB/uverbs: Avoid a crash on device hot remove 2006-08-03 10:56:42 -07:00
verbs.c