Re: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-21 Thread Andrea Parri
> > > > @@ -544,7 +545,8 @@ 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) { > > > > - > > > > init_packet->ms

RE: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-21 Thread Haiyang Zhang
Juan Vazquez ; linux- > hyp...@vger.kernel.org; David S. Miller ; Jakub > Kicinski ; netdev@vger.kernel.org > Subject: Re: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated > guests > > > > @@ -544,7 +545,8 @@ static int negotiate_nvsp_ver(

Re: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-20 Thread Andrea Parri
> > @@ -544,7 +545,8 @@ 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) { > > - init_packet->msg.v2_msg.send_ndis_config.capability.sriov = > > 1; >

Re: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-20 Thread Jakub Kicinski
On Tue, 19 Jan 2021 18:58:41 +0100 Andrea Parri (Microsoft) wrote: > Restrict the NVSP protocol version(s) that will be negotiated with the > host to be NVSP_PROTOCOL_VERSION_61 or greater if the guest is running > isolated. Moreover, do not advertise the SR-IOV capability and ignore > NVSP_MSG_4_

RE: [PATCH 4/4] hv_netvsc: Restrict configurations on isolated guests

2021-01-20 Thread Haiyang Zhang
> -Original Message- > From: Andrea Parri (Microsoft) > Sent: Tuesday, January 19, 2021 12:59 PM > To: linux-ker...@vger.kernel.org > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; Wei Liu ; Michael Kelley > ; Tianyu Lan ; > Saruhan Karademir ; Juan Vazquez > ; linux-hyp...