]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit917d13c018d1223cf81a4e778d00e30e31ba5ff1
treea1417073f2f67d24d110bac376d099edc7eec2cb
parentb416225d27854e091c1674a2bf88e4e728dc7bb9
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