diff options
author | Bart Van Assche <bvanassche@acm.org> | 2010-11-26 19:37:47 (GMT) |
---|---|---|
committer | David Dillow <dillowda@ornl.gov> | 2011-01-10 20:44:49 (GMT) |
commit | 76c75b258f1fe6abac6af2356989ad4d6518886e (patch) | |
tree | 754db154ad76e44b5ecc6da71097a6f1c096ec6f /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 536ae14e7588e85203d4b4147c041309be5b3efb (diff) | |
download | linux-76c75b258f1fe6abac6af2356989ad4d6518886e.tar.xz |
IB/srp: reduce local coverage for command submission and EH
We only need locks to protect our lists and number of credits available.
By pre-consuming the credit for the request, we can reduce our lock
coverage to just those areas. If we don't actually send the request,
we'll need to put the credit back into the pool.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out and small cleanups by David Dillow ]
Signed-off-by: David Dillow <dillowda@ornl.gov>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 924d8e9..81686ee 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -168,7 +168,6 @@ struct srp_iu { void *buf; size_t size; enum dma_data_direction direction; - enum srp_iu_type type; }; #endif /* IB_SRP_H */ |