Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

vipquerymem.c File Reference

#include "vipl_priv.h"

Go to the source code of this file.

Functions

VIP_ENTRY_POINT VIP_RETURN VipQueryMem (VIP_NIC_HANDLE NicHandle, VIP_PVOID Address, VIP_MEM_HANDLE MemHandle, VIP_MEM_ATTRIBUTES *MemAttribs)


Detailed Description

The VI-GM function VipQueryMem implementation.

Definition in file vipquerymem.c.


Function Documentation

VIP_ENTRY_POINT VIP_RETURN VipQueryMem VIP_NIC_HANDLE  NicHandle,
VIP_PVOID  Address,
VIP_MEM_HANDLE  MemHandle,
VIP_MEM_ATTRIBUTES MemAttribs
 

VipQueryMem() returns the attributes of a registered memory region to the caller.

Return values:
VIP_SUCCESS Operation completed successfully.
VIP_ERROR_RESOURCE The operation failed due to insufficient resources.
VIP_INVALID_PARAMETER The Memory Handle or Address was invalid.
Parameters:
NicHandle (IN) The handle of the NIC where the memory region is registered.
Address (IN) The base address of the memory region.
MemHandle (IN) The handle of a memory region.
MemAttribs (OUT) The memory attributes of this memory region.
See also:
VipRegisterMem VipDeregisterMem VIP_MEM
Author:
Patrick Geoffray
Version:
1.0

Definition at line 39 of file vipquerymem.c.

References VIP_MEM_ATTRIBUTES::EnableRdmaRead, VIP_MEM_ATTRIBUTES::EnableRdmaWrite, VIP_MEM_ATTRIBUTES::Ptag, VI_GM_ENABLE_RDMAREAD, VI_GM_MAX_REGISTER_REGIONS, VIP_DEBUG, VIP_DEBUG_LABEL, VIP_FALSE, VIP_INVALID_MEM_HANDLE, VIP_INVALID_NIC_HANDLE, VIP_INVALID_PARAMETER, VIP_MUTEX_LOCK, VIP_MUTEX_UNLOCK, VIP_SUCCESS, and VIP_TRUE.

VI-GM-1.3 by Myricom © 1997-2006. Documentation generated on 20 May 2006 by doxygen 1.4.4.