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)
commit913d14e866573350de3adede3c90cefb81944b0c
tree99d404105e362c980092aa570777c85a5ed8e908
parent348dd93e40c112afda3cd07daa6f470e474d29dc
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]