dma4_init() set the 8xPBL mode bit but never wrote the programmable burst
lengths, which stay at the reset value of one beat, so the DMA engines issue
very short bursts. The TX and RX burst lengths are already parsed from the
device tree (snps,pbl, snps,txpbl, snps,rxpbl, default 8) for the older
core, use them here too.
Details
Details
Tested on Nanopi R5S :
driver tcp1_send tcp1_recv tcp4_send tcp4_recv
1 eqos 253/196 349/312 250/253 346/438
2 dwc 252/231 175/255 251/236 283/306
3 dwc 253/236 409/341 254/243 386/533
4 dwc 253/229 419/333 253/252 396/418
5 dwc 378/368 411/404 381/378 391/532 <- this commit
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 78438 Build 75321: arc lint + arc unit