History

pci_endpoint_test: Add 2 ioctl commands

Add MSI-X support and update driver documentation accordingly. Add 2 new IOCTL commands: - Allow to reconfigure driver IRQ type in runtime. - Allow to retrieve current driver IRQ type configured. Add IRQ type validation before executing the READ/WRITE/COPY tests.

Gustavo Pimentel committed 8 years ago

Commit e0332711 parent c2e00e34 files · +165 −48Browse files

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

Unified · Split

include/uapi/linux/pcitest.h+2−0
@@ -17,5 +17,7 @@ · 16 unmodified lines
17#define PCITEST_READ _IOW('P', 0x5, unsigned long)17#define PCITEST_READ _IOW('P', 0x5, unsigned long)
18#define PCITEST_COPY _IOW('P', 0x6, unsigned long)18#define PCITEST_COPY _IOW('P', 0x6, unsigned long)
19#define PCITEST_MSIX _IOW('P', 0x7, int)19#define PCITEST_MSIX _IOW('P', 0x7, int)
20#define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int)
21#define PCITEST_GET_IRQTYPE _IO('P', 0x9)
20 22
21#endif /* __UAPI_LINUX_PCITEST_H */23#endif /* __UAPI_LINUX_PCITEST_H */