ibmvnic: Enable scatter-gather support
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Tue, 17 Oct 2017 17:36:54 +0000 (12:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Oct 2017 12:20:31 +0000 (13:20 +0100)
commit154820563dd4621c78e03e98e70216e832422f8e
treed319663184d274816bc44ca75724bb4da590adad
parent010f245b9dd734adda6386c494a4ace953ea8dc4
ibmvnic: Enable scatter-gather support

This patch enables scatter gather support. Since there is no
HW/FW scatter-gather support at this time, the driver needs to
loop through each fragment and copy it to a contiguous, pre-mapped
buffer entry.

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