Commit 3a8c1fbe authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

corundum_bm: fix sync

parent 5aab07da
...@@ -927,6 +927,9 @@ static void poll_h2d(Corundum &nic) ...@@ -927,6 +927,9 @@ static void poll_h2d(Corundum &nic)
h2d_writecomp(&msg->writecomp); h2d_writecomp(&msg->writecomp);
break; break;
case COSIM_PCIE_PROTO_H2D_MSG_SYNC:
break;
default: default:
fprintf(stderr, "poll_h2d: unsupported type=%u\n", type); fprintf(stderr, "poll_h2d: unsupported type=%u\n", type);
} }
...@@ -950,6 +953,9 @@ static void poll_n2d(Corundum &nic) ...@@ -950,6 +953,9 @@ static void poll_n2d(Corundum &nic)
eth_recv(nic, &msg->recv); eth_recv(nic, &msg->recv);
break; break;
case COSIM_ETH_PROTO_N2D_MSG_SYNC:
break;
default: default:
fprintf(stderr, "poll_n2d: unsupported type=%u", t); fprintf(stderr, "poll_n2d: unsupported type=%u", t);
} }
...@@ -1014,6 +1020,7 @@ int main(int argc, char *argv[]) ...@@ -1014,6 +1020,7 @@ int main(int argc, char *argv[])
main_time = next_ts; main_time = next_ts;
} }
fprintf(stderr, "main_time: %lu\n", main_time);
nicsim_cleanup(); nicsim_cleanup();
return 0; return 0;
} }
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