RE: [EXT] Re: [PATCH v2 01/10] qla2xxx: Add support for mailbox passthru

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bart,

> -----Original Message-----
> From: Bart Van Assche <bvanassche@xxxxxxx>
> Sent: Wednesday, September 8, 2021 11:58 PM
> To: Nilesh Javali <njavali@xxxxxxxxxxx>; martin.petersen@xxxxxxxxxx
> Cc: linux-scsi@xxxxxxxxxxxxxxx; GR-QLogic-Storage-Upstream <GR-QLogic-
> Storage-Upstream@xxxxxxxxxxx>; djeffery@xxxxxxxxxx;
> loberman@xxxxxxxxxx
> Subject: [EXT] Re: [PATCH v2 01/10] qla2xxx: Add support for mailbox
> passthru
> 
> External Email
> 
> ----------------------------------------------------------------------
> On 9/8/21 9:46 AM, Nilesh Javali wrote:
> > +struct qla_mbx_passthru {
> > +	uint16_t reserved1[2];
> > +	uint16_t mbx_in[32];
> > +	uint16_t mbx_out[32];
> > +	uint32_t reserved2[16];
> > +} __packed;
> 
> Why does this data structure start with 4 reserved bytes?

Specifically, more than the driver, the reserved bytes would be used by the application,
and driver uses only the mbx_in and mbx_out fields to access 32 register content.

Thanks,
Nilesh




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux