Lines Matching refs:ret

134 	int ret;
136 ret = ndi_prop_update_int64(DDI_DEV_T_NONE, dip, EIB_PROP_HCA_GUID,
138 if (ret != DDI_PROP_SUCCESS) {
140 "%s property to 0x%llx for child dip 0x%llx, ret=%d",
141 EIB_PROP_HCA_GUID, info->ti_hca_guid, dip, ret);
144 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_HCA_PORTNUM,
146 if (ret != DDI_PROP_SUCCESS) {
148 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
149 EIB_PROP_HCA_PORTNUM, info->ti_pi->p_port_num, dip, ret);
152 ret = ndi_prop_update_int64(DDI_DEV_T_NONE, dip, EIB_PROP_GW_SYS_GUID,
154 if (ret != DDI_PROP_SUCCESS) {
156 "%s property to 0x%llx for child dip 0x%llx, ret=%d",
157 EIB_PROP_GW_SYS_GUID, gwi->gw_system_guid, dip, ret);
160 ret = ndi_prop_update_int64(DDI_DEV_T_NONE, dip, EIB_PROP_GW_GUID,
162 if (ret != DDI_PROP_SUCCESS) {
164 "%s property to 0x%llx for child dip 0x%llx, ret=%d",
165 EIB_PROP_GW_GUID, gwi->gw_guid, dip, ret);
168 ret = ndi_prop_update_int64(DDI_DEV_T_NONE, dip, EIB_PROP_GW_SN_PREFIX,
170 if (ret != DDI_PROP_SUCCESS) {
172 "%s property to 0x%llx for child dip 0x%llx, ret=%d",
174 dip, ret);
177 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_ADV_PERIOD,
179 if (ret != DDI_PROP_SUCCESS) {
181 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
182 EIB_PROP_GW_ADV_PERIOD, gwi->gw_adv_period, dip, ret);
185 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_KA_PERIOD,
187 if (ret != DDI_PROP_SUCCESS) {
189 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
190 EIB_PROP_GW_KA_PERIOD, gwi->gw_ka_period, dip, ret);
193 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_VNIC_KA_PERIOD,
195 if (ret != DDI_PROP_SUCCESS) {
197 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
198 EIB_PROP_VNIC_KA_PERIOD, gwi->gw_vnic_ka_period, dip, ret);
201 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_CTRL_QPN,
203 if (ret != DDI_PROP_SUCCESS) {
205 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
206 EIB_PROP_GW_CTRL_QPN, gwi->gw_ctrl_qpn, dip, ret);
209 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_LID,
211 if (ret != DDI_PROP_SUCCESS) {
213 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
214 EIB_PROP_GW_LID, gwi->gw_lid, dip, ret);
217 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_PORTID,
219 if (ret != DDI_PROP_SUCCESS) {
221 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
222 EIB_PROP_GW_PORTID, gwi->gw_portid, dip, ret);
225 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip,
227 if (ret != DDI_PROP_SUCCESS) {
229 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
230 EIB_PROP_GW_NUM_NET_VNICS, gwi->gw_num_net_vnics, dip, ret);
233 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_AVAILABLE,
235 if (ret != DDI_PROP_SUCCESS) {
237 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
238 EIB_PROP_GW_AVAILABLE, gwi->gw_flag_available, dip, ret);
241 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_HOST_VNICS,
243 if (ret != DDI_PROP_SUCCESS) {
245 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
247 dip, ret);
250 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_SL,
252 if (ret != DDI_PROP_SUCCESS) {
254 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
255 EIB_PROP_GW_SL, gwi->gw_sl, dip, ret);
258 ret = ndi_prop_update_int(DDI_DEV_T_NONE, dip, EIB_PROP_GW_N_RSS_QPN,
260 if (ret != DDI_PROP_SUCCESS) {
262 "%s property to 0x%lx for child dip 0x%llx, ret=%d",
263 EIB_PROP_GW_N_RSS_QPN, gwi->gw_n_rss_qpn, dip, ret);
266 ret = ndi_prop_update_string(DDI_DEV_T_NONE, dip, EIB_PROP_GW_SYS_NAME,
268 if (ret != DDI_PROP_SUCCESS) {
270 "%s property to '%s' for child dip 0x%llx, ret=%d",
271 EIB_PROP_GW_SYS_NAME, gwi->gw_system_name, dip, ret);
274 ret = ndi_prop_update_string(DDI_DEV_T_NONE, dip, EIB_PROP_GW_PORT_NAME,
276 if (ret != DDI_PROP_SUCCESS) {
278 "%s property to '%s' for child dip 0x%llx, ret=%d",
279 EIB_PROP_GW_PORT_NAME, gwi->gw_port_name, dip, ret);
282 ret = ndi_prop_update_string(DDI_DEV_T_NONE, dip, EIB_PROP_GW_VENDOR_ID,
284 if (ret != DDI_PROP_SUCCESS) {
286 "%s property to '%s' for child dip 0x%llx, ret=%d",
287 EIB_PROP_GW_VENDOR_ID, gwi->gw_vendor_id, dip, ret);
464 int ret;
475 ret = eibnx_update_child(ti, gwi, child_dip);
476 if (ret == ENX_E_SUCCESS) {
504 ret = ndi_devi_online(child_dip, 0);
505 if (ret != NDI_SUCCESS) {
507 "with ret=0x%x", node_name, ret);