#include "gm_call_trace.h"
#include "gm_debug.h"
#include "gm_enable_fast_small_send.h"
#include "gm_enable_trace.h"
#include "gm_internal.h"
#include "gm_send_queue.h"
Functions | |
GM_ENTRY_POINT void | gm_datagram_send (gm_port_t *p, void *message, unsigned int size, gm_size_t len, unsigned int priority, unsigned int target_node_id, unsigned int target_port_id, gm_send_completion_callback_t callback, void *context) |
This file contains the GM API function gm_datagram_send().
|
gm_datagram_send() queues message of length length to be sent unreliably to a buffer of size size at target_port_id on target_node_id. length must be no larger than GM_MTU. If any network error is encountered while sending the packet, the packet is silently and immediately dropped. After the packet has been DMA'ed from host memory, callback(port,context,status) is called inside a user invocation of gm_unknown(), reporting the status of the attempted send.
|