]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit52da5c114a884f8245dca5d3a69e1f45c759ba31
tree9c0c79c17de59f8b8e4e6aae9ba2d7dc682d65cf
parent3d52b5949d0311c4b7bc4c223918fee0f5c0dc39
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