History

virtio: add VIRTIO_F_NOTIFICATION_DATA feature support

According to VirtIO spec v1.2, VIRTIO_F_NOTIFICATION_DATA feature indicates that the driver passes extra data along with the queue notifications. In a split queue case, the extra data is 16-bit available index. In a packed queue case, the extra data is 1-bit wrap counter and 15-bit available index. Add support for this feature for MMIO, channel I/O and modern PCI transports.

Viktor Prutyanov committed 3 years ago

Commit af8ecec1 parent 3616bf36 files · +79 −5Browse files

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

Unified · Split

include/uapi/linux/virtio_config.h+6−0
@@ -99,6 +99,12 @@ · 98 unmodified lines
99 */99 */
100#define VIRTIO_F_SR_IOV 37100#define VIRTIO_F_SR_IOV 37
101 101
102/*
103 * This feature indicates that the driver passes extra data (besides
104 * identifying the virtqueue) in its device notifications.
105 */
106#define VIRTIO_F_NOTIFICATION_DATA 38
107
102/*108/*
103 * This feature indicates that the driver can reset a queue individually.109 * This feature indicates that the driver can reset a queue individually.
104 */110 */

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