Comment 15 for bug 1577473

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/31230
Committed: http://github.com/Juniper/contrail-vrouter/commit/7d7b8967514e199caafae966011f9477b756bf96
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7d7b8967514e199caafae966011f9477b756bf96
Author: Divakar D <email address hidden>
Date: Tue May 9 16:20:33 2017 +0530

Unset GRO flag, if GRO not invoked

Due to bug 1577473, we do not invoke GRO on a packet if Tx port
mirroring is enabled on the interface. If the packet is already marked
for GRO and if we do not subject the packet for GRO, the VP_FLAG_GRO
will not be unset. While transmitting this packet on interface, to ensure
that the tx counters are incremented only once, packet with GRO flag
disables the statistics. Due to this, tx counters are not getting
incremented when Tx port mirroring is enabled.

As a fix, GRO flag is unset unconditionally after GRO invocation checks

Change-Id: I3e5c1c2583d82e9eabfdc6dcda0eb022c9f4f422
closes-bug: #1672534