]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Drivers: hv: vmbus: Treat Fibre Channel devices as performance critical
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 16 Dec 2015 00:27:27 +0000 (16:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:14:56 +0000 (13:14 -0800)
For performance critical devices, we distribute the incoming
channel interrupt load across available CPUs in the guest.
Include Fibre channel devices in the set of devices for which
we would distribute the interrupt load.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c

index d0131717c1d5d971d3543e37675b4b8ebc5c2af7..1c1ad47042c5d7e9a90f29d8a232bab0ad6f2a8a 100644 (file)
@@ -361,6 +361,7 @@ err_free_chan:
 enum {
        IDE = 0,
        SCSI,
+       FC,
        NIC,
        ND_NIC,
        PCIE,
@@ -377,6 +378,8 @@ static const struct hv_vmbus_device_id hp_devs[] = {
        { HV_IDE_GUID, },
        /* Storage - SCSI */
        { HV_SCSI_GUID, },
+       /* Storage - FC */
+       { HV_SYNTHFC_GUID, },
        /* Network */
        { HV_NIC_GUID, },
        /* NetworkDirect Guest RDMA */