aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorIoana Ciornei <[email protected]>2021-10-07 18:30:43 +0300
committerDavid S. Miller <[email protected]>2021-10-08 16:59:08 +0100
commitfb8629e2cbfce2b695521d6d33d029117ceda007 (patch)
treed197863fbece408e5e2142111e33fc19044c157d /tools/perf/scripts/python/check-perf-trace.py
parentacede3c5dad5b83c75c624514bd57171062b4c46 (diff)
net: enetc: add support for software TSO
This patch adds support for driver level TSO in the enetc driver using the TSO API. Beside using the usual tso_build_hdr(), tso_build_data() this specific implementation also has to compute the checksum, both IP and L4, for each resulted segment. This is because the ENETC controller does not support Tx checksum offload which is needed in order to take advantage of TSO. With the workaround for the ENETC MDIO erratum in place the Tx path of the driver is forced to lock/unlock for each skb sent. This is why, even though we are computing the checksum by hand we see the following improvement in TCP termination on the LS1028A SoC, on a single A72 core running at 1.3GHz: before: 1.63 Gbits/sec after: 2.34 Gbits/sec Signed-off-by: Ioana Ciornei <[email protected]> Reviewed-by: Claudiu Manoil <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions