diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2019-10-24 10:16:19 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-03 14:20:59 +0100 |
| commit | d40d75d2d787b9d4f949422b88de18ede4ee20b6 (patch) | |
| tree | 18713cd0e1884616ceee1c74381eba65419aff9f /pkg/ipc | |
| parent | 97f4b019d87a073ff02a3ff8b08ada59aea6e688 (diff) | |
executor: move fixed pci devlink handle into network namespace
In case there is a fixed pci devlink handle "pci/pci/0000:00:10.0"
on the system (initial network namespace), it is moved to a working
network namespace.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Diffstat (limited to 'pkg/ipc')
| -rw-r--r-- | pkg/ipc/ipc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ipc/ipc.go b/pkg/ipc/ipc.go index aea594fba..34b4ce2d0 100644 --- a/pkg/ipc/ipc.go +++ b/pkg/ipc/ipc.go @@ -37,6 +37,7 @@ const ( FlagEnableNetReset // reset network namespace between programs FlagEnableCgroups // setup cgroups for testing FlagEnableCloseFds // close fds after each program + FlagEnableDevlinkPCI // setup devlink PCI device // Executor does not know about these: FlagUseShmem // use shared memory instead of pipes for communication FlagUseForkServer // use extended protocol with handshake |
