linux_dsm_epyc7002/drivers/infiniband
Jason Gunthorpe d108dac080 RDMA/uverbs: Simplify UVERBS_ATTR family of macros
Instead of using a complex cascade of macros, just directly provide the
initializer list each of the declarations is trying to create.

Now that the macros are simplified this also reworks the uverbs_attr_spec
to be friendly to older compilers by eliminating any unnamed
structures/unions inside, and removing the duplication of some fields. The
structure size remains at 16 bytes which was the original motivation for
some of this oddness.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2018-07-04 13:47:01 -06:00
..
core RDMA/uverbs: Simplify UVERBS_ATTR family of macros 2018-07-04 13:47:01 -06:00
hw RDMA/uverbs: Simplify UVERBS_ATTR family of macros 2018-07-04 13:47:01 -06:00
sw IB/rxe: don't clear the tx queue on every transfer 2018-06-29 12:26:13 -06:00
ulp ib_srpt: Fix a use-after-free in __srpt_close_all_ch() 2018-07-03 14:14:21 -06:00
Kconfig RDMA/ucm: Mark UCM interface as BROKEN 2018-05-24 09:39:25 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00