On 9/24/2022 3:45 AM, lon...@linuxonhyperv.com wrote:


From: Long Li <lon...@microsoft.com>

The hardware layer of MANA understands the device queue and doorbell
formats. Those functions are implemented for use by packet RX/TX code.

Signed-off-by: Long Li <lon...@microsoft.com>

<...>

+
+#define DOORBELL_OFFSET_SQ      0x0
+#define DOORBELL_OFFSET_RQ      0x400
+#define DOORBELL_OFFSET_CQ      0x800
+#define DOORBELL_OFFSET_EQ      0xFF8

Instead above can be enums if you prefer. This is only to reference previous comment on making PCI IDs enum.

Reply via email to