[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87vbahejyn.fsf@vitty.brq.redhat.com>
Date: Thu, 08 Oct 2015 12:24:48 +0200
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: "K. Y. Srinivasan" <kys@...rosoft.com>
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, olaf@...fle.de, apw@...onical.com,
jasowang@...hat.com, Jake Oshins <jakeo@...rosoft.com>
Subject: Re: [PATCH 10/10] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through
"K. Y. Srinivasan" <kys@...rosoft.com> writes:
> From: Jake Oshins <jakeo@...rosoft.com>
>
> This defines the channel type for PCI front-ends in Hyper-V VMs.
>
> Signed-off-by: Jake Oshins <jakeo@...rosoft.com>
> Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> ---
> drivers/hv/channel_mgmt.c | 3 +++
> include/linux/hyperv.h | 11 +++++++++++
> 2 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
> index 652afd1..1ae615b 100644
> --- a/drivers/hv/channel_mgmt.c
> +++ b/drivers/hv/channel_mgmt.c
> @@ -358,6 +358,7 @@ enum {
> SCSI,
> NIC,
> ND_NIC,
> + HV_PCIE,
> MAX_PERF_CHN,
> };
It seems all other members of the enum don't have HV_ prefix... should
we add it there or remove it from HV_PCIE?
>
> @@ -375,6 +376,8 @@ static const struct hv_vmbus_device_id hp_devs[] = {
> { HV_NIC_GUID, },
> /* NetworkDirect Guest RDMA */
> { HV_ND_GUID, },
> + /* PCI Express Pass Through */
> + { HV_PCIE_GUID, },
> };
And here everything is prefixed with HV_ ... so I'd say we add HV_ to
all members of the previously mentioned enum.
[...]
--
Vitaly
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists