2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
17 #ifndef __BFA_DEFS_IPFC_H__
18 #define __BFA_DEFS_IPFC_H__
20 #include <bfa_os_inc.h>
21 #include <protocol/types.h>
22 #include <defs/bfa_defs_types.h>
25 * FCS ip remote port states
28 BFA_IPRP_UNINIT
= 0, /* PORT is not yet initialized */
29 BFA_IPRP_ONLINE
= 1, /* process login is complete */
30 BFA_IPRP_OFFLINE
= 2, /* iprp is offline */
34 * FCS remote port statistics
36 struct bfa_iprp_stats_s
{
47 * FCS iprp attribute returned in queries
49 struct bfa_iprp_attr_s
{
50 enum bfa_iprp_state state
;
53 struct bfa_ipfc_stats_s
{
66 struct bfa_ipfc_attr_s
{
67 bfa_boolean_t enabled
;
70 #endif /* __BFA_DEFS_IPFC_H__ */