Skip to content

Commit

Permalink
selftests/net: so_txtime multi-host support
Browse files Browse the repository at this point in the history
SO_TXTIME hardware offload requires testing across devices, either
between machines or separate network namespaces.

Split up SO_TXTIME test into tx and rx modes, so traffic can be
sent from one process to another. Create a veth-pair on different
namespaces and bind each process to an end point via [-S]ource and
[-D]estination parameters. Optional start [-t]ime parameter can be
passed to synchronize the test across the hosts (with synchorinzed
clocks).

Signed-off-by: Carlos Llamas <cmllamas@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Carlos Llamas authored and davem330 committed Apr 1, 2021
1 parent 917e2e6 commit 0408063
Show file tree
Hide file tree
Showing 2 changed files with 259 additions and 85 deletions.

0 comments on commit 0408063

Please sign in to comment.