Skip to content

Commit

Permalink
IB/sa: fix ib_sa_selector names
Browse files Browse the repository at this point in the history
Relevant SA queries are actually "greater than" / "less than", not
"greater than or equal" / "less than or equal" as the names imply.
(See IB spec 1.2 Vol 1, 15.2.5.16 PATHRECORD/Table 205 PathRecord)

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Michael S. Tsirkin authored and Roland Dreier committed Sep 22, 2006
1 parent 5755d6d commit aec79fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/rdma/ib_sa.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ enum {
};

enum ib_sa_selector {
IB_SA_GTE = 0,
IB_SA_LTE = 1,
IB_SA_GT = 0,
IB_SA_LT = 1,
IB_SA_EQ = 2,
/*
* The meaning of "best" depends on the attribute: for
Expand Down

0 comments on commit aec79fc

Please sign in to comment.