]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: Introduce nvme_ring_cq_doorbell
authorSagi Grimberg <sagi@grimberg.me>
Sun, 18 Jun 2017 14:28:07 +0000 (17:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Jun 2017 14:14:13 +0000 (08:14 -0600)
commit8e9aec2868c2f7616ca5790908d78f79e107c804
tree8ea5a64f3d26ec63a20157b141854b0a16e9bbd6
parente5f1796c0f4e24d8ae6e1acb8d3e8cc178ce2f8a
nvme-pci: Introduce nvme_ring_cq_doorbell

Nice abstraction of the actual mechanics of how to do it.
Note the change that we call it after we assign nvmeq->cq_head
to avoid passing it.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/pci.c