linux_dsm_epyc7002/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: Fix a bunch of off by one bugs in qplib_fp.c 2018-07-04 12:06:26 -06:00
cxgb3 IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
cxgb4 iw_cxgb4: remove duplicate memcpy() in c4iw_create_listen() 2018-06-18 16:06:01 -06:00
hfi1 IB/hfi1: Remove incorrect call to do_interrupt callback 2018-07-03 14:29:12 -06:00
hns IB/mlx5: Remove set-but-not-used variables 2018-07-03 14:14:21 -06:00
i40iw RDMA/i40w: Hold read semaphore while looking after VMA 2018-07-04 11:51:06 -06:00
mlx4 IB/mlx4: Test port number before querying type. 2018-07-04 11:48:27 -06:00
mlx5 RDMA/uverbs: Simplify UVERBS_ATTR family of macros 2018-07-04 13:47:01 -06:00
mthca IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
nes IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
ocrdma IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
qedr IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
qib IB/core: add max_send_sge and max_recv_sge attributes 2018-06-18 13:17:28 -06:00
usnic IB/usnic: Update with bug fixes from core code 2018-06-25 14:38:28 -06:00
vmw_pvrdma vmw_pvrdma: Release netdev when vmxnet3 module is removed 2018-07-03 15:52:31 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00