linux/drivers/infiniband/hw/irdma/verbs.h

/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
/* Copyright (c) 2015 - 2021 Intel Corporation */
#ifndef IRDMA_VERBS_H
#define IRDMA_VERBS_H

#define IRDMA_MAX_SAVED_PHY_PGADDR
#define IRDMA_FLUSH_DELAY_MS

#define IRDMA_PKEY_TBL_SZ
#define IRDMA_DEFAULT_PKEY

struct irdma_ucontext {};

struct irdma_pd {};

irdma_sockaddr;

struct irdma_av {};

struct irdma_ah {};

struct irdma_hmc_pble {};

struct irdma_cq_mr {};

struct irdma_qp_mr {};

struct irdma_cq_buf {};

struct irdma_pbl {};

struct irdma_mr {};

struct irdma_cq {};

struct irdma_cmpl_gen {};

struct disconn_work {};

struct iw_cm_id;

struct irdma_qp_kmode {};

struct irdma_qp {};

enum irdma_mmap_flag {};

struct irdma_user_mmap_entry {};

static inline u16 irdma_fw_major_ver(struct irdma_sc_dev *dev)
{}

static inline u16 irdma_fw_minor_ver(struct irdma_sc_dev *dev)
{}

static inline void set_ib_wc_op_sq(struct irdma_cq_poll_info *cq_poll_info,
				   struct ib_wc *entry)
{}

static inline void set_ib_wc_op_rq(struct irdma_cq_poll_info *cq_poll_info,
				   struct ib_wc *entry, bool send_imm_support)
{}

void irdma_mcast_mac(u32 *ip_addr, u8 *mac, bool ipv4);
int irdma_ib_register_device(struct irdma_device *iwdev);
void irdma_ib_unregister_device(struct irdma_device *iwdev);
void irdma_ib_dealloc_device(struct ib_device *ibdev);
void irdma_ib_qp_event(struct irdma_qp *iwqp, enum irdma_qp_event_type event);
void irdma_generate_flush_completions(struct irdma_qp *iwqp);
void irdma_remove_cmpls_list(struct irdma_cq *iwcq);
int irdma_generated_cmpls(struct irdma_cq *iwcq, struct irdma_cq_poll_info *cq_poll_info);
#endif /* IRDMA_VERBS_H */