Commit aec79fcc3ea3b536a2788b4e22b7ebabbb176485

Authored by Michael S. Tsirkin
Committed by Roland Dreier
1 parent 5755d6dad9

IB/sa: fix ib_sa_selector names

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>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/rdma/ib_sa.h
... ... @@ -83,8 +83,8 @@
83 83 };
84 84  
85 85 enum ib_sa_selector {
86   - IB_SA_GTE = 0,
87   - IB_SA_LTE = 1,
  86 + IB_SA_GT = 0,
  87 + IB_SA_LT = 1,
88 88 IB_SA_EQ = 2,
89 89 /*
90 90 * The meaning of "best" depends on the attribute: for