00001
00002 #ifndef _TRIG_NIC_EVENT_H
00003 #define _TRIG_NIC_EVENT_H
00004
00005 #include <sst/core/event.h>
00006 #include "sst/elements/portals4_sm/trig_cpu/portals_types.h"
00007
00008 namespace SST {
00009
00010
00011 class trig_nic_event : public Event {
00012 public:
00013 trig_nic_event() : Event() {
00014 portals = false;
00015 }
00016
00017 ~trig_nic_event() {}
00018
00019 int src;
00020 int dest;
00021
00022 bool portals;
00023 bool head_packet;
00024 int stream;
00025 int latency;
00026 int data_length;
00027 void *start;
00028
00029 ptl_int_nic_op_type_t ptl_op;
00030
00031
00032 union {
00033 ptl_int_me_t* me;
00034 ptl_int_trig_op_t* trig;
00035 ptl_int_trig_op_t** trigV;
00036 ptl_update_ct_event_t* ct;
00037 ptl_handle_ct_t ct_handle;
00038 ptl_int_dma_t* dma;
00039 } data;
00040
00041 uint32_t ptl_data[16];
00042
00043 private:
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 };
00056
00057
00058 }
00059
00060 #endif