search for: fc_attach_transport

Displaying 15 results from an estimated 15 matches for "fc_attach_transport".

2017 Jan 16
9
[PATCH 0/2] virtio-scsi: Implement FC_HOST feature
This series implements the proposed fc_host feature of virtio-scsi. The first patch updates the data structure changes according to the spec proposal; the second patch actually implements the operations. Fam Zheng (2): virtio_scsi: Add fc_host definitions virtio_scsi: Implement fc_host drivers/scsi/virtio_scsi.c | 55 +++++++++++++++++++++++++++++++++++++++-
2017 Jan 16
9
[PATCH 0/2] virtio-scsi: Implement FC_HOST feature
This series implements the proposed fc_host feature of virtio-scsi. The first patch updates the data structure changes according to the spec proposal; the second patch actually implements the operations. Fam Zheng (2): virtio_scsi: Add fc_host definitions virtio_scsi: Implement fc_host drivers/scsi/virtio_scsi.c | 55 +++++++++++++++++++++++++++++++++++++++-
2017 Jan 26
6
[PATCH v2 0/2] virtio-scsi: Implement FC_HOST feature
v2: Fix endianness of WWNN/WWPN. [Paolo] This series implements the proposed fc_host feature of virtio-scsi. The first patch updates the data structure changes according to the spec proposal; the second patch actually implements the operations. Fam Zheng (2): virtio_scsi: Add fc_host definitions virtio_scsi: Implement fc_host drivers/scsi/virtio_scsi.c | 60
2017 Jan 26
6
[PATCH v2 0/2] virtio-scsi: Implement FC_HOST feature
v2: Fix endianness of WWNN/WWPN. [Paolo] This series implements the proposed fc_host feature of virtio-scsi. The first patch updates the data structure changes according to the spec proposal; the second patch actually implements the operations. Fam Zheng (2): virtio_scsi: Add fc_host definitions virtio_scsi: Implement fc_host drivers/scsi/virtio_scsi.c | 60
2017 Jan 26
1
[PATCH v2 2/2] virtio_scsi: Implement fc_host
...ver virtio_scsi_driver = { > .restore = virtscsi_restore, > #endif > .remove = virtscsi_remove, > + .config_changed = virtscsi_config_changed, > }; > > static int __init init(void) > { > int ret = -ENOMEM; > > + virtscsi_fc_transport_template = > + fc_attach_transport(&virtscsi_fc_template); > + if (!virtscsi_fc_transport_template) { > + pr_err("fc_attach_transport() failed\n"); > + goto error; > + } > + > virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0); > if (!virtscsi_cmd_cache) { > pr_err("kmem_cache_cre...
2017 Jan 26
1
[PATCH v2 2/2] virtio_scsi: Implement fc_host
...ver virtio_scsi_driver = { > .restore = virtscsi_restore, > #endif > .remove = virtscsi_remove, > + .config_changed = virtscsi_config_changed, > }; > > static int __init init(void) > { > int ret = -ENOMEM; > > + virtscsi_fc_transport_template = > + fc_attach_transport(&virtscsi_fc_template); > + if (!virtscsi_fc_transport_template) { > + pr_err("fc_attach_transport() failed\n"); > + goto error; > + } > + > virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0); > if (!virtscsi_cmd_cache) { > pr_err("kmem_cache_cre...
2006 Aug 04
2
Dedicate PCI Devices to DomU?
...mmand line (and it successfully hides the devices!) Later while I try to load the driver in Dom1 it doesn''t load and seems to miss some of pci libraries..I am guessing this is due to stripped down version of DomU build by xen-unstable. This is what it throws! qla2xxx: Unknown symbol fc_attach_transport qla2xxx: Unknown symbol pci_set_consistent_dma_mask qla2xxx: Unknown symbol pci_enable_device qla2xxx: Unknown symbol fc_remote_port_add qla2xxx: Unknown symbol fc_remove_host qla2xxx: Unknown symbol pci_request_regions qla2xxx: Unknown symbol pci_bus_write_config_byte qla2xxx: Unknown symbo...
2017 Jan 16
1
[PATCH 2/2] virtio_scsi: Implement fc_host
...ompiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/built-in.o: In function `init': >> virtio_scsi.c:(.init.text+0x10d52): undefined reference to `fc_attach_transport' drivers/built-in.o: In function `fini': >> virtio_scsi.c:(.exit.text+0x14a4): undefined reference to `fc_release_transport' --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corp...
2017 Jan 16
1
[PATCH 2/2] virtio_scsi: Implement fc_host
...ompiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): drivers/built-in.o: In function `init': >> virtio_scsi.c:(.init.text+0x10d52): undefined reference to `fc_attach_transport' drivers/built-in.o: In function `fini': >> virtio_scsi.c:(.exit.text+0x14a4): undefined reference to `fc_release_transport' --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corp...
2017 Jan 16
0
[PATCH 2/2] virtio_scsi: Implement fc_host
...csi_driver = { @@ -1123,12 +1168,19 @@ static struct virtio_driver virtio_scsi_driver = { .restore = virtscsi_restore, #endif .remove = virtscsi_remove, + .config_changed = virtscsi_config_changed, }; static int __init init(void) { int ret = -ENOMEM; + virtscsi_fc_transport_template = fc_attach_transport(&virtscsi_fc_template); + if (!virtscsi_fc_transport_template) { + pr_err("fc_attach_transport() failed\n"); + goto error; + } + virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0); if (!virtscsi_cmd_cache) { pr_err("kmem_cache_create() for virtscsi_cmd_cache failed\n&qu...
2017 Jan 26
0
[PATCH v2 2/2] virtio_scsi: Implement fc_host
..._driver = { @@ -1123,12 +1172,20 @@ static struct virtio_driver virtio_scsi_driver = { .restore = virtscsi_restore, #endif .remove = virtscsi_remove, + .config_changed = virtscsi_config_changed, }; static int __init init(void) { int ret = -ENOMEM; + virtscsi_fc_transport_template = + fc_attach_transport(&virtscsi_fc_template); + if (!virtscsi_fc_transport_template) { + pr_err("fc_attach_transport() failed\n"); + goto error; + } + virtscsi_cmd_cache = KMEM_CACHE(virtio_scsi_cmd, 0); if (!virtscsi_cmd_cache) { pr_err("kmem_cache_create() for virtscsi_cmd_cache failed\n&qu...
2006 Jul 14
0
qla2xxx driver failed in dom0 - invalid opcode: 0000 [1] SMP
...h+0} <ffffffff802335a6>{__driver_attach+86} <ffffffff80232ae4>{bus_for_each_dev+67} <ffffffff80232ddd>{bus_add_driver+110} <ffffffff801e7166>{vgacon_cursor+0} <ffffffff801e1e2a>{__pci_register_driver+128} <ffffffff88078e5b>{:scsi_transport_fc:fc_attach_transport+216} <ffffffff880e908f>{:qla2xxx:qla2x00_module_init+143} <ffffffff80142b2e>{sys_init_module+240} <ffffffff8010acea>{system_call+134} <ffffffff8010ac64>{system_call+0} Code: 0f 0b 68 aa 8f 2e 80 c2 24 01 e9 59 04 00 00 41 f6 c7 08 74 RIP <ffffffff801...
2006 Jul 14
0
RE: qla2xxx driver failed in dom0 - invalid opcode: 0000[1] SMP
...02335a6>{__driver_attach+86} > <ffffffff80232ae4>{bus_for_each_dev+67} > <ffffffff80232ddd>{bus_add_driver+110} > <ffffffff801e7166>{vgacon_cursor+0} > <ffffffff801e1e2a>{__pci_register_driver+128} > <ffffffff88078e5b>{:scsi_transport_fc:fc_attach_transport+216} > <ffffffff880e908f>{:qla2xxx:qla2x00_module_init+143} > <ffffffff80142b2e>{sys_init_module+240} > <ffffffff8010acea>{system_call+134} > <ffffffff8010ac64>{system_call+0} > > Code: 0f 0b 68 aa 8f 2e 80 c2 24 01 e9 59 04 00 00 41 f...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...;f->tsk_mgmt_response(shost, nexus, tm_id, result); } static int fc_it_nexus_response(struct Scsi_Host *shost, u64 nexus, int result) { struct fc_internal *i = to_fc_internal(shost->transportt); return i->f->it_nexus_response(shost, nexus, result); } struct scsi_transport_template * fc_attach_transport(struct fc_function_template *ft) { int count; struct fc_internal *i = kzalloc(sizeof(struct fc_internal), GFP_KERNEL); if (unlikely(!i)) return NULL; i->t.target_attrs.ac.attrs = &i->starget_attrs[0]; i->t.target_attrs.ac.class = &fc_transport_class.class; i->t.ta...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...;f->tsk_mgmt_response(shost, nexus, tm_id, result); } static int fc_it_nexus_response(struct Scsi_Host *shost, u64 nexus, int result) { struct fc_internal *i = to_fc_internal(shost->transportt); return i->f->it_nexus_response(shost, nexus, result); } struct scsi_transport_template * fc_attach_transport(struct fc_function_template *ft) { int count; struct fc_internal *i = kzalloc(sizeof(struct fc_internal), GFP_KERNEL); if (unlikely(!i)) return NULL; i->t.target_attrs.ac.attrs = &i->starget_attrs[0]; i->t.target_attrs.ac.class = &fc_transport_class.class; i->t.ta...