mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-08 12:52:40 -04:00
scsi: mpi3mr: Add ioctl support for HDB
Add interface for applications to manage the host diagnostic buffers and update the automatic diag buffer capture triggers. Co-developed-by: Sathya Prakash <sathya.prakash@broadcom.com> Signed-off-by: Sathya Prakash <sathya.prakash@broadcom.com> Signed-off-by: Ranjan Kumar <ranjan.kumar@broadcom.com> Link: https://lore.kernel.org/r/20240626102646.14298-4-ranjan.kumar@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
d8d08d1638
commit
78b506984e
@@ -296,6 +296,7 @@ struct mpi3mr_hdb_entry {
|
||||
* multiple hdb entries.
|
||||
*
|
||||
* @num_hdb_types: Number of host diag buffer types supported
|
||||
* @element_trigger_format: Element trigger format
|
||||
* @rsvd1: Reserved
|
||||
* @rsvd2: Reserved
|
||||
* @rsvd3: Reserved
|
||||
@@ -303,7 +304,7 @@ struct mpi3mr_hdb_entry {
|
||||
*/
|
||||
struct mpi3mr_bsg_in_hdb_status {
|
||||
__u8 num_hdb_types;
|
||||
__u8 rsvd1;
|
||||
__u8 element_trigger_format;
|
||||
__u16 rsvd2;
|
||||
__u32 rsvd3;
|
||||
struct mpi3mr_hdb_entry entry[1];
|
||||
|
||||
Reference in New Issue
Block a user