summaryrefslogtreecommitdiff
path: root/include/uapi/linux/switchtec_ioctl.h
diff options
context:
space:
mode:
authorLogan Gunthorpe <logang@deltatee.com>2020-01-06 22:03:28 +0300
committerBjorn Helgaas <bhelgaas@google.com>2020-01-15 20:00:27 +0300
commita6b0ef9a7d03bb78d37c420753741ef8a082160b (patch)
tree4d2160276b91fecdbf0fa5616ab1839d676abcf2 /include/uapi/linux/switchtec_ioctl.h
parent9375646b4cf03aee81bc6c305aa18cc80b682796 (diff)
downloadlinux-a6b0ef9a7d03bb78d37c420753741ef8a082160b.tar.xz
PCI/switchtec: Add support for Intercomm Notify and Upstream Error Containment
Add support for the Inter Fabric Manager Communication (Intercomm) Notify event in PAX variants of Switchtec hardware and the Upstream Error Containment port in the MR1 release of Gen3 firmware. Link: https://lore.kernel.org/r/20200106190337.2428-4-logang@deltatee.com Signed-off-by: Logan Gunthorpe <logang@deltatee.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'include/uapi/linux/switchtec_ioctl.h')
-rw-r--r--include/uapi/linux/switchtec_ioctl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/switchtec_ioctl.h b/include/uapi/linux/switchtec_ioctl.h
index c912b5a678e4..e8db938985ca 100644
--- a/include/uapi/linux/switchtec_ioctl.h
+++ b/include/uapi/linux/switchtec_ioctl.h
@@ -98,7 +98,9 @@ struct switchtec_ioctl_event_summary {
#define SWITCHTEC_IOCTL_EVENT_CREDIT_TIMEOUT 27
#define SWITCHTEC_IOCTL_EVENT_LINK_STATE 28
#define SWITCHTEC_IOCTL_EVENT_GFMS 29
-#define SWITCHTEC_IOCTL_MAX_EVENTS 30
+#define SWITCHTEC_IOCTL_EVENT_INTERCOMM_REQ_NOTIFY 30
+#define SWITCHTEC_IOCTL_EVENT_UEC 31
+#define SWITCHTEC_IOCTL_MAX_EVENTS 32
#define SWITCHTEC_IOCTL_EVENT_LOCAL_PART_IDX -1
#define SWITCHTEC_IOCTL_EVENT_IDX_ALL -2