Jason Xing wrote: > From: Jason Xing <kernelxing@xxxxxxxxxxx> > > Introduce a test for SOF_TIMESTAMPING_OPT_ID_TCP for TCP proto so > that we can get aware of whether using write_seq as an initial key > value works as expected. Does the test behave different with this flag set? > > Signed-off-by: Jason Xing <kernelxing@xxxxxxxxxxx> > --- > tools/testing/selftests/net/txtimestamp.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/tools/testing/selftests/net/txtimestamp.c b/tools/testing/selftests/net/txtimestamp.c > index d626f22f9550..5f5de79d0e51 100644 > --- a/tools/testing/selftests/net/txtimestamp.c > +++ b/tools/testing/selftests/net/txtimestamp.c > @@ -893,6 +893,12 @@ static void do_main(int family) > do_test(family, SOF_TIMESTAMPING_TX_SCHED | > SOF_TIMESTAMPING_TX_SOFTWARE | > SOF_TIMESTAMPING_TX_ACK); > + > + fprintf(stderr, "\ntest ENQ + SND + ACK with tcp tskey setting\n"); > + do_test(family, SOF_TIMESTAMPING_TX_SCHED | > + SOF_TIMESTAMPING_TX_SOFTWARE | > + SOF_TIMESTAMPING_TX_ACK | > + SOF_TIMESTAMPING_OPT_ID_TCP); > } > } > > -- > 2.37.3 >