From: Eran Ben Elisha
HV VHCA stats agent is responsible on running a preiodic rx/tx
packets/bytes stats update. Currently the supported format is version
MLX5_HV_VHCA_STATS_VERSION. Block ID 1 is dedicated for statistics data
transfer from the VF to the PF.
The reporter fetch the statistics
This mini driver is a helper driver allows other drivers to
have a common interface with the Hyper-V PCI frontend driver.
Signed-off-by: Haiyang Zhang
Signed-off-by: Saeed Mahameed
---
MAINTAINERS | 1 +
drivers/pci/Kconfig | 1 +
drivers/pci
ff-by: Dexuan Cui
Cc: Haiyang Zhang
Cc: K. Y. Srinivasan
Cc: Stephen Hemminger
Signed-off-by: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/pci/controller/pci-hyperv.c | 302
include/linux/hyperv.h | 15 ++
2 files changed, 317 inser
From: Eran Ben Elisha
Add wrapper functions for HyperV PCIe read / write /
block_invalidate_register operations. This will be used as an
infrastructure in the downstream patch for software communication.
This will be enabled by default if CONFIG_PCI_HYPERV_MINI is set.
Signed-off-by: Eran Ben
From: Eran Ben Elisha
HV VHCA is a layer which provides PF to VF communication channel based on
HyperV PCI config channel. It implements Mellanox's Inter VHCA control
communication protocol. The protocol contains control block in order to
pass messages between the PF and VF drivers, and data
Elisha (4):
net/mlx5: Add wrappers for HyperV PCIe operations
net/mlx5: Add HV VHCA infrastructure
net/mlx5: Add HV VHCA control agent
net/mlx5e: Add mlx5e HV VHCA stats agent
Haiyang Zhang (1):
PCI: hv: Add a Hyper-V PCI mini driver for software backchannel
interface
MAINTAINERS
that is
not in use.
Suggested-by: Michael Kelley
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 92 +++--
1 file changed, 79 insertions(+), 13 deletions(-)
diff --git a/drivers/pci/controller/pci-hyperv.c
b/drivers/pci
cases of collision, the driver code detects and finds another
number that is not in use.
Suggested-by: Michael Kelley
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci
> -Original Message-
> From: Bjorn Helgaas
> Sent: Wednesday, August 14, 2019 12:34 AM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; lorenzo.pieral...@arm.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
>
Kelley
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 92 +++--
1 file changed, 79 insertions(+), 13 deletions(-)
diff --git a/drivers/pci/controller/pci-hyperv.c
b/drivers/pci/controller/pci-hyperv.c
index 40b6254
cases of collision, the driver code detects and finds another
number that is not in use.
Suggested-by: Michael Kelley
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pci
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Tuesday, August 13, 2019 10:26 AM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; bhelg...@google.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
>
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Tuesday, August 13, 2019 6:14 AM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; bhelg...@google.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
>
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 92 +++--
1 file changed, 79 insertions(+), 13 deletions(-)
diff --git a/drivers/pci/controller/pci-hyperv.c
b/drivers/pci/controller/pci-hyperv.c
index 40b6254..4f3d97e
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Monday, August 12, 2019 11:39 AM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; bhelg...@google.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
>
> -Original Message-
> From: LKML haiyangz On Behalf Of Haiyang
> Zhang
> Sent: Tuesday, August 6, 2019 7:52 PM
> To: sas...@kernel.org; bhelg...@google.com; lorenzo.pieral...@arm.com;
> linux-hyp...@vger.kernel.org; linux-...@vger.kernel.org
> Cc: Haiyang
will detect and find another number that is not in use.
Thanks to Michael Kelley for proposing this idea.
Signed-off-by: Haiyang Zhang
Acked-by: Sasha Levin
---
drivers/pci/controller/pci-hyperv.c | 92 +++--
1 file changed, 79 insertions(+), 13 deletions(-)
diff --git
> -Original Message-
> From: Bjorn Helgaas
> Sent: Tuesday, August 6, 2019 2:55 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; lorenzo.pieral...@arm.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
>
numbers.
In the rare cases of collision, we will detect and find another number
that is not in use.
Thanks to Michael Kelley for proposing this idea.
Signed-off-by: Haiyang Zhang
---
drivers/pci/controller/pci-hyperv.c | 91 +++--
1 file changed, 78 insertions
probing mode by default for faster probing.
Also added a modules parameter, probe_type, to set sync probing mode if
a user wants to.
Fixes: af0a5646cb8d ("use the new async probing feature for the hyperv drivers")
Signed-off-by: Haiyang Zhang
---
drivers/hv/channel_mgmt.c
There is an extra rcu_read_unlock left in netvsc_recv_callback(),
after a previous patch that removes RCU from this function.
This patch removes the extra RCU unlock.
Fixes: 345ac08990b8 ("hv_netvsc: pass netvsc_device to receive callback")
Signed-off-by: Haiyang Zhang
---
drivers/
> -Original Message-
> From: Randy Dunlap
> Sent: Friday, July 12, 2019 11:53 AM
> To: linux-pci ; LKML ker...@vger.kernel.org>
> Cc: Matthew Wilcox ; Jake Oshins
> ; KY Srinivasan ; Haiyang
> Zhang ; Stephen Hemminger
> ; Stephen Hemminger
> ; Sasha Le
> -Original Message-
> From: linux-hyperv-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of David Miller
> Sent: Tuesday, July 9, 2019 8:30 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; linux-hyp...@vger.kernel.org;
> net...@vger.kernel.org; KY
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, July 9, 2019 7:47 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; linux-hyp...@vger.kernel.org;
> net...@vger.kernel.org; KY Srinivasan ; Stephen
> Hemminger ; o...@aepfle.de; vkuznets
> ; da
probing mode by default for faster probing.
Also added a modules parameter, probe_type, to set sync probing mode if
a user wants to.
Fixes: af0a5646cb8d ("use the new async probing feature for the hyperv drivers")
Signed-off-by: Haiyang Zhang
---
drivers/hv/channel_mgmt.c
> -Original Message-
> From: Randy Dunlap
> Sent: Wednesday, July 3, 2019 12:59 PM
> To: LKML ; linux-pci p...@vger.kernel.org>
> Cc: Matthew Wilcox ; Jake Oshins
> ; KY Srinivasan ; Haiyang
> Zhang ; Stephen Hemminger
> ; Sasha Levin ; Bjorn
> Helgaas
For better consistency of synthetic NIC names, we set the probe mode to
PROBE_FORCE_SYNCHRONOUS. So the names can be aligned with the vmbus
channel offer sequence.
Fixes: af0a5646cb8d ("use the new async probing feature for the hyperv drivers")
Signed-off-by: Haiyang Zhang
---
d
numbers.
In the rare cases of collision, we will detect and find another number
that is not in use.
Thanks to Michael Kelley for proposing this idea.
Signed-off-by: Haiyang Zhang
---
drivers/pci/controller/pci-hyperv.c | 91 +++--
1 file changed, 78 insertions
From: Haiyang Zhang
After queue stopped, the wakeup mechanism may wake it up again
when ring buffer usage is lower than a threshold. This may cause
send path panic on NULL pointer when we stopped all tx queues in
netvsc_detach and start removing the netvsc device.
This patch fix it by adding
> -Original Message-
> From: Stephen Hemminger
> Sent: Saturday, February 23, 2019 11:46 AM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; sas...@kernel.org; linux-
> hyp...@vger.kernel.org; KY Srinivasan ; Stephen
> Hemminger ; o...@aepfle.de; vkuznets
> ;
From: Haiyang Zhang
Incoming packets may have IP header checksum verified by the host.
They may not have IP header checksum computed after coalescing.
This patch re-compute the checksum when necessary, otherwise the
packets may be dropped, because Linux network stack always checks it.
Signed
From: Haiyang Zhang
The new mailing list is: linux-hyp...@vger.kernel.org
Signed-off-by: Haiyang Zhang
---
MAINTAINERS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 86aa227b5782..403d6e4b8257 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
From: Haiyang Zhang
The new mailing list is: linux-hyp...@vger.kernel.org
Signed-off-by: Haiyang Zhang
---
MAINTAINERS | 1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 86aa227b5782..ef65de3cfe1b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7137,6 +7137,7
> -Original Message-
> From: Greg KH
> Sent: Wednesday, February 20, 2019 2:52 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; linux-hyp...@vger.kernel.org;
> de...@linuxdriverproject.org; Stephen Hemminger
> ; linux-kernel@vger.kernel.org
> Subject: Re:
From: Haiyang Zhang
Changing mtu, channels, or buffer sizes ops call to netvsc_attach(),
rndis_set_subchannel(), which always reset the hash key to default
value. That will override hash key changed previously. This patch
fixes the problem by save the hash key, then restore it when we re-
add
From: Haiyang Zhang
These assignments occur in multiple places. The patch refactor them
to a function for simplicity. It also puts the struct to heap area
for future expension.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/netvsc_drv.c | 134
1 file
From: Haiyang Zhang
Using ethtool to change Hash key failed on Linux VM runnig on
Hyper-V. This patch set fix them.
It targets Hyper-V tree, hyperv-fixes branch managed by
Sasha Levin .
Haiyang Zhang (3):
Fix ethtool change hash key error
Refactor assignments of struct netvsc_device_info
From: Haiyang Zhang
Hyper-V hosts require us to disable RSS before changing RSS key,
otherwise the changing request will fail. This patch fixes the
coding error.
Fixes: ff4a44199012 ("netvsc: allow get/set of RSS indirection table")
Reported-by: Wei Hu
Signed-off-by: Hai
> -Original Message-
> From: Adrian Vladu
> Sent: Thursday, January 3, 2019 2:43 PM
> To: linux-kernel@vger.kernel.org
> Cc: Adrian Vladu ; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; Sasha Levin ;
> David S. Miller ; apilotti
>
> Subject
;
> Michael Kelley ; vkuznets
> Cc: Dexuan Cui ; KY Srinivasan ;
> Haiyang Zhang ; sta...@vger.kernel.org
> Subject: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by
> incorrect clean-up
>
> From: Dexuan Cui
>
> In kvp_send_key(), we
;
> Michael Kelley ; vkuznets
> Cc: Dexuan Cui ; KY Srinivasan ;
> Haiyang Zhang ; sta...@vger.kernel.org
> Subject: [PATCH V2 3/5] Drivers: hv: kvp: Fix the recent regression caused by
> incorrect clean-up
>
> From: Dexuan Cui
>
> In kvp_send_key(), we
> -Original Message-
> From: Greg Kroah-Hartman
> Sent: Wednesday, October 17, 2018 9:17 AM
> To: Haiyang Zhang
> Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger
> ; David S. Miller ; Sasha
> Levin
> Subject: Re: [PATCH 4.18 101
> -Original Message-
> From: Greg Kroah-Hartman
> Sent: Wednesday, October 17, 2018 9:17 AM
> To: Haiyang Zhang
> Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger
> ; David S. Miller ; Sasha
> Levin
> Subject: Re: [PATCH 4.18 101
> -Original Message-
> From: Greg Kroah-Hartman
> Sent: Wednesday, October 17, 2018 3:46 AM
> To: Haiyang Zhang
> Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger
> ; David S. Miller ; Sasha
> Levin
> Subject: Re: [PATCH 4.18 101
> -Original Message-
> From: Greg Kroah-Hartman
> Sent: Wednesday, October 17, 2018 3:46 AM
> To: Haiyang Zhang
> Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; Stephen Hemminger
> ; David S. Miller ; Sasha
> Levin
> Subject: Re: [PATCH 4.18 101
> -Original Message-
> From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Greg Kroah-Hartman
> Sent: Tuesday, October 16, 2018 1:06 PM
> To: linux-kernel@vger.kernel.org
> Cc: Greg Kroah-Hartman ;
> sta...@vger.kernel.org; Stephen Hemminger ;
> David S. Miller
> -Original Message-
> From: linux-kernel-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of Greg Kroah-Hartman
> Sent: Tuesday, October 16, 2018 1:06 PM
> To: linux-kernel@vger.kernel.org
> Cc: Greg Kroah-Hartman ;
> sta...@vger.kernel.org; Stephen Hemminger ;
> David S. Miller
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, October 12, 2018 6:21 PM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org; o...@aepfle.de; linux-kernel@vger.kernel.org;
> de...@linuxdriverproject.org; vk
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, October 12, 2018 6:21 PM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org; o...@aepfle.de; linux-kernel@vger.kernel.org;
> de...@linuxdriverproject.org; vk
From: Haiyang Zhang
If out ring is full temporarily and receive completion cannot go out,
we may still need to reschedule napi if certain conditions are met.
Otherwise the napi poll might be stopped forever, and cause network
disconnect.
Fixes: 7426b1a51803 ("netvsc: optimize re
From: Haiyang Zhang
If out ring is full temporarily and receive completion cannot go out,
we may still need to reschedule napi if certain conditions are met.
Otherwise the napi poll might be stopped forever, and cause network
disconnect.
Fixes: 7426b1a51803 ("netvsc: optimize re
> -Original Message-
> From: Stephen Hemminger
> Sent: Monday, July 9, 2018 2:15 PM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org; o...@aepfle.de; Stephen Hemminger
> ; linux-kernel@vger.kernel.org;
> de...@linux
> -Original Message-
> From: Stephen Hemminger
> Sent: Monday, July 9, 2018 2:15 PM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org; o...@aepfle.de; Stephen Hemminger
> ; linux-kernel@vger.kernel.org;
> de...@linux
From: Haiyang Zhang
If out ring is full temporarily and receive completion cannot go out,
we may still need to reschedule napi if other conditions are met.
Otherwise the napi poll might be stopped forever, and cause network
disconnect.
Fixes: 7426b1a51803 ("netvsc: optimize receive comple
From: Haiyang Zhang
If out ring is full temporarily and receive completion cannot go out,
we may still need to reschedule napi if other conditions are met.
Otherwise the napi poll might be stopped forever, and cause network
disconnect.
Fixes: 7426b1a51803 ("netvsc: optimize receive comple
minger <sthem...@microsoft.com>;
> o...@aepfle.de; a...@canonical.com; jasow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com
&g
x-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com
> Subject: [PATCH] PCI: hv: Fix a __local_bh_enable_ip warning in
> hv_compose_msi_msg()
>
>
> Commit de0aa7b2f97d ("PCI: hv: Fix 2 hang issues
erdev-
> de...@linuxdriverproject.org' <driverdev-de...@linuxdriverproject.org>;
> Haiyang Zhang <haiya...@microsoft.com>; 'vkuzn...@redhat.com'
> <vkuzn...@redhat.com>; 'marcelo.ce...@canonical.com'
> <marcelo.ce...@canonical.com>
> Subject: [PATCH] PCI:
' ; 'jasow...@redhat.com'
>
> Cc: 'linux-kernel@vger.kernel.org' ; 'driverdev-
> de...@linuxdriverproject.org' ;
> Haiyang Zhang ; 'vkuzn...@redhat.com'
> ; 'marcelo.ce...@canonical.com'
>
> Subject: [PATCH] PCI: hv: Do not wait forever on a device that has disappeared
From: Haiyang Zhang <haiya...@microsoft.com>
The handlers for ethtool get/set msg level are missing from netvsc.
This patch adds them.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/net/hyperv/netvsc_drv.c | 16
1 file changed, 16 insertions(+)
From: Haiyang Zhang
The handlers for ethtool get/set msg level are missing from netvsc.
This patch adds them.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/netvsc_drv.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net
From: Haiyang Zhang <haiya...@microsoft.com>
This patch adds the NetVSP v6 and 6.1 message structures, and includes
these versions into NetVSC/NetVSP version negotiation process.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/net/hyperv/hyperv
From: Haiyang Zhang
This patch adds the NetVSP v6 and 6.1 message structures, and includes
these versions into NetVSC/NetVSP version negotiation process.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/hyperv_net.h | 164
drivers/net/hyperv
> -Original Message-
> From: Sridhar Pitchai
> Sent: Thursday, April 12, 2018 11:14 AM
> To: Bjorn Helgaas <helg...@kernel.org>; Lorenzo Pieralisi
> <lorenzo.pieral...@arm.com>
> Cc: Haiyang Zhang <haiya...@microsoft.com>; Dexuan Cui
> <de..
> -Original Message-
> From: Sridhar Pitchai
> Sent: Thursday, April 12, 2018 11:14 AM
> To: Bjorn Helgaas ; Lorenzo Pieralisi
>
> Cc: Haiyang Zhang ; Dexuan Cui
> ; Stephen Hemminger ;
> Jake Oshins ; KY Srinivasan ;
> Michael Kelley (EOSG) ;
> de...
From: Haiyang Zhang <haiya...@microsoft.com>
This patch adds the NetVSP v6 message structures, and includes this
version into NetVSC/NetVSP version negotiation process.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/net/hyperv/hyper
From: Haiyang Zhang
This patch adds the NetVSP v6 message structures, and includes this
version into NetVSC/NetVSP version negotiation process.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/hyperv_net.h | 33 +
drivers/net/hyperv/netvsc.c | 3 ++-
2
From: Haiyang Zhang <haiya...@microsoft.com>
The variables, msg and data, have the same value. This patch removes
the extra one.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/net/hyperv/rndis_filter.c | 16 +---
1 file changed, 9 insertions(+),
From: Haiyang Zhang
The variables, msg and data, have the same value. This patch removes
the extra one.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/rndis_filter.c | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/net/hyperv/rndis_filter.c
b
> -Original Message-
> From: Stephen Hemminger <step...@networkplumber.org>
> Sent: Tuesday, March 27, 2018 11:23 AM
> To: Haiyang Zhang <haiya...@linuxonhyperv.com>
> Cc: Haiyang Zhang <haiya...@microsoft.com>; da...@davemloft.net;
> net...@vger
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, March 27, 2018 11:23 AM
> To: Haiyang Zhang
> Cc: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org; o...@aepfle.de; Stephen Hemminger
> ; linux-kernel@vger.kernel.org;
> de...@linux
> -Original Message-
> From: Michael Kelley (EOSG)
> Sent: Saturday, March 24, 2018 12:48 PM
> To: Haiyang Zhang <haiya...@microsoft.com>; da...@davemloft.net;
> net...@vger.kernel.org
> Cc: KY Srinivasan <k...@microsoft.com>; Stephen Hemminger
> <sth
> -Original Message-
> From: Michael Kelley (EOSG)
> Sent: Saturday, March 24, 2018 12:48 PM
> To: Haiyang Zhang ; da...@davemloft.net;
> net...@vger.kernel.org
> Cc: KY Srinivasan ; Stephen Hemminger
> ; o...@aepfle.de; vkuzn...@redhat.com;
> de...@linuxdriverp
> -Original Message-
> From: Vitaly Kuznetsov <vkuzn...@redhat.com>
> Sent: Friday, March 23, 2018 11:17 AM
> To: Haiyang Zhang <haiya...@linuxonhyperv.com>
> Cc: da...@davemloft.net; net...@vger.kernel.org; Haiyang Zhang
> <haiya...@microsoft.com>
> -Original Message-
> From: Vitaly Kuznetsov
> Sent: Friday, March 23, 2018 11:17 AM
> To: Haiyang Zhang
> Cc: da...@davemloft.net; net...@vger.kernel.org; Haiyang Zhang
> ; KY Srinivasan ; Stephen
> Hemminger ; o...@aepfle.de;
> de...@linuxdriverp
> -Original Message-
> From: Long Li <lon...@linuxonhyperv.com>
> Sent: Thursday, March 22, 2018 8:16 PM
> To: KY Srinivasan <k...@microsoft.com>; Haiyang Zhang
> <haiya...@microsoft.com>; Stephen Hemminger <sthem...@microsoft.com>;
> James E . J
> -Original Message-
> From: Long Li
> Sent: Thursday, March 22, 2018 8:16 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> James E . J . Bottomley ; Martin K . Petersen
> ; de...@linuxdriverproject.org; linux-
> s...@vger.kernel.org; linux-ker
> -Original Message-
> From: Long Li <lon...@linuxonhyperv.com>
> Sent: Thursday, March 22, 2018 8:16 PM
> To: KY Srinivasan <k...@microsoft.com>; Haiyang Zhang
> <haiya...@microsoft.com>; Stephen Hemminger <sthem...@microsoft.com>;
> James E . J
> -Original Message-
> From: Long Li
> Sent: Thursday, March 22, 2018 8:16 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> James E . J . Bottomley ; Martin K . Petersen
> ; de...@linuxdriverproject.org; linux-
> s...@vger.kernel.org; linux-ker
From: Haiyang Zhang <haiya...@microsoft.com>
As defined in hyperv_net.h, the NVSP_STAT_SUCCESS is one not zero.
Some functions returns 0 when it actually means NVSP_STAT_SUCCESS.
This patch fixes them.
In netvsc_receive(), it puts the last RNDIS packet's receive status
for all p
From: Haiyang Zhang
As defined in hyperv_net.h, the NVSP_STAT_SUCCESS is one not zero.
Some functions returns 0 when it actually means NVSP_STAT_SUCCESS.
This patch fixes them.
In netvsc_receive(), it puts the last RNDIS packet's receive status
for all packets in a vmxferpage which may contain
From: Haiyang Zhang <haiya...@microsoft.com>
Fix the status code returned to the host. Also add range
check for rx packet offset and length.
Haiyang Zhang (2):
hv_netvsc: Fix the return status in RX path
hv_netvsc: Add range checking for rx packet offset and length
drivers/net/
From: Haiyang Zhang <haiya...@microsoft.com>
This patch adds range checking for rx packet offset and length.
It may only happen if there is a host side bug.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/net/hyperv/hyperv_net.h | 1 +
drivers/net/hyperv/netvs
From: Haiyang Zhang
Fix the status code returned to the host. Also add range
check for rx packet offset and length.
Haiyang Zhang (2):
hv_netvsc: Fix the return status in RX path
hv_netvsc: Add range checking for rx packet offset and length
drivers/net/hyperv/hyperv_net.h | 1
From: Haiyang Zhang
This patch adds range checking for rx packet offset and length.
It may only happen if there is a host side bug.
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/hyperv_net.h | 1 +
drivers/net/hyperv/netvsc.c | 17 +++--
2 files changed, 16 insertions
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@mic
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ; Jack
> Morgenstein ; sta...@vger.kernel.org
> Subject: [PATCH v3 5/6] PCI: hv: hv_pci_devices_present(): only queue a new
> work wh
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@micro
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ;
> sta...@vger.kernel.org; Jack Morgenstein
> Subject: [PATCH v3 6/6] PCI: hv: fix 2 hang issues in hv_compose_msi_msg()
>
>
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@mic
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@mic
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ; Jack
> Morgenstein ; sta...@vger.kernel.org
> Subject: [PATCH v3 4/6] PCI: hv: remove hbus->enum_sem
>
> Since we serialize th
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ; Jack
> Morgenstein ; sta...@vger.kernel.org
> Subject: [PATCH v3 3/6] PCI: hv: serialize the present/eject work items
>
> When
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@mic
asow...@redhat.com
> Cc: linux-kernel@vger.kernel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang <haiya...@microsoft.com>; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> <michael.h.kel...@microsoft.com>; Dexuan Cui <de...@microsof
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ; Jack
> Morgenstein ; sta...@vger.kernel.org
> Subject: [PATCH v3 2/6] PCI: hv: hv_eject_device_work(): remove the bogus test
>
>
nel.org; driverdev-de...@linuxdriverproject.org;
> Haiyang Zhang ; vkuzn...@redhat.com;
> marcelo.ce...@canonical.com; Michael Kelley (EOSG)
> ; Dexuan Cui ;
> sta...@vger.kernel.org
> Subject: [PATCH v3 1/6] PCI: hv: fix a comment typo in
> _hv_pcifront_read_config()
>
> No func
nux-fsde...@vger.kernel.org; Jan Kara <j...@suse.cz>; Amir Goldstein
> <amir7...@gmail.com>; Miklos Szeredi <mszer...@redhat.com>; Haiyang
> Zhang <haiya...@microsoft.com>; 'linux-kernel@vger.kernel.org' ker...@vger.kernel.org>; Jork Loeser <jork.loe...@microsoft
Amir Goldstein
> ; Miklos Szeredi ; Haiyang
> Zhang ; 'linux-kernel@vger.kernel.org' ker...@vger.kernel.org>; Jork Loeser
> Subject: Re: Any known soft lockup issue with vfs_write()->fsnotify()?
>
> Hi!
>
> On Fri 02-03-18 22:28:50, Dexuan Cui wrote:
> > Recently peo
The comments doesn't match what the current code does, also have a
typo. This patch corrects them.
Signed-off-by: Haiyang Zhang <haiya...@microsoft.com>
---
drivers/hv/channel_mgmt.c | 6 ++
include/linux/hyperv.h| 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
diff
101 - 200 of 837 matches
Mail list logo