ibmvnic: map L2/L3/L4 header descriptors to firmware
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Fri, 1 Apr 2016 22:20:34 +0000 (17:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Apr 2016 23:51:37 +0000 (19:51 -0400)
commitad7775dc7b8b0b5585ff114b04d5ad50737c423e
treea1417073f2f67d24d110bac376d099edc7eec2cb
parent590ddaa49519e083cab5e030fd845015628757ac
ibmvnic: map L2/L3/L4 header descriptors to firmware

Allow the VNIC driver to provide descriptors containing
L2/L3/L4 headers to firmware.  This feature is needed
for greater hardware compatibility and enablement of checksum
and TCP offloading features.

A new function is included for the hypervisor call,
H_SEND_SUBCRQ_INDIRECT, allowing a DMA-mapped array of SCRQ
descriptor elements to be sent to the VNIC server.

These additions will help fully enable checksum offloading as
well as other features as they are included later.

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