]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/efa: Store network attributes in device attributes
authorGal Pressman <galpress@amazon.com>
Thu, 21 Nov 2019 14:15:07 +0000 (16:15 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Nov 2019 14:31:47 +0000 (10:31 -0400)
commitb0e3b834c016b6590c3b7e6837edec6273067da6
tree362bc5746f234c39790b94e8f4285f5e712ee6d2
parent11f54f1852f4f4dbbb5771d206a8c9ed5e2ecb0f
RDMA/efa: Store network attributes in device attributes

There's no reason to separate the network attributes from all other
device attributes. Embed the fields inside the device attributes and
query them all in one function.

Link: https://lore.kernel.org/r/20191121141509.59297-2-galpress@amazon.com
Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa.h
drivers/infiniband/hw/efa/efa_com_cmd.c
drivers/infiniband/hw/efa/efa_com_cmd.h
drivers/infiniband/hw/efa/efa_main.c
drivers/infiniband/hw/efa/efa_verbs.c