diff options
| author | 2026-10-08 14:57:17 +0800 | |
|---|---|---|
| committer | 2026-10-19 14:58:32 -0700 | |
| commit | 5df447aee076a1bfdbf944ed96b5b14cde9446f5 (patch) | |
| tree | 2f3da935b7409e6b0a8b6899c490593a8bd1c8c3 /scripts/Makefile.thinlto | |
| parent | r8169: prepare for multi irqs and napi (diff) | |
r8169: refactor RX path to prepare for multi-queue
This patch is a preparatory refactoring of the RX path. It introduces
struct rtl8169_rx_ring and turns the previously embedded RX state in
rtl8169_private into a per-queue array.
The original DMA address of rx buffer is read back directly from
desc->addr. But when we enable rss, desc->addr will be overwritten. So
this patch introduces a array to cache the DMA address of rx buffers
which we name it as rx_buf_dma_addr.
While the netdev allocation is changed to devm_alloc_etherdev_mqs()
with up to 8 RX queues, the actual number of active RX rings
(num_rx_rings) is currently kept at 1. The actual multi-queue operation
and RSS enablement will be introduced in subsequent patches.
Signed-off-by: Javen Xu <javen_xu@realsil.com.cn>
Link: https://patch.msgid.link/20261008065722.1026-3-javen_xu@realsil.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
