]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite156a633dfe4190cdb0f72c038f1cac3bd8c6d13
treed319663184d274816bc44ca75724bb4da590adad
parent438fe606674acb330c2fbd148997c5d49f719dd7
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