]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: Store default GID property per-table instead of per-entry
authorParav Pandit <parav@mellanox.com>
Tue, 5 Jun 2018 05:40:14 +0000 (08:40 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 04:32:04 +0000 (22:32 -0600)
commitbd1f7015928a7a32572b84c56f855ad0e4c280f7
treeb07f40f4ec6dda31729d245396032858531a7e80
parent8d2f53b986c597c60030bd6d8d452eba001ddfb7
IB/core: Store default GID property per-table instead of per-entry

There are at max one or two default GIDs for RoCE. Instead of storing
a default GID property for all the GIDs, store default GID indices as
individual bit per table.

This allows a future simplification to get rid of the GID property field.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cache.c