lkml.org 
[lkml]   [2019]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/2] stmmac: introduce flag to dynamically disable TX offload for rockchip devices
From
Date
On 03/04/2019 16:55, Leonidas P. Papadakos wrote:
>
>> If snps,no-pbl-x8 does indeed have a performace hit, should the
>> workaround be to
>> a) turn tx checksumming off or
>> b) snps,no-pbl-x8 set?
>>
>> I'll test to see the difference
>
> Update: It really seems like snps,no-pbl-x8 is the better option.
> So I say, replace snps,force_thresh_dma_mode with it.

Yes, I would expect software checksumming to have a much more noticeable
impact (in fact I've already been trying to get round to benchmarking
some arm64 checksum optimisations on my RK3328 precisely because of this
issue).

If I'm interpreting the register descriptions in the Rockchip TRMs
correctly, it seems like no-pbl-x8 is a relatively big hammer and there
should still be room to tune things a bit closer to the maximum limits -
I'll have another play this evening to see if I've understood things right.

Robin.

\
 
 \ /
  Last update: 2019-04-03 18:12    [W:0.079 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site