selftests/txtimestamp: Add more configurable parameters
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Fri, 16 Mar 2018 17:41:14 +0000 (10:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 19:05:57 +0000 (15:05 -0400)
commit5dce837944de76b5ba9cff6d2a3ecde6f4838665
treec50fb70b67a8453384827a899b737086378ca1f0
parent5eb297a9a5aa5745b67ef1e7a399c0a7678d1d3f
selftests/txtimestamp: Add more configurable parameters

Add a way to configure if poll() should wait forever for an event, the
number of packets that should be sent for each and if there should be
any delay between packets.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/networking/timestamping/txtimestamp.c