]> git.kernelconcepts.de Git - karo-tx-linux.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)
commiteb281c8283e87a2d1d6ed406f9c6408c39737b4d
tree8ea5a64f3d26ec63a20157b141854b0a16e9bbd6
parent5657cb0797c4ab303f5782442095319bd971257b
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