headers/deps: RDMA: Optimize <rdma/ib_verbs.h> dependencies, remove <linux/xarray_api.h> inclusion

          --------------------------------------------------------------------
          | Combined, preprocessed C code size of header, without line markers,
          | with comments stripped:
          -------------------------
  before: | #include <rdma/ib_verbs.h>              | LOC: 33,285 | headers:  551
   after: | #include <rdma/ib_verbs.h>              | LOC: 32,342 | headers:  539

Convert ib_get_client_data() to a macro: this API is only used in 6 .c files,
half of which already include <linux/xarray_api.h>, while the <rdma/ib_verbs.h>
header is included in over 600 .c files.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 file changed