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.
18 * Copyright (c) 2006-2009 Brocade Communications Systems, Inc.
19 * All rights reserved.
21 * bfi_dcbx.h BFI Interface (Mailbox commands and related structures)
22 * between host driver and DCBX/LLDP firmware module.
34 enum bfi_cee_h2i_msgs_e
{
35 BFI_CEE_H2I_GET_CFG_REQ
= 1,
36 BFI_CEE_H2I_RESET_STATS
= 2,
37 BFI_CEE_H2I_GET_STATS_REQ
= 3,
41 enum bfi_cee_i2h_msgs_e
{
42 BFI_CEE_I2H_GET_CFG_RSP
= BFA_I2HM(1),
43 BFI_CEE_I2H_RESET_STATS_RSP
= BFA_I2HM(2),
44 BFI_CEE_I2H_GET_STATS_RSP
= BFA_I2HM(3),
51 * BFI_CEE_H2I_RESET_STATS
53 struct bfi_lldp_reset_stats_s
{
58 * BFI_CEE_H2I_RESET_STATS
60 struct bfi_cee_reset_stats_s
{
65 * BFI_CEE_H2I_GET_CFG_REQ
67 struct bfi_cee_get_req_s
{
69 union bfi_addr_u dma_addr
;
74 * BFI_CEE_I2H_GET_CFG_RSP
76 struct bfi_cee_get_rsp_s
{
83 * BFI_CEE_H2I_GET_STATS_REQ
85 struct bfi_cee_stats_req_s
{
87 union bfi_addr_u dma_addr
;
92 * BFI_CEE_I2H_GET_STATS_RSP
94 struct bfi_cee_stats_rsp_s
{
102 union bfi_cee_h2i_msg_u
{
103 struct bfi_mhdr_s mh
;
104 struct bfi_cee_get_req_s get_req
;
105 struct bfi_cee_stats_req_s stats_req
;
109 union bfi_cee_i2h_msg_u
{
110 struct bfi_mhdr_s mh
;
111 struct bfi_cee_get_rsp_s get_rsp
;
112 struct bfi_cee_stats_rsp_s stats_rsp
;
118 #endif /* __BFI_CEE_H__ */