RDMA: Mark if destroy address handle is in a sleepable context
Introduce a 'flags' field to destroy address handle callback and add a flag that marks whether the callback is executed in an atomic context or not. This will allow drivers to wait for completion instead of polling for it when it is allowed. Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

gecommit door
Jason Gunthorpe

bovenliggende
b090c4e3a0
commit
2553ba217e
@@ -219,7 +219,7 @@ av_err:
|
||||
return ERR_PTR(status);
|
||||
}
|
||||
|
||||
int ocrdma_destroy_ah(struct ib_ah *ibah)
|
||||
int ocrdma_destroy_ah(struct ib_ah *ibah, u32 flags)
|
||||
{
|
||||
struct ocrdma_ah *ah = get_ocrdma_ah(ibah);
|
||||
struct ocrdma_dev *dev = get_ocrdma_dev(ibah->device);
|
||||
|
Verwijs in nieuw issue
Block a user