lpfc.h (e4da3fbfbd1de56d2367653e3823e6445e49f8a9) lpfc.h (026abb87a5586c838a47aca7198d78e356b6351e)
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2011 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 * *

--- 233 unchanged lines hidden (view full) ---

242 uint32_t fcpRspErr;
243 uint32_t fcpRemoteStop;
244 uint32_t fcpPortRjt;
245 uint32_t fcpPortBusy;
246 uint32_t fcpError;
247 uint32_t fcpLocalErr;
248};
249
1/*******************************************************************
2 * This file is part of the Emulex Linux Device Driver for *
3 * Fibre Channel Host Bus Adapters. *
4 * Copyright (C) 2004-2011 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 * *

--- 233 unchanged lines hidden (view full) ---

242 uint32_t fcpRspErr;
243 uint32_t fcpRemoteStop;
244 uint32_t fcpPortRjt;
245 uint32_t fcpPortBusy;
246 uint32_t fcpError;
247 uint32_t fcpLocalErr;
248};
249
250enum sysfs_mbox_state {
251 SMBOX_IDLE,
252 SMBOX_WRITING,
253 SMBOX_READING
254};
255
256struct lpfc_sysfs_mbox {
257 enum sysfs_mbox_state state;
258 size_t offset;
259 struct lpfcMboxq * mbox;
260};
261
262struct lpfc_hba;
263
264
265enum discovery_state {
266 LPFC_VPORT_UNKNOWN = 0, /* vport state is unknown */
267 LPFC_VPORT_FAILED = 1, /* vport has failed */
268 LPFC_LOCAL_CFG_LINK = 6, /* local NPORT Id configured */
269 LPFC_FLOGI = 7, /* FLOGI sent to Fabric */

--- 508 unchanged lines hidden (view full) ---

778 */
779 uint64_t fc4InputRequests;
780 uint64_t fc4OutputRequests;
781 uint64_t fc4ControlRequests;
782 uint64_t bg_guard_err_cnt;
783 uint64_t bg_apptag_err_cnt;
784 uint64_t bg_reftag_err_cnt;
785
250struct lpfc_hba;
251
252
253enum discovery_state {
254 LPFC_VPORT_UNKNOWN = 0, /* vport state is unknown */
255 LPFC_VPORT_FAILED = 1, /* vport has failed */
256 LPFC_LOCAL_CFG_LINK = 6, /* local NPORT Id configured */
257 LPFC_FLOGI = 7, /* FLOGI sent to Fabric */

--- 508 unchanged lines hidden (view full) ---

766 */
767 uint64_t fc4InputRequests;
768 uint64_t fc4OutputRequests;
769 uint64_t fc4ControlRequests;
770 uint64_t bg_guard_err_cnt;
771 uint64_t bg_apptag_err_cnt;
772 uint64_t bg_reftag_err_cnt;
773
786 struct lpfc_sysfs_mbox sysfs_mbox;
787
788 /* fastpath list. */
789 spinlock_t scsi_buf_list_lock;
790 struct list_head lpfc_scsi_buf_list;
791 uint32_t total_scsi_bufs;
792 struct list_head lpfc_iocb_list;
793 uint32_t total_iocbq_bufs;
794 struct list_head active_rrq_list;
795 spinlock_t hbalock;

--- 210 unchanged lines hidden ---
774 /* fastpath list. */
775 spinlock_t scsi_buf_list_lock;
776 struct list_head lpfc_scsi_buf_list;
777 uint32_t total_scsi_bufs;
778 struct list_head lpfc_iocb_list;
779 uint32_t total_iocbq_bufs;
780 struct list_head active_rrq_list;
781 spinlock_t hbalock;

--- 210 unchanged lines hidden ---