Sathya Perla f986afcbe0 be2net: avoid unncessary swapping of fields in eth_tx_wrb
The 32-bit fields of a tx-wrb are little endian. The driver is currently
using be_dws_le_to_cpu() routine to swap (cpu to le) all the fields of
a tx-wrb. So, the rsvd field is also unnecessarily swapped.

This patch fixes this by individually swapping the required fields.
Also, the type of the fields in eth_tx_wrb{} is now changed to __le32
from u32 to avoid sparse warnings.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-02-07 22:50:59 -08:00
..
2015-01-18 00:28:41 -05:00
2015-01-23 14:08:13 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:43:47 -08:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2015-02-03 19:54:57 -08:00
2015-01-24 14:34:54 -08:00
2014-12-17 09:59:26 -08:00
2014-12-17 09:59:26 -08:00
2015-02-04 09:15:18 +01:00
2014-12-17 10:10:51 -08:00
2014-11-24 07:45:25 +01:00
2014-12-14 16:43:47 -08:00
2015-01-26 19:13:41 -08:00
2015-01-13 15:13:45 +02:00
2014-12-14 16:43:47 -08:00