block/nvme: Pair doorbell registers
commite5ff22ba9fc276c2f8f56af7d82770da027671f1
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 4 Sep 2020 12:41:30 +0000 (4 14:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 Sep 2020 09:11:13 +0000 (10 11:11 +0200)
tree81af00be0febf3b22db1fad86320cde780ad9df5
parentc7100f0a0bec585b88b67138f6e33791ec2dbf3e
block/nvme: Pair doorbell registers

For each queue doorbell registers are paired as:
- Submission Queue Tail Doorbell
- Completion Queue Head Doorbell

Reflect that in the NVMeRegs structure, and adapt
nvme_create_queue_pair() accordingly.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200904124130.583838-4-philmd@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Fam Zheng <fam@euphon.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/nvme.c