> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, April 16, 2021 12:40 PM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.org
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, April 15, 2021 5:08 PM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.org
> -Original Message-
> From: Andrew Lunn
> Sent: Monday, April 12, 2021 8:32 AM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.or
> -Original Message-
> From: Andrew Lunn
> Sent: Monday, April 12, 2021 8:16 AM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.or
> -Original Message-
> From: David Miller
> Sent: Thursday, April 8, 2021 8:41 PM
> To: Dexuan Cui
> Cc: k...@kernel.org; KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.org; l...@kernel.o
> -Original Message-
> From: Stephen Hemminger
> Sent: Thursday, April 8, 2021 12:52 PM
> To: Randy Dunlap
> Cc: Dexuan Cui ; da...@davemloft.net;
> k...@kernel.org; KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; wei@kernel.org; Wei Liu
>
> -Original Message-
> From: Andrew Lunn
> Sent: Thursday, April 8, 2021 12:45 PM
> To: Haiyang Zhang
> Cc: Randy Dunlap ; Dexuan Cui
> ; da...@davemloft.net; k...@kernel.org; KY
> Srinivasan ; Stephen Hemminger
> ; wei@kernel.org; Wei Liu
>
> -Original Message-
> From: Randy Dunlap
> Sent: Thursday, April 8, 2021 12:23 PM
> To: Dexuan Cui ; da...@davemloft.net;
> k...@kernel.org; KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.org; l...@kern
> -Original Message-
> From: Wei Liu
> Sent: Wednesday, April 7, 2021 11:01 AM
> To: Haiyang Zhang
> Cc: Wei Liu ; Dexuan Cui ;
> da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
> Wei Liu ; net...@vger.kernel.org; linux-
> ker...
> -Original Message-
> From: Leon Romanovsky
> Sent: Wednesday, April 7, 2021 10:55 AM
> To: Haiyang Zhang
> Cc: Dexuan Cui ; da...@davemloft.net;
> k...@kernel.org; KY Srinivasan ; Stephen Hemminger
> ; wei@kernel.org; Wei Liu
> ; net...@vger.
> -Original Message-
> From: Leon Romanovsky
> Sent: Wednesday, April 7, 2021 8:51 AM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.
> -Original Message-
> From: Wei Liu
> Sent: Wednesday, April 7, 2021 9:17 AM
> To: Dexuan Cui
> Cc: da...@davemloft.net; k...@kernel.org; KY Srinivasan
> ; Haiyang Zhang ; Stephen
> Hemminger ; wei@kernel.org; Wei Liu
> ; net...@vger.kernel.org; linux-
> -Original Message-
> From: Vitaly Kuznetsov
> Sent: Tuesday, March 30, 2021 7:43 AM
> To: Haiyang Zhang ; linux-
> hyp...@vger.kernel.org; net...@vger.kernel.org
> Cc: Haiyang Zhang ; KY Srinivasan
> ; Stephen Hemminger ;
> o...@aepfle.de; da...@dav
Add error handling in case of failure to send switching data path message
to the host.
Reported-by: Shachar Raindel
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/hyperv_net.h | 6 +-
drivers/net/hyperv/netvsc.c | 35 +
drivers/net/hyperv
From: Shachar Raindel
The batching logic in netvsc_send is non-trivial, due to
a combination of the Linux API and the underlying hypervisor
interface. Add a comment explaining why the code is written this
way.
Signed-off-by: Shachar Raindel
Signed-off-by: Haiyang Zhang
---
.../ethernet
> -Original Message-
> From: Andrea Parri (Microsoft)
> Sent: Tuesday, January 26, 2021 6:57 AM
> To: linux-kernel@vger.kernel.org
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; Michael Kelley
> ; linux-hyp...@vger.kernel.org; Tianyu L
> -Original Message-
> From: Andrea Parri
> Sent: Wednesday, January 20, 2021 11:05 PM
> To: Haiyang Zhang
> Cc: linux-kernel@vger.kernel.org; KY Srinivasan ;
> Stephen Hemminger ; Wei Liu
> ; Michael Kelley ; Tianyu Lan
> ; Saruhan Karademir
> ;
> -Original Message-
> From: Andrea Parri (Microsoft)
> Sent: Tuesday, January 19, 2021 12:59 PM
> To: linux-kernel@vger.kernel.org
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; Michael Kelley
> ; Tianyu Lan ;
> Saruhan Karademir ;
> -Original Message-
> From: Long Li
> Sent: Tuesday, January 5, 2021 8:16 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; David S. Miller
> ; Jakub Kicinski ; linux-
> hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...
> -Original Message-
> From: Long Li
> Sent: Tuesday, January 5, 2021 8:16 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; David S. Miller
> ; Jakub Kicinski ; linux-
> hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...
> -Original Message-
> From: Long Li
> Sent: Tuesday, January 5, 2021 8:16 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; David S. Miller
> ; Jakub Kicinski ; linux-
> hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...
> -Original Message-
> From: Dexuan Cui
> Sent: Tuesday, November 17, 2020 7:03 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; wei@kernel.org;
> b.zolnier...@samsung.com; linux-hyp...@vger.kernel.org; dri-
> de...@lists.freedesktop.org; lin
> -Original Message-
> From: Andrea Parri (Microsoft)
> Sent: Wednesday, November 18, 2020 10:33 AM
> To: linux-kernel@vger.kernel.org
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; linux-
> hyp...@vger.kernel.org; Michael Kelley ;
> -Original Message-
> From: Andrea Parri (Microsoft)
> Sent: Wednesday, September 16, 2020 5:47 AM
> To: linux-kernel@vger.kernel.org
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; linux-
> hyp...@vger.kernel.org; Andres Beltran ; Mi
> -Original Message-
> From: Andrea Parri (Microsoft)
> Sent: Thursday, September 10, 2020 8:48 AM
> To: linux-kernel@vger.kernel.org
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; linux-
> hyp...@vger.kernel.org; Andres Beltran ; Mi
the skb_get_rx_queue() called
later will get the correct queue number, and VF will be able to use
all queues.
Fixes: b3bf5666a510 ("hv_netvsc: defer queue selection to VF")
Signed-off-by: Haiyang Zhang
---
drivers/net/hyperv/netvsc_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 dele
When using vf_ops->ndo_select_queue, the number of queues of VF is
usually bigger than the synthetic NIC. This condition may happen
often.
Remove "unlikely" from the comparison of ndev->real_num_tx_queues.
Fixes: b3bf5666a510 ("hv_netvsc: defer queue selection to VF")
Si
This patch set includes two fixes for the select_queue process.
Haiyang Zhang (2):
hv_netvsc: Remove "unlikely" from netvsc_select_queue
hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
drivers/net/hyperv/netvsc_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.25.1
> -Original Message-
> From: Andres Beltran
> Sent: Tuesday, July 28, 2020 6:53 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> wei@kernel.org
> Cc: linux-hyp...@vger.kernel.org; linux-kernel@vger.kernel.org; Michael
> Kelley ; parri.a
> -Original Message-
> From: Andres Beltran
> Sent: Friday, July 24, 2020 7:04 PM
> To: Stephen Hemminger
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu ; linux-hyp...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Michael Kelley ;
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, July 24, 2020 1:11 PM
> To: Andres Beltran
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> wei@kernel.org; linux-hyp...@vger.kernel.org; linux-
> ker...@vger.kernel.org; Mich
> -Original Message-
> From: Chi Song
> Sent: Friday, July 24, 2020 12:14 AM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu ; David S. Miller ; Jakub
> Kicinski
> Cc: linux-hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker..
> -Original Message-
> From: Michal Kubecek
> Sent: Thursday, July 23, 2020 3:36 PM
> To: Chi Song
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu ; David S. Miller ; Jakub
> Kicinski ; linux-hyp...@vger.kernel.org;
> net...@vg
> -Original Message-
> From: Sriram Krishnan
> Sent: Wednesday, July 22, 2020 11:39 AM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu
> Cc: mbumg...@cisco.com; u...@cisco.com; n...@cisco.com; xe-linux-
> exter...@cisco.com; David S.
> -Original Message-
> From: Sriram Krishnan (srirakr2)
> Sent: Tuesday, July 21, 2020 3:10 AM
> To: David Miller
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> wei@kernel.org; Malcolm Bumgardner (mbumgard)
> ; Umesha G M (ugm) ; Niranjan
> -Original Message-
> From: Chi Song
> Sent: Tuesday, July 21, 2020 12:59 AM
> To: Stephen Hemminger ; David Miller
> ; Haiyang Zhang ; KY
> Srinivasan ; Stephen Hemminger
> ; wei@kernel.org; k...@kernel.org; linux-
> hyp...@vger.kernel.org
> Cc: ne
> -Original Message-
> From: Sriram Krishnan
> Sent: Monday, July 20, 2020 12:46 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu
> Cc: mbumg...@cisco.com; u...@cisco.com; n...@cisco.com; xe-linux-
> exter...@cisco.com; David S.
> -Original Message-
> From: Sriram Krishnan
> Sent: Monday, July 20, 2020 12:46 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu
> Cc: mbumg...@cisco.com; u...@cisco.com; n...@cisco.com; xe-linux-
> exter...@cisco.com; David S.
> -Original Message-
> From: Chi Song
> Sent: Monday, July 20, 2020 3:17 AM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> Wei Liu ; David S. Miller ; Jakub
> Kicinski
> Cc: linux-hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker..
> -Original Message-
> From: Andres Beltran
> Sent: Monday, June 29, 2020 4:02 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> wei@kernel.org
> Cc: linux-hyp...@vger.kernel.org; linux-kernel@vger.kernel.org; Michael
> Kelley ; parri.and...@g
> -Original Message-
> From: Andres Beltran
> Sent: Thursday, June 25, 2020 11:37 AM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger ;
> wei@kernel.org
> Cc: linux-hyp...@vger.kernel.org; linux-kernel@vger.kernel.org; Michael
> Kelley ; parri.
> -Original Message-
> From: Nathan Chancellor
> Sent: Thursday, April 30, 2020 2:02 AM
> To: Michael Kelley
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Wei Liu ; linux-
> hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...@vger
> -Original Message-
> From: Dexuan Cui
> Sent: Wednesday, September 25, 2019 6:04 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; sas...@kernel.org; da...@davemloft.net;
> linux-hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...@
> -Original Message-
> From: Denis Efremov
> Sent: Monday, September 16, 2019 4:42 PM
> To: Bjorn Helgaas
> Cc: Denis Efremov ; linux-kernel@vger.kernel.org;
> linux-...@vger.kernel.org; Andrew Murray ;
> linux-hyp...@vger.kernel.org; KY Srinivasan ; Haiy
> -Original Message-
> From: Dexuan Cui
> Sent: Wednesday, September 11, 2019 7:38 PM
> To: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; sas...@kernel.org; da...@davemloft.net;
> linux-hyp...@vger.kernel.org; net...@vger.kernel.org; linux-
> ker...@
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Tuesday, September 10, 2019 7:18 AM
> To: Haiyang Zhang
> Cc: Stephen Rothwell ; Bjorn Helgaas
> ; Linux Next Mailing List n...@vger.kernel.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; Sa
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Wednesday, August 21, 2019 5:03 AM
> To: Stephen Rothwell
> Cc: Bjorn Helgaas ; Linux Next Mailing List n...@vger.kernel.org>; Linux Kernel Mailing List ker...@vger.kernel.org>; Sasha Levin ; Haiyang Z
In a previous patch, the NETIF_F_SG was missing after the code changes.
That caused the SG feature to be "fixed". This patch includes it into
hw_features, so it is tunable again.
Fixes: 23312a3be999 ("netvsc: negotiate checksum and segmentation parameters")
Signed-o
This patch set fixes an issue in SG tuning, and sync
offload settings from synthetic NIC to VF NIC.
Haiyang Zhang (2):
hv_netvsc: hv_netvsc: Allow scatter-gather feature to be tunable
hv_netvsc: Sync offloading features to VF NIC
drivers/net/hyperv/hyperv_net.h | 2 +-
drivers/net/hyperv
host events.
Signed-off-by: Haiyang Zhang
Cc: Mark Bloch
---
drivers/net/hyperv/netvsc_drv.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 1f1192e..39dddcd 100644
--- a/drivers
> -Original Message-
> From: Jakub Kicinski
> Sent: Friday, August 30, 2019 7:05 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...@dav
> -Original Message-
> From: Jakub Kicinski
> Sent: Friday, August 30, 2019 4:05 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...@dav
In a previous patch, the NETIF_F_SG was missing after the code changes.
That caused the SG feature to be "fixed". This patch includes it into
hw_features, so it is tunable again.
Fixes: 23312a3be999 ("netvsc: negotiate checksum and segmentation parameters")
Signed-o
This patch set fixes an issue in SG tuning, and sync
offload settings from synthetic NIC to VF NIC.
Haiyang Zhang (2):
hv_netvsc: hv_netvsc: Allow scatter-gather feature to be tunable
hv_netvsc: Sync offloading features to VF NIC
drivers/net/hyperv/hyperv_net.h | 2 +-
drivers/net/hyperv
host events.
Signed-off-by: Haiyang Zhang
Cc: Mark Bloch
---
drivers/net/hyperv/netvsc_drv.c | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/netvsc_drv.c
index 1f1192e..39dddcd 100644
--- a/drivers
> -Original Message-
> From: Saeed Mahameed
> Sent: Thursday, August 29, 2019 4:04 PM
> To: s...@canb.auug.org.au; Eran Ben Elisha ; linux-
> n...@vger.kernel.org; rdun...@infradead.org; Haiyang Zhang
>
> Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.o
> -Original Message-
> From: Saeed Mahameed
> Sent: Thursday, August 29, 2019 2:32 PM
> To: s...@canb.auug.org.au; Eran Ben Elisha ; linux-
> n...@vger.kernel.org; rdun...@infradead.org; Haiyang Zhang
>
> Cc: linux-kernel@vger.kernel.org; net...@vger.kernel.o
> -Original Message-
> From: Krzysztof Wilczynski On Behalf Of Krzysztof
> Wilczynski
> Sent: Thursday, August 29, 2019 2:17 AM
> To: Bjorn Helgaas
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Sasha Levin ; Lorenzo
> Pieralisi ; linux-...@vg
> -Original Message-
> From: Krzysztof Wilczynski On Behalf Of Krzysztof
> Wilczynski
> Sent: Wednesday, August 28, 2019 3:19 PM
> To: Bjorn Helgaas
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Sasha Levin ; Lorenzo
> Pieralisi ; linux-...@vg
> -Original Message-
> From: David Miller
> Sent: Thursday, August 22, 2019 3:39 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; sae...@mellanox.com; l...@kernel.org;
> era...@mellanox.com; lorenzo.pieral...@arm.com; bhelg...@google.com;
> linux-...@vger.
> -Original Message-
> From: David Miller
> Sent: Thursday, August 22, 2019 3:33 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; sae...@mellanox.com; l...@kernel.org;
> era...@mellanox.com; lorenzo.pieral...@arm.com; bhelg...@google.com;
> linux-...@vger.
: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 1 +
drivers/net/ethernet/mellanox/mlx5/core/en.h | 13 ++
.../ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c | 162 +
.../ethernet/mellanox/mlx5/core/en
block layout.
Signed-off-by: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c | 253 +
.../net/ethernet/mellanox/mlx5/core/lib/hv_v
Mahameed
Signed-off-by: Haiyang Zhang
---
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c | 122 -
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.h | 1 +
2 files changed, 121 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c
b
: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 1 +
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c | 64
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.h | 22
3 files changed, 87
This interface 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
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
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 interface driver for software backchannel interface
MAINTAINERS
block layout.
Signed-off-by: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 2 +-
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c | 253 +
.../net/ethernet/mellanox/mlx5/core/lib/hv_v
Mahameed
Signed-off-by: Haiyang Zhang
---
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c | 122 -
.../net/ethernet/mellanox/mlx5/core/lib/hv_vhca.h | 1 +
2 files changed, 121 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/lib/hv_vhca.c
b
This interface 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
: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 1 +
drivers/net/ethernet/mellanox/mlx5/core/en.h | 13 ++
.../ethernet/mellanox/mlx5/core/en/hv_vhca_stats.c | 162 +
.../ethernet/mellanox/mlx5/core/en
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
: Eran Ben Elisha
Signed-off-by: Saeed Mahameed
Signed-off-by: Haiyang Zhang
---
drivers/net/ethernet/mellanox/mlx5/core/Makefile | 1 +
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c | 64
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.h | 22
3 files changed, 87
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 interface driver for software backchannel
interface
> -Original Message-
> From: linux-hyperv-ow...@vger.kernel.org ow...@vger.kernel.org> On Behalf Of David Miller
> Sent: Wednesday, August 21, 2019 9:09 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; sae...@mellanox.com; l...@kernel.org;
> era...@mellano
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 dat
This interface 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
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_INTERFACE is set.
Signed-off-by: Eran
From: Eran Ben Elisha
Control agent is responsible over of the control block (ID 0). It should
update the PF via this block about every capability change. In addition,
upon block 0 invalidate, it should activate all other supported agents
with data requests from the PF.
Upon agent create/destroy
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
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 interface driver for software backchannel
interface
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 bloc
> -Original Message-
> From: David Miller
> Sent: Tuesday, August 20, 2019 3:29 PM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; sae...@mellanox.com; l...@kernel.org;
> era...@mellanox.com; lorenzo.pieral...@arm.com; bhelg...@google.com;
> linux-...@vger.
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 bloc
From: Eran Ben Elisha
Control agent is responsible over of the control block (ID 0). It should
update the PF via this block about every capability change. In addition,
upon block 0 invalidate, it should activate all other supported agents
with data requests from the PF.
Upon agent create/destroy
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_INTERFACE is set.
Signed-off-by: Eran
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 dat
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
This interface 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
This patch set adds paravirtual backchannel in software in pci_hyperv,
which is required by the mlx5e driver HV VHCA stats agent.
The stats agent is responsible on running a periodic rx/tx packets/bytes
stats update.
Dexuan Cui (1):
PCI: hv: Add a paravirtual backchannel in software
Haiyang
> -Original Message-
> From: Eran Ben Elisha
> Sent: Thursday, August 15, 2019 7:35 AM
> To: Mark Bloch ; Haiyang Zhang
> ; sas...@kernel.org; da...@davemloft.net;
> Saeed Mahameed ; l...@kernel.org;
> lorenzo.pieral...@arm.com; bhelg...@google.com; linux-
> p..
> -Original Message-
> From: Vitaly Kuznetsov
> Sent: Friday, August 16, 2019 12:16 PM
> To: Haiyang Zhang
> Cc: KY Srinivasan ; Stephen Hemminger
> ; linux-kernel@vger.kernel.org;
> sas...@kernel.org; da...@davemloft.net; sae...@mellanox.com;
> l...@kernel.
> -Original Message-
> From: Vitaly Kuznetsov
> Sent: Friday, August 16, 2019 8:28 AM
> To: Haiyang Zhang ; sas...@kernel.org;
> da...@davemloft.net; sae...@mellanox.com; l...@kernel.org;
> era...@mellanox.com; lorenzo.pieral...@arm.com; bhelg...@google.com;
> linu
> -Original Message-
> From: Lorenzo Pieralisi
> Sent: Friday, August 16, 2019 5:52 AM
> To: Haiyang Zhang
> Cc: sas...@kernel.org; bhelg...@google.com; linux-
> hyp...@vger.kernel.org; linux-...@vger.kernel.org; KY Srinivasan
> ; Stephen Hemminger ;
> o...@aep
hat 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/d
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: Thursday, August 15, 2019 12:11 PM
> 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: Wenwen Wang
> Sent: Wednesday, August 14, 2019 4:16 PM
> To: Wenwen Wang
> Cc: KY Srinivasan ; Haiyang Zhang
> ; Stephen Hemminger
> ; Sasha Levin ; David S.
> Miller ; open list:Hyper-V CORE AND DRIVERS
> ; open list:NETWO
From: Eran Ben Elisha
Control agent is responsible over of the control block (ID 0). It should
update the PF via this block about every capability change. In addition,
upon block 0 invalidate, it should activate all other supported agents
with data requests from the PF.
Upon agent create/destroy
1 - 100 of 488 matches
Mail list logo