1
0
Fork 0
alistair23-linux/drivers/net/ethernet/renesas
Masaru Nagai ae9819e339 ravb: Decrease TxFIFO depth of Q3 and Q2 to one
Hardware has the CBS (Credit Based Shaper) which affects only Q3
and Q2. When updating the CBS settings, even if the driver does so
after waiting for Tx DMA finished, there is a possibility that frame
data still remains in TxFIFO.

To avoid this, decrease TxFIFO depth of Q3 and Q2 to one.

This patch has been exercised this using netperf TCP_MAERTS, TCP_STREAM
and UDP_STREAM tests run on an Ebisu board. No performance change was
detected, outside of noise in the tests, both in terms of throughput and
CPU utilisation.

Fixes: c156633f13 ("Renesas Ethernet AVB driver proper")
Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com>
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
[simon: updated changelog]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-07 09:31:05 -08:00
..
Kconfig ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
Makefile ethernet: renesas: convert to SPDX identifiers 2018-09-10 10:11:53 -07:00
ravb.h ravb: Clean up duplex handling 2018-11-23 11:14:47 -08:00
ravb_main.c ravb: Decrease TxFIFO depth of Q3 and Q2 to one 2019-03-07 09:31:05 -08:00
ravb_ptp.c ravb: do not write 1 to reserved bits 2018-09-18 20:09:57 -07:00
sh_eth.c sh_eth: offload RX checksum on SH7763 2019-02-04 13:31:00 -08:00
sh_eth.h sh_eth: RX checksum offload support 2019-02-04 13:31:00 -08:00