android_kernel_xiaomi_sm8350/drivers/infiniband/core
Roland Dreier 8a51866f08 IB: Add ib_modify_qp_is_ok() library function
The in-kernel mthca driver contains a table of which attributes are
valid for each queue pair state transition.  It turns out that both
other IB drivers -- ipath and ehca -- which are being prepared for
merging have copied this table, errors and all.

To forestall this code duplication, move this table and the code to
check parameters against it into a midlayer library function,
ib_modify_qp_is_ok().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-03-20 10:08:12 -08:00
..
agent.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
agent.h
cache.c
cm_msgs.h
cm.c
core_priv.h
device.c
fmr_pool.c IB: Enable FMR pool user to set page size 2006-03-20 10:08:10 -08:00
mad_priv.h
mad_rmpp.c
mad_rmpp.h
mad.c IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
Makefile
packer.c
sa_query.c
smi.c
smi.h IB/mad: Simplify SMI by eliminating smi_check_local_dr_smp() 2006-03-20 10:08:11 -08:00
sysfs.c IB: Allow userspace to set node description 2006-03-20 10:08:09 -08:00
ucm.c
ud_header.c
user_mad.c
uverbs_cmd.c IB: Add userspace support for resizing CQs 2006-03-20 10:08:07 -08:00
uverbs_main.c IB: Add userspace support for resizing CQs 2006-03-20 10:08:07 -08:00
uverbs_mem.c
uverbs.h IB: Add userspace support for resizing CQs 2006-03-20 10:08:07 -08:00
verbs.c IB: Add ib_modify_qp_is_ok() library function 2006-03-20 10:08:12 -08:00