ibmvnic: Fix IP offload control buffer
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Fri, 19 Jan 2018 01:05:01 +0000 (19:05 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jan 2018 02:19:05 +0000 (21:19 -0500)
commitf68979433deaa8a8a8b6396f944a0928a35713dc
treefcb8be2ef6adb9a0815fdb25f715a1ec55bc279b
parent69c4a65e4bb36efe94c79f64faab6bdb96c76ab3
ibmvnic: Fix IP offload control buffer

Set some missing fields in the IP control offload buffer. This buffer is
used to enable checksum and TCP segmentation offload in the VNIC server.
The buffer length field and the checksum offloading bits were not set
properly, so fix that here.

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