]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add wrappers for HyperV PCIe operations
authorEran Ben Elisha <eranbe@mellanox.com>
Thu, 22 Aug 2019 05:05:47 +0000 (05:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2019 07:25:12 +0000 (00:25 -0700)
commit8eb50ff4799b038395503a0dfac05c8580c80e4d
tree99d404105e362c980092aa570777c85a5ed8e908
parent85a975723b05c2bd339ffde0224fe27cc443f1cd
net/mlx5: Add wrappers for HyperV PCIe operations

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 Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/lib/hv.h [new file with mode: 0644]