]> asedeno.scripts.mit.edu Git - linux.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)
commitbcf7cc534cd40f8098850274e8459fb0d088fcda
tree362bc5746f234c39790b94e8f4285f5e712ee6d2
parent25d24f4241f7bccdc1978daa026d8847e04a73a6
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