Subject: marvell 6190 NAT performance

From: Marek Behun <[email-masked]>
Date: Thu, 24 Jan 2019 21:26:40 +0100

Hello,

I am encountering strange performance issue when benchmarking NAT
performance on Armada 3720 with Marvell 88e6190 switch.

Download speed (from internet, via Armada 3720 NAT, via switch to LAN
device) is ~750mbps and the CPU running on 100% (mostly in ksoftirq).
Upload speed is ~250mbps.

When the LAN device is connected to A3720 directly (via SFP), the
speeds are both ~1000mbps.

I realize that packing/unpacking packets with Marvell header for the
switch takes some time, but is such a performance drop expected?

This was tested with 5.0.0-rc2 and also 4.14.

Thank you.

Marek