/* SPDX-License-Identifier: GPL-2.0-only */ /* * Linux network driver for QLogic BR-series Converged Network Adapter. */ /* * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. * Copyright (c) 2014-2015 QLogic Corporation * All rights reserved * www.qlogic.com */ #ifndef __BFI_CNA_H__ #define __BFI_CNA_H__ #include "bfi.h" #include "bfa_defs_cna.h" enum bfi_port_h2i { … }; enum bfi_port_i2h { … }; /* Generic REQ type */ struct bfi_port_generic_req { … } __packed; /* Generic RSP type */ struct bfi_port_generic_rsp { … } __packed; /* BFI_PORT_H2I_GET_STATS_REQ */ struct bfi_port_get_stats_req { … } __packed; bfi_port_h2i_msg_u __packed; bfi_port_i2h_msg_u __packed; /* @brief Mailbox commands from host to (DCBX/LLDP) firmware */ enum bfi_cee_h2i_msgs { … }; /* @brief Mailbox reply and AEN messages from DCBX/LLDP firmware to host */ enum bfi_cee_i2h_msgs { … }; /* Data structures */ /* * @brief H2I command structure for resetting the stats. * BFI_CEE_H2I_RESET_STATS */ struct bfi_lldp_reset_stats { … } __packed; /* * @brief H2I command structure for resetting the stats. * BFI_CEE_H2I_RESET_STATS */ struct bfi_cee_reset_stats { … } __packed; /* * @brief get configuration command from host * BFI_CEE_H2I_GET_CFG_REQ */ struct bfi_cee_get_req { … } __packed; /* * @brief reply message from firmware * BFI_CEE_I2H_GET_CFG_RSP */ struct bfi_cee_get_rsp { … } __packed; /* * @brief get configuration command from host * BFI_CEE_H2I_GET_STATS_REQ */ struct bfi_cee_stats_req { … } __packed; /* * @brief reply message from firmware * BFI_CEE_I2H_GET_STATS_RSP */ struct bfi_cee_stats_rsp { … } __packed; /* @brief mailbox command structures from host to firmware */ bfi_cee_h2i_msg_u __packed; /* @brief mailbox message structures from firmware to host */ bfi_cee_i2h_msg_u __packed; #endif /* __BFI_CNA_H__ */