#include "gm_internal.h"
#include "gm_enable_pio_sends.h"
#include "gm_enable_datagrams.h"
#include "gm_enable_trace.h"
#include "gm_send_queue.h"
Functions | |
GM_ENTRY_POINT void | gm_datagram_send_4 (gm_port_t *p, gm_u32_t data, unsigned int size, unsigned long 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_4().
|
gm_datagram_send_4() queues gm_u32_t 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.
|