cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

cq.h (689B)


      1/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
      2/*
      3 * Copyright(c) 2016 - 2018 Intel Corporation.
      4 */
      5
      6#ifndef DEF_RVTCQ_H
      7#define DEF_RVTCQ_H
      8
      9#include <rdma/rdma_vt.h>
     10#include <rdma/rdmavt_cq.h>
     11
     12int rvt_create_cq(struct ib_cq *ibcq, const struct ib_cq_init_attr *attr,
     13		  struct ib_udata *udata);
     14int rvt_destroy_cq(struct ib_cq *ibcq, struct ib_udata *udata);
     15int rvt_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags);
     16int rvt_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
     17int rvt_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry);
     18int rvt_driver_cq_init(void);
     19void rvt_cq_exit(void);
     20#endif          /* DEF_RVTCQ_H */