History

vduse: add v1 API definition

This allows the kernel to detect whether the userspace VDUSE device supports the VQ group and ASID features. VDUSE devices that don't set the V1 API will not receive the new messages, and vdpa device will be created with only one vq group and asid. The next patches implement the new feature incrementally, only enabling the VDUSE device to set the V1 API version by the end of the series.

Eugenio Pérez committed 10 months ago

Commit a006ed41 parent cd025c11 file · +4 −0Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/linux/vduse.h+4−0
@@ -10,6 +10,10 @@ · 9 unmodified lines
1010
1111 #define VDUSE_API_VERSION 0
1212
13+/* VQ groups and ASID support */
14+
15+#define VDUSE_API_VERSION_1 1
16+
1317 /*
1418 * Get the version of VDUSE API that kernel supported (VDUSE_API_VERSION).
1519 * This is used for future extension.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t