Skip to content

RFC net-next: hw flow offloading

John Crispin lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net-next: add a dma_desc element to struct skb_shared_infoinclude/linux/skbuff.h+1 -04 replies
2/2net-next: mediatek: populate the shareddrivers/net/ethernet/mediatek/mtk_eth_soc.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/2] net-next: hw flow offloading

Hi,

I managed to bring up the flow offloading on latest MedieTek silicon.

When enabling HW flow offloading, the traffic coming in on either of the GMACs is first sent to the PPE for processing. Any traffic not offloaded at this point will then be forwarded to the normal RX DMA ring for SW path processing. In this case the PPE will send additional data inside RXD4 that is later required by the upper layers to populate the flow offloading engines HW tables properly.

This series is a RFC as i am not sure how to best propagate the additional info from the RX DMA descriptor. The driver is still using NF hooks and I plan to rebase it and send it upstream once the flow table offloading patches that folks are working on are upstream.

I am right now trying to get rid of the remaning hacks in the code and wanted to know if this series would be a feasible solution.

John

John Crispin (2):
net-next: add a dma_desc element to struct skb_shared_info
net-next: mediatek: populate the shared

 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 4 ++++
 include/linux/skbuff.h                      | 1 +
 2 files changed, 5 insertions(+)
Signature · 1 line
2.11.0