mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
2f944c0fbf
The internal flag IP_BASED_GIDS was added to a field that was being used
to hold the port Info CapabilityMask without considering the effects this
will have. Since most drivers just use the value from the HW MAD it means
IP_BASED_GIDS will also become set on any HW that sets the IBA flag
IsOtherLocalChangesNoticeSupported - which is not intended.
Fix this by keeping port_cap_flags only for the IBA CapabilityMask value
and store unrelated flags externally. Move the bit definitions for this to
ib_mad.h to make it clear what is happening.
To keep the uAPI unchanged define a new set of flags in the uapi header
that are only used by ib_uverbs_query_port_resp.port_cap_flags which match
the current flags supported in rdma-core, and the values exposed by the
current kernel.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pvrdma_cmd.c | ||
pvrdma_cq.c | ||
pvrdma_dev_api.h | ||
pvrdma_doorbell.c | ||
pvrdma_main.c | ||
pvrdma_misc.c | ||
pvrdma_mr.c | ||
pvrdma_qp.c | ||
pvrdma_ring.h | ||
pvrdma_srq.c | ||
pvrdma_verbs.c | ||
pvrdma_verbs.h | ||
pvrdma.h |