Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/vmware/vmci/vmci_queue_pair.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:executable | null | * \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
/*- | |||||
* Copyright (c) 2018 VMware, Inc. All Rights Reserved. | |||||
* | |||||
* SPDX-License-Identifier: (BSD-2-Clause AND GPL-2.0) | |||||
*/ | |||||
/* VMCI QueuePair API definition. */ | |||||
#ifndef _VMCI_QUEUE_PAIR_H_ | |||||
#define _VMCI_QUEUE_PAIR_H_ | |||||
#include "vmci_kernel_if.h" | |||||
#include "vmci_queue.h" | |||||
int vmci_qp_guest_endpoints_init(void); | |||||
void vmci_qp_guest_endpoints_exit(void); | |||||
void vmci_qp_guest_endpoints_sync(void); | |||||
void vmci_qp_guest_endpoints_convert(bool to_local, bool device_reset); | |||||
int vmci_queue_pair_alloc(struct vmci_handle *handle, | |||||
struct vmci_queue **produce_q, uint64_t produce_size, | |||||
struct vmci_queue **consume_q, uint64_t consume_size, | |||||
vmci_id peer, uint32_t flags, vmci_privilege_flags priv_flags); | |||||
int vmci_queue_pair_detach(struct vmci_handle handle); | |||||
#endif /* !_VMCI_QUEUE_PAIR_H_ */ |