[openib-general] OpenSM: check MAD response rather than request method when VENDOR_RMPP_FLAGS not defined
Hal Rosenstock
halr at voltaire.com
Tue Jan 18 08:41:21 PST 2005
osm_sa_pkey_record.c:
In osm_pkey_rec_rcv_process when VENDOR_RMPP_SUPPORT is not defined,
check response MAD method rather than request MAD method for GetTable
to determine whether to set RMPP type to DATA and RMPP flags
Index: osm_sa_pkey_record.c
===================================================================
--- osm_sa_pkey_record.c (revision 1550)
+++ osm_sa_pkey_record.c (revision 1551)
@@ -513,7 +513,7 @@
#ifndef VENDOR_RMPP_SUPPORT
/* we support only one packet RMPP - so we will set the first and
last flags for gettable */
- if (p_rcvd_mad->method == IB_MAD_METHOD_GETTABLE_RESP)
+ if (p_resp_sa_mad->method == IB_MAD_METHOD_GETTABLE_RESP)
{
p_resp_sa_mad->rmpp_type = IB_RMPP_TYPE_DATA;
p_resp_sa_mad->rmpp_flags = IB_RMPP_FLAG_FIRST | IB_RMPP_FLAG_LAST | IB_RMPP_FLAG_ACTIVE;
More information about the general
mailing list