Mercurial > illumos > illumos-gate
changeset 12988:7162c8dfe0ed
6967047 ibnex_handle_hca_attach() should bring up port nodes also
6967515 lower IB port settling time to 8 seconds
author | Rajkumar Sivaprakasam <Rajkumar.Sivaprakasam@Sun.COM> |
---|---|
date | Fri, 30 Jul 2010 23:10:58 -0700 |
parents | 3086793bcf3c |
children | 19cd6b4c098c |
files | usr/src/uts/common/io/ib/ibnex/ibnex.c usr/src/uts/common/io/ib/ibnex/ibnex_hca.c |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/ib/ibnex/ibnex.c Sat Jul 31 09:23:10 2010 +0800 +++ b/usr/src/uts/common/io/ib/ibnex/ibnex.c Fri Jul 30 23:10:58 2010 -0700 @@ -307,7 +307,7 @@ _NOTE(LOCK_ORDER(ibdm.ibdm_hl_mutex ibnex.ibnex_mutex)) /* The port settling time in seconds */ -int ibnex_port_settling_time = 30; +int ibnex_port_settling_time = 8; /* create an array of properties supported, easier to add new ones here */ static struct ibnex_property {
--- a/usr/src/uts/common/io/ib/ibnex/ibnex_hca.c Sat Jul 31 09:23:10 2010 +0800 +++ b/usr/src/uts/common/io/ib/ibnex/ibnex_hca.c Fri Jul 30 23:10:58 2010 -0700 @@ -577,9 +577,9 @@ void ibnex_handle_hca_attach(void *cb_arg) { - ib_guid_t hca_guid = *((ib_guid_t *)cb_arg); - dev_info_t *phci; - int ii, circ; + ib_guid_t hca_guid = *((ib_guid_t *)cb_arg); + dev_info_t *phci; + int ii, circ; ibdm_hca_list_t *hca_list; IBTF_DPRINTF_L4("ibnex", "handle_hca_attach(%llx)", hca_guid); @@ -602,8 +602,8 @@ } ibnex_create_hcasvc_nodes(phci, hca_list->hl_hca_port_attr); for (ii = 0; ii < hca_list->hl_nports; ii++) { - ibnex_create_vppa_nodes( - phci, &hca_list->hl_port_attr[ii]); + ibnex_create_port_nodes(phci, &hca_list->hl_port_attr[ii]); + ibnex_create_vppa_nodes(phci, &hca_list->hl_port_attr[ii]); } ibdm_ibnex_free_hca_list(hca_list); ndi_devi_exit(phci, circ);