linux/drivers/infiniband/hw/efa/efa_admin_defs.h

/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
/*
 * Copyright 2018-2021 Amazon.com, Inc. or its affiliates. All rights reserved.
 */

#ifndef _EFA_ADMIN_H_
#define _EFA_ADMIN_H_

enum efa_admin_aq_completion_status {};

struct efa_admin_aq_common_desc {};

/*
 * used in efa_admin_aq_entry. Can point directly to control data, or to a
 * page list chunk. Used also at the end of indirect mode page list chunks,
 * for chaining.
 */
struct efa_admin_ctrl_buff_info {};

struct efa_admin_aq_entry {};

struct efa_admin_acq_common_desc {};

struct efa_admin_acq_entry {};

struct efa_admin_aenq_common_desc {};

struct efa_admin_aenq_entry {};

enum efa_admin_eqe_event_type {};

/* Completion event */
struct efa_admin_comp_event {};

/* Event Queue Element */
struct efa_admin_eqe {};

/* aq_common_desc */
#define EFA_ADMIN_AQ_COMMON_DESC_COMMAND_ID_MASK
#define EFA_ADMIN_AQ_COMMON_DESC_PHASE_MASK
#define EFA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_MASK
#define EFA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_INDIRECT_MASK

/* acq_common_desc */
#define EFA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK
#define EFA_ADMIN_ACQ_COMMON_DESC_PHASE_MASK

/* aenq_common_desc */
#define EFA_ADMIN_AENQ_COMMON_DESC_PHASE_MASK

/* eqe */
#define EFA_ADMIN_EQE_PHASE_MASK
#define EFA_ADMIN_EQE_EVENT_TYPE_MASK

#endif /* _EFA_ADMIN_H_ */