00001
00002 #ifndef _TRIG_NIC_EVENT_H
00003 #define _TRIG_NIC_EVENT_H
00004
00005 #include <sst/core/compEvent.h>
00006 #include "sst/elements/portals4_sm/trig_cpu/portals_types.h"
00007
00008 namespace SST {
00009
00010
00011 class trig_nic_event : public CompEvent {
00012 public:
00013 trig_nic_event() : CompEvent() {
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_update_ct_event_t* ct;
00036 ptl_handle_ct_t ct_handle;
00037 ptl_int_dma_t* dma;
00038 } data;
00039
00040 uint32_t ptl_data[16];
00041
00042 private:
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 };
00055
00056
00057 }
00058
00059 #endif