Comment 17 for bug 1577473

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

Reviewed: https://review.opencontrail.org/34031
Committed: http://github.com/Juniper/contrail-vrouter/commit/554d2c924f7120f2e882c7f5bce849d5409e2eeb
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 554d2c924f7120f2e882c7f5bce849d5409e2eeb
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

closes-bug: #1672534

Conflicts:
 dp-core/vr_nexthop.c

Change-Id: Ibcd0677a300ee7b3774b5f0cb1ee3593d3924361