RDMA/efa: Entropy in admin commands id
authorDaniel Kranzdorf <dkkranzd@amazon.com>
Sun, 30 Jun 2019 14:53:02 +0000 (17:53 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 4 Jul 2019 17:31:09 +0000 (14:31 -0300)
commitbcde9a83b13ede042fd76e4cf0b759b6d6c0abe9
treeb29ad830e30faee18d53c645434a7593bd07362e
parent91b01061fef9c57d2f5b712a6322ef51061f4efd
RDMA/efa: Entropy in admin commands id

Make admin commands id easier to distinguish by using relevant bits from
the producer counter.
This allows us to differentiate admin commands with the same producer
index (happens after admin queue overlap), which is helpful when
debugging.

Signed-off-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Firas JahJah <firasj@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_com.c