lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 21 Dec 2023 15:25:17 +0200
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: "Abdul Rahim, Faizal" <faizal.abdul.rahim@...ux.intel.com>
Subject: [RFC PATCH for-faizal 0/4] tc-taprio selftests

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ