Commit d80bed5f authored by Adam Wujek's avatar Adam Wujek 💬

userspace/ppsi: uplift ppsi to support peer delays

add the follwing fields to the wrs_dump_shmem:
--struct pp_instance:
  --t5 /* *the* stamps */
  --t6 /* *the* stamps */
  --t4_cf /* peer delay */
  --t6_cf /* peer delay */
--struct wr_servo_state:
  --t5
  --t6
remove:
--struct pp_instance:
  --log_min_delay_req_interval
modify:
--struct pp_instance:
  --role from unsigned char to int
  --proto from unsigned char to int
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent b5f4605e
ppsi @ d040a207
Subproject commit 25d7dbe4fb2b735c4c9c1f4102950bd78e9e9f7e
Subproject commit d040a2070c57e7863ab528393667e3e5d8e3fd55
......@@ -636,6 +636,8 @@ struct dump_info servo_state_info [] = {
DUMP_FIELD(TimeInternal, t2),
DUMP_FIELD(TimeInternal, t3),
DUMP_FIELD(TimeInternal, t4),
DUMP_FIELD(TimeInternal, t5),
DUMP_FIELD(TimeInternal, t6),
DUMP_FIELD(Integer32, delta_ms_prev),
DUMP_FIELD(int, missed_iters),
DUMP_FIELD(TimeInternal, mu), /* half of the RTT */
......@@ -664,8 +666,8 @@ struct dump_info ppi_info [] = {
DUMP_FIELD(pointer, ext_data),
DUMP_FIELD(unsigned_long, d_flags),
DUMP_FIELD(unsigned_char, flags),
DUMP_FIELD(unsigned_char, role),
DUMP_FIELD(unsigned_char, proto),
DUMP_FIELD(int, role),
DUMP_FIELD(int, proto),
DUMP_FIELD(pointer, glbs),
DUMP_FIELD(pointer, n_ops),
DUMP_FIELD(pointer, t_ops),
......@@ -698,6 +700,10 @@ struct dump_info ppi_info [] = {
DUMP_FIELD(TimeInternal, t2),
DUMP_FIELD(TimeInternal, t3),
DUMP_FIELD(TimeInternal, t4),
DUMP_FIELD(TimeInternal, t5),
DUMP_FIELD(TimeInternal, t6),
DUMP_FIELD(Integer32, t4_cf),
DUMP_FIELD(Integer32, t6_cf),
DUMP_FIELD(TimeInternal, cField),
DUMP_FIELD(TimeInternal, last_rcv_time),
DUMP_FIELD(TimeInternal, last_snt_time),
......@@ -707,7 +713,6 @@ struct dump_info ppi_info [] = {
DUMP_FIELD(pointer, portDS),
//DUMP_FIELD(unsigned long timeouts[__PP_TO_ARRAY_SIZE]),
DUMP_FIELD(UInteger16, recv_sync_sequence_id),
DUMP_FIELD(Integer8, log_min_delay_req_interval),
//DUMP_FIELD(UInteger16 sent_seq[__PP_NR_MESSAGES_TYPES]),
DUMP_FIELD_SIZE(bina, received_ptp_header, sizeof(MsgHeader)),
//DUMP_FIELD(pointer, iface_name),
......
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