Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=247e020ee5e2a7bf46f2d7a3d4490a670a712a40
Commit:     247e020ee5e2a7bf46f2d7a3d4490a670a712a40
Parent:     7ce86409adcd2fda652b628173a66e905950ece1
Author:     Sean Hefty <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 8 15:51:18 2007 -0700
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 19:59:12 2007 -0700

    IB/srp: Add QoS support through service ID
    
    Provide the target service ID when performing a path record query to
    support optional QoS capability.  QoS requires support from the SA.
    
    Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
---
 drivers/infiniband/ulp/srp/ib_srp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/infiniband/ulp/srp/ib_srp.c 
b/drivers/infiniband/ulp/srp/ib_srp.c
index f6a0514..9ccc638 100644
--- a/drivers/infiniband/ulp/srp/ib_srp.c
+++ b/drivers/infiniband/ulp/srp/ib_srp.c
@@ -285,6 +285,7 @@ static int srp_lookup_path(struct srp_target_port *target)
                                                   target->srp_host->dev->dev,
                                                   target->srp_host->port,
                                                   &target->path,
+                                                  IB_SA_PATH_REC_SERVICE_ID    
|
                                                   IB_SA_PATH_REC_DGID          
|
                                                   IB_SA_PATH_REC_SGID          
|
                                                   IB_SA_PATH_REC_NUMB_PATH     
|
@@ -1692,6 +1693,7 @@ static int srp_parse_options(const char *buf, struct 
srp_target_port *target)
                                goto out;
                        }
                        target->service_id = cpu_to_be64(simple_strtoull(p, 
NULL, 16));
+                       target->path.service_id = target->service_id;
                        kfree(p);
                        break;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to