> Subject: [EXT] Re: [PATCH v7,net-next,04/13] drivers: crypto: add Marvell > OcteonTX2 CPT PF driver > > External Email > > ---------------------------------------------------------------------- > On Mon, 12 Oct 2020 16:27:10 +0530 Srujana Challa wrote: > > +union otx2_cptx_lf_misc_int { > > + u64 u; > > + struct otx2_cptx_lf_misc_int_s { > > + u64 reserved_0:1; > > + u64 nqerr:1; > > + u64 irde:1; > > + u64 nwrp:1; > > + u64 reserved_4:1; > > + u64 hwerr:1; > > + u64 fault:1; > > + u64 reserved_7_63:57; > > + } s; > > +}; > > AFAIK bitfields don't jive with endianness, please don't use them. > The Linux kernel is supposed to work regardless of host CPU endian. These are hardware specific defines. OcteonTX2 SOC and we don't intend to support BIG endian.
- [PATCH v7,net-next,00/13] Add Support for Marvell OcteonTX2... Srujana Challa
- [PATCH v7,net-next,01/13] octeontx2-pf: move lmt flush... Srujana Challa
- [PATCH v7,net-next,03/13] octeontx2-af: add debugfs en... Srujana Challa
- Re: [PATCH v7,net-next,03/13] octeontx2-af: add de... Jakub Kicinski
- [PATCH v7,net-next,02/13] octeontx2-af: add mailbox in... Srujana Challa
- Re: [PATCH v7,net-next,02/13] octeontx2-af: add ma... Jakub Kicinski
- [PATCH v7,net-next,04/13] drivers: crypto: add Marvell... Srujana Challa
- Re: [PATCH v7,net-next,04/13] drivers: crypto: add... Jakub Kicinski
- RE: [EXT] Re: [PATCH v7,net-next,04/13] driver... Srujana Challa
- Re: [PATCH v7,net-next,04/13] drivers: crypto: add... Jakub Kicinski
- [PATCH v7,net-next,06/13] crypto: octeontx2: enable SR... Srujana Challa
- [PATCH v7,net-next,05/13] crypto: octeontx2: add mailb... Srujana Challa
- [PATCH v7,net-next,07/13] crypto: octeontx2: load micr... Srujana Challa
- Re: [PATCH v7,net-next,07/13] crypto: octeontx2: l... Jakub Kicinski
- RE: [EXT] Re: [PATCH v7,net-next,07/13] crypto... Srujana Challa
- [PATCH v7,net-next,10/13] crypto: octeontx2: add mailb... Srujana Challa
- [PATCH v7,net-next,11/13] crypto: octeontx2: add virtu... Srujana Challa
- [PATCH v7,net-next,13/13] crypto: octeontx2: register ... Srujana Challa
- [PATCH v7,net-next,08/13] crypto: octeontx2: add LF fr... Srujana Challa