Re: [RFC] endianness issues in drivers/net/ethernet/qlogic/qed

2017-09-24 Thread Al Viro
On Sun, Sep 24, 2017 at 02:34:19PM +, Tayar, Tomer wrote: > > > "qed: Utilize FW 8.10.3.0" has attempted some endianness annotations > > in that driver; unfortunately, either annotations are BS or the driver is > > genuinely > > broken on big-endian hosts. > [...] > > Is that driver inten

RE: [RFC] endianness issues in drivers/net/ethernet/qlogic/qed

2017-09-24 Thread Tayar, Tomer
> "qed: Utilize FW 8.10.3.0" has attempted some endianness annotations > in that driver; unfortunately, either annotations are BS or the driver is > genuinely > broken on big-endian hosts. [...] > Is that driver intended to be used on big-endian hosts at all? Thanks for taking the time to

[RFC] endianness issues in drivers/net/ethernet/qlogic/qed

2017-09-18 Thread Al Viro
"qed: Utilize FW 8.10.3.0" has attempted some endianness annotations in that driver; unfortunately, either annotations are BS or the driver is genuinely broken on big-endian hosts. For example, struct init_qm_vport_params is claimed to have ->vport_wfq little-endian 16bit. However