summaryrefslogtreecommitdiff
path: root/drivers/net/hyperv
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/hyperv')
-rw-r--r--drivers/net/hyperv/netvsc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
index 5cd084e5696c..fc6548b16c91 100644
--- a/drivers/net/hyperv/netvsc.c
+++ b/drivers/net/hyperv/netvsc.c
@@ -625,10 +625,7 @@ static int negotiate_nvsp_ver(struct hv_device *device,
init_packet->msg.v2_msg.send_ndis_config.capability.ieee8021q = 1;
if (nvsp_ver >= NVSP_PROTOCOL_VERSION_5) {
- if (hv_is_isolation_supported())
- netdev_info(ndev, "SR-IOV not advertised by guests on the host supporting isolation\n");
- else
- init_packet->msg.v2_msg.send_ndis_config.capability.sriov = 1;
+ init_packet->msg.v2_msg.send_ndis_config.capability.sriov = 1;
/* Teaming bit is needed to receive link speed updates */
init_packet->msg.v2_msg.send_ndis_config.capability.teaming = 1;
@@ -1665,10 +1662,7 @@ static void netvsc_receive_inband(struct net_device *ndev,
break;
case NVSP_MSG4_TYPE_SEND_VF_ASSOCIATION:
- if (hv_is_isolation_supported())
- netdev_err(ndev, "Ignore VF_ASSOCIATION msg from the host supporting isolation\n");
- else
- netvsc_send_vf(ndev, nvmsg, msglen);
+ netvsc_send_vf(ndev, nvmsg, msglen);
break;
}
}