ibmveth: calculate gso_segs for large packets
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 14 Dec 2016 00:15:09 +0000 (18:15 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Dec 2016 15:23:28 +0000 (10:23 -0500)
commit94acf164dc8f1184e8d0737be7125134c2701dbe
treeada87fda86154b8f2ecf110d8fe5918d8abeedb2
parent026acd5f47340382844f0af73516cf7ae6cdc876
ibmveth: calculate gso_segs for large packets

Include calculations to compute the number of segments
that comprise an aggregated large packet.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Reviewed-by: Jonathan Maxwell <jmaxwell37@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmveth.c