RDMA/rxe: Make rxe_type_info static const
authorJoe Perches <joe@perches.com>
Sun, 24 Oct 2021 17:13:14 +0000 (10:13 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 28 Oct 2021 11:58:27 +0000 (08:58 -0300)
commit000b8490ecacb3ad5145314ca235c0a17d0187bf
tree08defd2b122db10285aa9e09db746a52d19b6cef
parente30bb300a401a65b985c6af1f799080c80e1b950
RDMA/rxe: Make rxe_type_info static const

Make struct rxe_type_info static const and local to the only uses.  Moves
a bit of data to text.

$ size drivers/infiniband/sw/rxe/rxe_pool.o* (defconfig w/ infiniband swe)
   text    data     bss     dec     hex filename
   4456      12       0    4468    1174 drivers/infiniband/sw/rxe/rxe_pool.o.new
   3817     652       0    4469    1175 drivers/infiniband/sw/rxe/rxe_pool.o.old

Link: https://lore.kernel.org/r/166b715d71f98336e8ecab72b0dbdd266eee9193.camel@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_pool.h