hw/pvrdma: Make device state depend on Ethernet function state
commite976ebc87cccd0e055d6337543de3f2db4650b17
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 21 Dec 2018 14:40:29 +0000 (21 16:40 +0200)
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Sat, 22 Dec 2018 09:09:56 +0000 (22 11:09 +0200)
treeb7cbbb575fc9b7686949e57818d6422e6e63416e
parent028c3f93d61d33f7335ebef475aa2ab1faa8b20a
hw/pvrdma: Make device state depend on Ethernet function state

User should be able to control the device by changing Ethernet function
state so if user runs 'ifconfig ens3 down' the PVRDMA function should be
down as well.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
hw/rdma/vmw/pvrdma_cmd.c