Commit ce9636e8 authored by Mark Ruzindana's avatar Mark Ruzindana
Browse files

Compiled code and fixed a few issues after merge. RTBF, CALCORR, and PFBCORR...

Compiled code and fixed a few issues after merge. RTBF, CALCORR, and PFBCORR were run and work as they should. No stalls or bad blocks.
parent f6ad7ca3
#define XGPU_VERSION 0.1+184@g933d475-dirty
#define XGPU_VERSION 0.1+199@gf6ad7ca-dirty
......@@ -107,13 +107,6 @@ void print_block_info (block_info_t * binfo) {
binfo->cur_block_idx, binfo->last_filled, binfo->m, binfo->f);
}
// This allows for 2 out of sequence packets from each F engine (in a row)
#define MAX_OUT_OF_SEQ (2*Nf)
// This allows packets to be two full databufs late without being considered
// out of sequence.
#define LATE_PKT_MCNT_THRESHOLD (2*Nm*N_INPUT_BLOCKS)
void print_block_mcnts (flag_input_databuf_t *db) {
int i;
......@@ -400,15 +393,6 @@ static inline int64_t process_packet (flag_input_databuf_t *db,
"Ignoring late packet (%d mcnts late)",
cur_mcnt - pkt_mcnt);
}
// Else, it is an "out-of-order" packet.
else {
// If not at start-up and this is the first out of order packet,
// issue warning.
if(cur_mcnt != 0 && binfo.out_of_seq_cnt == 0) {
hashpipe_warn("flag_net_thread",
"out of seq mcnt %012lu (expected: %012lu <= mcnt < %012u)",
pkt_mcnt, cur_mcnt, cur_mcnt+3*Nm);
}
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment