|
179 | 179 | * Added MPI26_IOCFACTS_CAPABILITY_COREDUMP_ENABLED |
180 | 180 | * Added MPI2_FW_DOWNLOAD_ITYPE_COREDUMP |
181 | 181 | * Added MPI2_FW_UPLOAD_ITYPE_COREDUMP |
| 182 | + * 9-13-24 02.00.39 Added MPI26_MCTP_PASSTHROUGH messages |
182 | 183 | * -------------------------------------------------------------------------- |
183 | 184 | */ |
184 | 185 |
|
@@ -382,6 +383,7 @@ typedef struct _MPI2_IOC_FACTS_REPLY { |
382 | 383 | /*ProductID field uses MPI2_FW_HEADER_PID_ */ |
383 | 384 |
|
384 | 385 | /*IOCCapabilities */ |
| 386 | +#define MPI26_IOCFACTS_CAPABILITY_MCTP_PASSTHRU (0x00800000) |
385 | 387 | #define MPI26_IOCFACTS_CAPABILITY_COREDUMP_ENABLED (0x00200000) |
386 | 388 | #define MPI26_IOCFACTS_CAPABILITY_PCIE_SRIOV (0x00100000) |
387 | 389 | #define MPI26_IOCFACTS_CAPABILITY_ATOMIC_REQ (0x00080000) |
@@ -1798,5 +1800,57 @@ typedef struct _MPI26_IOUNIT_CONTROL_REPLY { |
1798 | 1800 | Mpi26IoUnitControlReply_t, |
1799 | 1801 | *pMpi26IoUnitControlReply_t; |
1800 | 1802 |
|
| 1803 | +/**************************************************************************** |
| 1804 | + * MCTP Passthrough messages (MPI v2.6 and later only.) |
| 1805 | + ****************************************************************************/ |
| 1806 | + |
| 1807 | +/* MCTP Passthrough Request Message */ |
| 1808 | +typedef struct _MPI26_MCTP_PASSTHROUGH_REQUEST { |
| 1809 | + U8 MsgContext; /* 0x00 */ |
| 1810 | + U8 Reserved1[2]; /* 0x01 */ |
| 1811 | + U8 Function; /* 0x03 */ |
| 1812 | + U8 Reserved2[3]; /* 0x04 */ |
| 1813 | + U8 MsgFlags; /* 0x07 */ |
| 1814 | + U8 VP_ID; /* 0x08 */ |
| 1815 | + U8 VF_ID; /* 0x09 */ |
| 1816 | + U16 Reserved3; /* 0x0A */ |
| 1817 | + U32 Reserved4; /* 0x0C */ |
| 1818 | + U8 Flags; /* 0x10 */ |
| 1819 | + U8 Reserved5[3]; /* 0x11 */ |
| 1820 | + U32 Reserved6; /* 0x14 */ |
| 1821 | + U32 H2DLength; /* 0x18 */ |
| 1822 | + U32 D2HLength; /* 0x1C */ |
| 1823 | + MPI25_SGE_IO_UNION H2DSGL; /* 0x20 */ |
| 1824 | + MPI25_SGE_IO_UNION D2HSGL; /* 0x30 */ |
| 1825 | +} MPI26_MCTP_PASSTHROUGH_REQUEST, |
| 1826 | + *PTR_MPI26_MCTP_PASSTHROUGH_REQUEST, |
| 1827 | + Mpi26MctpPassthroughRequest_t, |
| 1828 | + *pMpi26MctpPassthroughRequest_t; |
| 1829 | + |
| 1830 | +/* values for the MsgContext field */ |
| 1831 | +#define MPI26_MCTP_MSG_CONEXT_UNUSED (0x00) |
| 1832 | + |
| 1833 | +/* values for the Flags field */ |
| 1834 | +#define MPI26_MCTP_FLAGS_MSG_FORMAT_MPT (0x01) |
| 1835 | + |
| 1836 | +/* MCTP Passthrough Reply Message */ |
| 1837 | +typedef struct _MPI26_MCTP_PASSTHROUGH_REPLY { |
| 1838 | + U8 MsgContext; /* 0x00 */ |
| 1839 | + U8 Reserved1; /* 0x01 */ |
| 1840 | + U8 MsgLength; /* 0x02 */ |
| 1841 | + U8 Function; /* 0x03 */ |
| 1842 | + U8 Reserved2[3]; /* 0x04 */ |
| 1843 | + U8 MsgFlags; /* 0x07 */ |
| 1844 | + U8 VP_ID; /* 0x08 */ |
| 1845 | + U8 VF_ID; /* 0x09 */ |
| 1846 | + U16 Reserved3; /* 0x0A */ |
| 1847 | + U16 Reserved4; /* 0x0C */ |
| 1848 | + U16 IOCStatus; /* 0x0E */ |
| 1849 | + U32 IOCLogInfo; /* 0x10 */ |
| 1850 | + U32 ResponseDataLength; /* 0x14 */ |
| 1851 | +} MPI26_MCTP_PASSTHROUGH_REPLY, |
| 1852 | + *PTR_MPI26_MCTP_PASSTHROUGH_REPLY, |
| 1853 | + Mpi26MctpPassthroughReply_t, |
| 1854 | + *pMpi26MctpPassthroughReply_t; |
1801 | 1855 |
|
1802 | 1856 | #endif |
0 commit comments