aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorEduardo Otubo <[email protected]>2018-01-05 09:42:16 +0100
committerDavid S. Miller <[email protected]>2018-01-08 14:17:03 -0500
commitb707fda2df4070785d0fa8a278aa13944c5f51f8 (patch)
treee4cf95d5208645ccc1869e4071c7a51ab700c78f /tools/perf/util/c++/clang.cpp
parentbde219158931d17172d5c4e2906658493da2e097 (diff)
xen-netfront: enable device after manual module load
When loading the module after unloading it, the network interface would not be enabled and thus wouldn't have a backend counterpart and unable to be used by the guest. The guest would face errors like: [root@guest ~]# ethtool -i eth0 Cannot get driver information: No such device [root@guest ~]# ifconfig eth0 eth0: error fetching interface information: Device not found This patch initializes the state of the netfront device whenever it is loaded manually, this state would communicate the netback to create its device and establish the connection between them. Signed-off-by: Eduardo Otubo <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions