[openib-general] [PATCH] OpenSM/osm_sa_mcmember_record.c: In __mgrp_request_is_realizable, set default selectors to exactly
Hal Rosenstock
halr at voltaire.com
Mon Jul 17 13:17:31 PDT 2006
OpenSM/osm_sa_mcmember_record.c: In __mgrp_request_is_realizable, set
default selectors to exactly
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Index: opensm/osm_sa_mcmember_record.c
===================================================================
--- opensm/osm_sa_mcmember_record.c (revision 8559)
+++ opensm/osm_sa_mcmember_record.c (working copy)
@@ -1063,9 +1063,9 @@ __mgrp_request_is_realizable(
IN ib_member_rec_t * p_mcm_rec,
IN const osm_physp_t* const p_physp)
{
- uint8_t mtu_sel;
+ uint8_t mtu_sel = 2; /* exactly */
uint8_t mtu_required, mtu, port_mtu;
- uint8_t rate_sel;
+ uint8_t rate_sel = 2; /* exactly */
uint8_t rate_required, rate, port_rate;
osm_log_t *p_log = p_rcv->p_log;
ib_port_info_t *p_pi = NULL;
More information about the general
mailing list