interface: fix the incorrect sizes/offsets in the tso segmentation 32/20232/4
authorAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 19 Jun 2019 12:09:51 +0000 (12:09 +0000)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 20 Jun 2019 20:07:49 +0000 (20:07 +0000)
commit4f740c8f0085c0cd576744c00bf50a9d9b111470
tree20f85cbd2a97048e9ac5af8e5661db6193e54300
parent49648de6c07478b6d6da868d9db6cee786ea6557
interface: fix the incorrect sizes/offsets in the tso segmentation

The copying of the first segment copied too small amount of data.
The copying of the second and subsequent segments used the wrong
data offset - for the case of GSO enabled it starts from 12 bytes
earlier.

Change-Id: I3adc532c175babc1ca1e121c7e12e6cafbdb9974
Type: fix
Ticket: VPP-1700
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
src/vnet/interface_output.c