linux/drivers/nvme/target
James Smart 39498faef7 nvmet_fc: add target feature flags for upcall isr contexts
Two new feature flags were added to control whether upcalls to the
transport result in context switches or stay in the calling context.

NVMET_FCTGTFEAT_CMD_IN_ISR:
  By default, if the flag is not set, the transport assumes the
  lldd is in a non-isr context and in the cpu context it should be
  for the io queue. As such, the cmd handler is called directly in the
  calling context.
  If the flag is set, indicating the upcall is an isr context, the
  transport mandates a transition to a workqueue. The workqueue assigned
  to the queue is used for the context.
NVMET_FCTGTFEAT_OPDONE_IN_ISR
  By default, if the flag is not set, the transport assumes the
  lldd is in a non-isr context and in the cpu context it should be
  for the io queue. As such, the fcp operation done callback is called
  directly in the calling context.
  If the flag is set, indicating the upcall is an isr context, the
  transport mandates a transition to a workqueue. The workqueue assigned
  to the queue is used for the context.

Updated lpfc for flags

Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
2017-04-21 16:41:48 +02:00
..
admin-cmd.c Merge branch 'for-linus' into for-4.12/block 2017-04-07 12:45:20 -06:00
configfs.c nvmet: delete controllers deletion upon subsystem release 2017-01-26 17:44:22 +02:00
core.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
discovery.c nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
fabrics-cmd.c nvmet: convert from kmap to nvmet_copy_from_sgl 2017-04-21 16:41:47 +02:00
fc.c nvmet_fc: add target feature flags for upcall isr contexts 2017-04-21 16:41:48 +02:00
fcloop.c nvmet_fc: add target feature flags for upcall isr contexts 2017-04-21 16:41:48 +02:00
io-cmd.c block: add a flags argument to (__)blkdev_issue_zeroout 2017-04-08 11:25:38 -06:00
Kconfig nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
loop.c nvme: split nvme status from block req->errors 2017-04-20 12:16:10 -06:00
Makefile nvme-fabrics: Add FC LLDD loopback driver to test FC-NVME 2016-12-06 14:51:48 +01:00
nvmet.h nvmet: Introduced helper routine for controller status check. 2017-04-04 09:48:23 -06:00
rdma.c nvmet-rdma: use generic inet_pton_with_scope 2017-04-04 09:48:23 -06:00