diff options
| author | 2026-10-13 10:30:48 +0800 | |
|---|---|---|
| committer | 2026-10-19 19:50:09 -0700 | |
| commit | 250a6edaea4998e6f2db6e030cb5d1135ee18b5d (patch) | |
| tree | b93cb2a63b90e8bfd9b76b44bfc1be13574047cf /scripts/Makefile.thinlto | |
| parent | net: rnpgbe: Add basic TX packet transmission support (diff) | |
net: rnpgbe: Add basic RX data path support
Add basic RX DMA data path for the RNPGBE driver.
Introduce the RX descriptor structure (union rnpgbe_rx_desc) with the
hardware write-back format, and manage RX buffers with page_pool using a
single page per descriptor without page splitting. Implement the NAPI
poll callback, RX ring setup and teardown, and packet assembly from page
buffers, along with RX statistics.
Keep a 16-descriptor gap in the fixed 512-entry RX ring so at most 496
descriptors are posted to hardware. Retry failed page allocations with
one timer per q_vector that schedules NAPI and is cancelled before RX
cleanup and q_vector teardown.
An RX DMA quiesce timeout is a terminal AXI fault: keep DMA disabled,
release existing mappings safely, and reject subsequent opens. Recovery
requires a chip-level reset and driver rebind.
Signed-off-by: Dong Yibo <dong100@mucse.com>
Link: https://patch.msgid.link/FA6FE70B8DB5E7FB+20261013023048.63685-1-dong100@mucse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
