]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Convert vnic server reported statistics to cpu endian
authorJohn Allen <jallen@linux.vnet.ibm.com>
Wed, 2 Aug 2017 21:45:28 +0000 (16:45 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 16:33:06 +0000 (09:33 -0700)
commite8218ef313727adc8cd5e9014858935d577305c5
tree9c0c79c17de59f8b8e4e6aae9ba2d7dc682d65cf
parentf9f8e8b8dbb28ea8734e8850c19675cf0f826fe1
ibmvnic: Convert vnic server reported statistics to cpu endian

The vnic server reports the statistics buffer in big endian format and must
be converted to cpu endian in order to be displayed correctly on little
endian lpars.

Signed-off-by: John Allen <jallen@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c