<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Petr,</p>
    <p><br>
    </p>
    <p>Now i can test new lan driver on VGV7510KW22. Its look really
      good, with path 904&905 i have 2-4 Mbits more bandwidth, but
      it seams increasing of descriptors not enough to resole ring full
      events.</p>
    <p><br>
    </p>
    <p>Test bench:<br>
    </p>
    <p>* O2 box (VGV7510KW22) are connected on 1 GBit switch. <br>
    </p>
    <p>* Openwrt master (initramfs) with bootargs =
      "console=ttyLTQ0,115200"; <br>
    </p>
    <p>* Boot via TFTP</p>
    <p>* disabled: dsl_control, odhcpd, dnsmasq<br>
    </p>
    <p><br>
    </p>
    <p>See logs.<br>
    </p>
    <p><br>
    </p>
    <p>I will test this 2 pathes on BT5 next days</p>
    <p><br>
    </p>
    <p>Best regards <br>
    </p>
    <p>Yaro<br>
    </p>
    <div class="moz-cite-prefix">On 2/8/19 2:10 PM, Petr Cvek wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:88e70713-aa5f-c339-0b60-02cb65dc8c9e@gmail.com">
      <pre class="moz-quote-pre" wrap="">I think I've managed to fix the backported driver from vanilla kernel. I
forgot to copy phy_start() call from original driver (that's probably
why it didn't work, I'm booting from NFS and from port 0, so it was
enabled already) and I've added the support for the skb fragments. This
seems to greatly increase the TX throughput.

In the addition it seems the DMA burst patch doesn't increase the
throughput anymore (TX is probably saturated now, and the code is
better), but the driver supports any burst mode now anyway (there was
just a problem with buffer alignment).

There were ring full events often, so I've increased the number of
descriptors from 0x40 to 0xc0 and changed the timeout. Maybe it should
work better if the queue is stopped around 50% or something like that.

Attached:
0904...         - new driver
0905...         - descriptor increase
run.sh          - testing script, various iperf3 modes
vanilla...      - vanilla openwrt test
z4_hyst...      - new driver test (measured with previous patches for SMP ICU
and burst)

Petr
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
openwrt-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openwrt.org/mailman/listinfo/openwrt-devel">https://lists.openwrt.org/mailman/listinfo/openwrt-devel</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Mit freundlichen Grüßen,
Yaroslav Petrov
--
Best regards
Yaroslav Petrov
--
С уважением
Петров Ярослав

email: <a class="moz-txt-link-abbreviated" href="mailto:info@lank.me">info@lank.me</a>
mob DE: +49 151 521 99000 (WhatsApp)</pre>
  </body>
</html>