Add RSS and LRO support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest3 patches 6 repliesIn review
- v73 patches 2 repliesSuperseded
- v63 patches 0 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 RFC | 3 patches | 3 replies | Superseded | |
| v4 RFC | 3 patches | 0 replies | Superseded | |
| v3 RFC | 3 patches | 5 replies | Superseded | |
| v2 RFC | 3 patches | 1 reply | Superseded | |
| v1 RFC | 3 patches | 0 replies | Superseded |
Changes in v8 from the cover letter
- fix more sparse errors, should be all touched lines now
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: ethernet: mtk_eth_soc: Add register definitions for RSS and LROdrivers/ drivers/ | +46 | 0 replies | |
| 2/3 | net: ethernet: mtk_eth_soc: Add RSS supportdrivers/ drivers/ | +496 | 4 replies | |
| 3/3 | net: ethernet: mtk_eth_soc: Add LRO supportdrivers/ drivers/ | +254 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.
Cover letter [net-next v8 0/3] Add RSS and LRO support
From: Frank Wunderlich <[email protected]>
This series add RSS and LRO hardware acceleration for terminating traffic on MT798x.
patches are upported from mtk SDK:
- https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/refs/heads/master/master/files/target/linux/mediatek/patches-6.12/999-eth-08-mtk_eth_soc-add-register-definitions-for-rss-lro-reg.patch
- https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/refs/heads/master/master/files/target/linux/mediatek/patches-6.12/999-eth-09-mtk_eth_soc-add-rss-support.patch
- https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/refs/heads/master/master/files/target/linux/mediatek/patches-6.12/999-eth-10-mtk_eth_soc-add-hw-lro-support.patch
with additional fixes
changes:
v8:
- fix more sparse errors, should be all touched lines now
v7:
- fix u32 vs. be32 reported by patchwork check
- add L4 PSH check
https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/7521c42b0bd5be20d52e20b110daea8c756fc069%5E%21/#F1 - Add HW LRO max 4-depth VLAN support including switch special tag. https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/35490cec6a2e5982532935fb0a1c884f7c4efdb0%5E%21/#F2
v6:
- no RFC
- rebase on netnext (7.1-rc1)
- drop unused MTK_CTRL_DW0_SDL_MASK
- e33bd8dd7f1f ("net: mediatek: convert to use .get_rx_ring_count") moved ETHTOOL_GRXRINGS handling from mtk_get_rxnfc to mtk_get_rx_ring_count move changes to this new function too
- fix some Macro argument '...' may be better as '(...)' to avoid precedence issues
v5:
- fix too long lines after macro changes reported by checkpatch
v4:
- drop unrelated file
- rss-changes suggested by andrew
- fix MTK_HW_LRO_RING_NUM macro (add eth)
- fix MTK_LRO_CTRL_DW[123]_CFG (add reg_map param)
- fix MTK_RX_DONE_INT (add eth param)
- fix lro reverse christmas tree and LRO params suggested by andrew
- drop mtk_hwlro_stats_ebl and unused IS_HW_LRO_RING (only used in properitary debugfs)
v3:
- readded the change dropped in v2 because it was a fix
for getting RSS working on mt7986
- changes requested by jakub
- reworked coverletter (dropped instructions for configuration)
- name all PDMA-IRQ the same way
- retested on
- BPI-R3/mt7986 (RSS needs to be enabled)
- BPI-R4/mt7988
- BPI-R64/mt7622 and BPI-R2/mt7623 for not breaking network functionality
v2:
- drop wrong change (MTK_CDMP_IG_CTRL is only netsys v1)
- Fix immutable string IRQ setup (thx to Emilia Schotte)
- drop links to 6.6 patches/commits in sdk in comments
Mason Chang (3):
net: ethernet: mtk_eth_soc: Add register definitions for RSS and LRO
net: ethernet: mtk_eth_soc: Add RSS support
net: ethernet: mtk_eth_soc: Add LRO support
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 828 ++++++++++++++++---- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 177 +++-- 2 files changed, 792 insertions(+), 213 deletions(-)
Signature · 1 line
2.43.0