public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH for-faizal 0/4] tc-taprio selftests
@ 2023-12-21 13:25 Vladimir Oltean
  2023-12-21 13:25 ` [RFC PATCH for-faizal 1/4] selftests: net: forwarding: allow veth pairs to be created with multiple queues Vladimir Oltean
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Vladimir Oltean @ 2023-12-21 13:25 UTC (permalink / raw)
  To: netdev; +Cc: Abdul Rahim, Faizal

Unfortunately the isochron version from debian will not work on veth
pairs, I had to make some changes and add the --omit-hwts option to
the sender and receiver programs. The modified version is on this branch
here, I will merge the changes to 'master' once I have enough confidence
in them.
https://github.com/vladimiroltean/isochron/tree/omit-hwts

For testing the tc-taprio software scheduling path, we don't need PTP
synchronization or hardware timestamps anyway.

This is just a skeleton that I'm hoping Faizal can pick up and extend
with more test cases for dynamic schedule changes. It should run
primarily on the veth driver, but should behave the same on any network
driver as well, including those who also have tc-taprio offload.

Vladimir Oltean (4):
  selftests: net: forwarding: allow veth pairs to be created with
    multiple queues
  selftests: net: tsn: push --txtime out of isochron_do()
  selftests: net: tsn: allow isochron_do() to skip sync monitoring on
    sender too
  selftests: net: tsn: add tc-taprio test cases (WIP)

 .../selftests/drivers/net/ocelot/psfp.sh      |   1 +
 .../testing/selftests/net/forwarding/Makefile |   1 +
 tools/testing/selftests/net/forwarding/lib.sh |   3 +-
 .../selftests/net/forwarding/tc_taprio.sh     | 143 ++++++++++++++++++
 .../selftests/net/forwarding/tsn_lib.sh       |  70 +++++++--
 5 files changed, 205 insertions(+), 13 deletions(-)
 create mode 100755 tools/testing/selftests/net/forwarding/tc_taprio.sh

-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-12-22  6:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21 13:25 [RFC PATCH for-faizal 0/4] tc-taprio selftests Vladimir Oltean
2023-12-21 13:25 ` [RFC PATCH for-faizal 1/4] selftests: net: forwarding: allow veth pairs to be created with multiple queues Vladimir Oltean
2023-12-21 13:25 ` [RFC PATCH for-faizal 2/4] selftests: net: tsn: push --txtime out of isochron_do() Vladimir Oltean
2023-12-21 13:25 ` [RFC PATCH for-faizal 3/4] selftests: net: tsn: allow isochron_do() to skip sync monitoring on sender too Vladimir Oltean
2023-12-21 13:25 ` [RFC PATCH for-faizal 4/4] selftests: net: tsn: add tc-taprio test cases (WIP) Vladimir Oltean
2023-12-22  6:28 ` [RFC PATCH for-faizal 0/4] tc-taprio selftests Hangbin Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox