diff options
| author | 2026-10-08 14:57:20 +0800 | |
|---|---|---|
| committer | 2026-10-19 14:58:33 -0700 | |
| commit | 90d0cfb577db15d59dd7d9549f1f368753575d39 (patch) | |
| tree | c906e88a25b485a76d19cc0a4292f983788e38ea /scripts/Makefile.thinlto | |
| parent | r8169: prepare for new interrupt mapping (diff) | |
r8169: add support and enable rss
This patch adds support and enable rss for RTL8127. It requests 30 to 32
MSI-X vectors. To support RSS, this patch converts struct RxDesc into a
union.
Additionly, this patch fixes a potential skb overrun issue. Previously,
with NETIF_F_RXALL enabled, a runt or CRC-error desc with a length below
4 would fall through to subtract ETH_FCS_LEN. This will lead to a memory
overrun. Fix this by explicitly dropping packets smaller than ETH_HLEN +
ETH_FCS_LEN. Note that this fix introduces a behavior change on non-RSS
chips: with both RXALL and RXFCS enabled, runt frames of 14 to 17 bytes
that used to be delivered are now dropped.
Ethtool rss tools will be contained in another series patched instead of
this patch.
Signed-off-by: Javen Xu <javen_xu@realsil.com.cn>
Link: https://patch.msgid.link/20261008065722.1026-6-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
