[ovs-dev] [PATCH V3] packets: Fix using outdated RSS hash after MPLS decapsulation.
i.maximets at samsung.com
Thu Aug 29 15:33:39 UTC 2019
On 28.08.2019 19:42, Nitin Katiyar wrote:
> When a packet is received, the RSS hash is calculated if it is not
> already available. The Exact Match Cache (EMC) entry is then looked up
> using this RSS hash.
> When a MPLS encapsulated packet is received, the MPLS header is popped
> and the packet is recirculated. Since the RSS hash has not been
> invalidated here, the EMC lookup for all decapsulated packets will hit
> the same entry even though these packets will have different tuple
> values. This degrades performance severely as different inner packets
> from the same MPLS tunnel would hit the same EMC entry.
> This patch invalidates RSS hash (by resetting offload flags) after MPLS
> header is popped.
> Signed-off-by: Nitin Katiyar <nitin.katiyar at ericsson.com>
Thanks! Applied to master and branch-2.12.
Best regards, Ilya Maximets.
More information about the dev