Set IOC poll on demand (IOC rescan in batches instead of continuous intervals or not at all) as the default behavior. White-space clean up - previous pretty print invocations broke up some lines when they comfortably could exist as a single line; collapse to one.
Signed-off-by: stan smith <[email protected]> Revision: 3122 Author: stansmith Date: 9:28:17 AM, Tuesday, June 21, 2011 Message: [CORE-AL+BUS] IOC poll on demand. g_ioc_poll_interval = 1; /* 0 == no IOC polling, * 1 == IOC poll on demand (IB_PNP_SM_CHANGE, IB_PNP_PORT_ACTIVE, * QUERY_DEVICE_RELATIONS for device 'IB Bus'); 1 batch of IOC rescans * > 1 == poll interval in millisecond units. */ Poll on demand is implemented as a batch(IOC_RESWEEPS) of IOC rescans with IOC_RESWEEP_WAIT between rescan (see al_ioc_pnp.c). Batching was the least complicated approach to resolve the issue of continuous IOC polling, as IBAL/cl_pnp() was not really designed to handle PENDING IRPs. A device rescan (devmgmt.msc) is required in order for diskmgmt.msc to see new SRP targets when demand polling. ---- Modified : /gen1/trunk/core/al/kernel/al_ioc_pnp.c Modified : /gen1/trunk/core/bus/kernel/bus_driver.c # this one is for Leo. Modified : /gen1/trunk/core/bus/kernel/bus_pnp.c Modified : /gen1/trunk/core/bus/kernel/bus_port_mgr.c Modified : /gen1/trunk/core/bus/kernel/bus_port_mgr.h Revision: 3123 Author: stansmith Date: 9:36:26 AM, Tuesday, June 21, 2011 Message: [HW-MLX4+MTHCA] Default IocPollInterval ==1 (IOC poll on demand); see commit 3122. Note the removal of the NO_CLOBBER attribute, will override existing definition on install. ---- Modified : /gen1/trunk/hw/mlx4/kernel/hca/mlx4_hca.inx Modified : /gen1/trunk/hw/mthca/kernel/mthca.inx _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
