summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Wei <dw@davidwei.uk>2024-02-29 02:22:49 +0300
committerDavid S. Miller <davem@davemloft.net>2024-03-01 13:43:10 +0300
commitf532957d76de89b8ee2545cb6ad5265e1701d0ba (patch)
tree53684d85ffd6c34fe1f9f44cce7de092802272ad /tools/perf/scripts/python/export-to-postgresql.py
parente2d890afba8e4b48b0377efb9821f50f6b93fe5c (diff)
downloadlinux-f532957d76de89b8ee2545cb6ad5265e1701d0ba.tar.xz
netdevsim: allow two netdevsim ports to be connected
Add two netdevsim bus attribute to sysfs: /sys/bus/netdevsim/link_device /sys/bus/netdevsim/unlink_device Writing "A M B N" to link_device will link netdevsim M in netnsid A with netdevsim N in netnsid B. Writing "A M" to unlink_device will unlink netdevsim M in netnsid A from its peer, if any. rtnl_lock is taken to ensure nothing changes during the linking. Signed-off-by: David Wei <dw@davidwei.uk> Reviewed-by: Maciek Machnikowski <maciek@machnikowski.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions