diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-12-10 13:43:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-12 02:01:23 +0300 |
commit | 408624af4c89989117bb2c6517bd50b7708a2fcd (patch) | |
tree | 142a06268b10d4066e8315b857c299ebc5c1cba6 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 077263fba10011d7e1d17dc7691ff20c15c56081 (diff) | |
download | linux-408624af4c89989117bb2c6517bd50b7708a2fcd.tar.xz |
vsock: use local transport when it is loaded
Now that we have a transport that can handle the local communication,
we can use it when it is loaded.
A socket will use the local transport (loopback) when the remote
CID is:
- equal to VMADDR_CID_LOCAL
- or equal to transport_g2h->get_local_cid(), if transport_g2h
is loaded (this allows us to keep the same behavior implemented
by virtio and vmci transports)
- or equal to VMADDR_CID_HOST, if transport_g2h is not loaded
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions