lpfc.h (bf61c8840efe60fd8f91446860b63338fb424158) | lpfc.h (256ec0d05f8050339a9cc4e92bdc96cec1ce82bd) |
---|---|
1/******************************************************************* 2 * This file is part of the Emulex Linux Device Driver for * 3 * Fibre Channel Host Bus Adapters. * 4 * Copyright (C) 2004-2012 Emulex. All rights reserved. * 5 * EMULEX and SLI are trademarks of Emulex. * 6 * www.emulex.com * 7 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 8 * * --- 52 unchanged lines hidden (view full) --- 61 62#define LPFC_MAX_BUCKET_COUNT 20 /* Maximum no. of buckets for stat data 63 collection. */ 64/* 65 * Following time intervals are used of adjusting SCSI device 66 * queue depths when there are driver resource error or Firmware 67 * resource error. 68 */ | 1/******************************************************************* 2 * This file is part of the Emulex Linux Device Driver for * 3 * Fibre Channel Host Bus Adapters. * 4 * Copyright (C) 2004-2012 Emulex. All rights reserved. * 5 * EMULEX and SLI are trademarks of Emulex. * 6 * www.emulex.com * 7 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 8 * * --- 52 unchanged lines hidden (view full) --- 61 62#define LPFC_MAX_BUCKET_COUNT 20 /* Maximum no. of buckets for stat data 63 collection. */ 64/* 65 * Following time intervals are used of adjusting SCSI device 66 * queue depths when there are driver resource error or Firmware 67 * resource error. 68 */ |
69#define QUEUE_RAMP_DOWN_INTERVAL (1 * HZ) /* 1 Second */ 70#define QUEUE_RAMP_UP_INTERVAL (300 * HZ) /* 5 minutes */ | 69/* 1 Second */ 70#define QUEUE_RAMP_DOWN_INTERVAL (msecs_to_jiffies(1000 * 1)) 71/* 5 minutes */ 72#define QUEUE_RAMP_UP_INTERVAL (msecs_to_jiffies(1000 * 300)) |
71 72/* Number of exchanges reserved for discovery to complete */ 73#define LPFC_DISC_IOCB_BUFF_COUNT 20 74 75#define LPFC_HB_MBOX_INTERVAL 5 /* Heart beat interval in seconds. */ 76#define LPFC_HB_MBOX_TIMEOUT 30 /* Heart beat timeout in seconds. */ 77 78#define LPFC_LOOK_AHEAD_OFF 0 /* Look ahead logic is turned off */ --- 953 unchanged lines hidden --- | 73 74/* Number of exchanges reserved for discovery to complete */ 75#define LPFC_DISC_IOCB_BUFF_COUNT 20 76 77#define LPFC_HB_MBOX_INTERVAL 5 /* Heart beat interval in seconds. */ 78#define LPFC_HB_MBOX_TIMEOUT 30 /* Heart beat timeout in seconds. */ 79 80#define LPFC_LOOK_AHEAD_OFF 0 /* Look ahead logic is turned off */ --- 953 unchanged lines hidden --- |