Skip to content

ftgmac100: Rework batch 3 - TX path

Benjamin Herrenschmidt netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 1 replyIn review
  2. v112 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ftgmac100: Add a tx timeout handlerdrivers/net/ethernet/faraday/ftgmac100.c+13 -00 replies
2/12ftgmac100: Move ftgmac100_hard_start_xmit() arounddrivers/net/ethernet/faraday/ftgmac100.c+29 -290 replies
3/12ftgmac100: Merge ftgmac100_xmit() into ftgmac100_hard_start_xmit()drivers/net/ethernet/faraday/ftgmac100.c+25 -330 replies
4/12ftgmac100: Factor tx packet dropping pathdrivers/net/ethernet/faraday/ftgmac100.c+9 -80 replies
5/12ftgmac100: Pad small frames properlydrivers/net/ethernet/faraday/ftgmac100.c+8 -20 replies
6/12ftgmac100: Store tx skbs in a separate arraydrivers/net/ethernet/faraday/ftgmac100.c+16 -430 replies
7/12ftgmac100: Cleanup tx queue handlingdrivers/net/ethernet/faraday/ftgmac100.c+68 -350 replies
8/12ftgmac100: Move the barrier out of ftgmac100_txdes_set_dma_own()drivers/net/ethernet/faraday/ftgmac100.c+4 -50 replies
9/12ftgmac100: Split tx packet freeing from ftgmac100_tx_complete_packet()drivers/net/ethernet/faraday/ftgmac100.c+21 -170 replies
10/12ftgmac100: Don't clear tx desc fields unnecessarilydrivers/net/ethernet/faraday/ftgmac100.c+6 -110 replies
11/12ftgmac100: Add support for fragmented txdrivers/net/ethernet/faraday/ftgmac100.c+94 -250 replies
12/12ftgmac100: Remove tx descriptor accessorsdrivers/net/ethernet/faraday/ftgmac100.c drivers/net/ethernet/faraday/ftgmac100.h+69 -1140 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/12] ftgmac100: Rework batch 3 - TX path

This is version 2 of the third batch of updates to the ftgmac100 driver.

This one tackles the TX path of the driver. This provides the bulk of the performance improvements by adding support for fragmented sends along with a bunch of cleanups.

Version 2 fixes a patch splitting mistake and uses eth_skb_pad() (which uses skb_put_padto) to pad ethernet frames rather than skb_padto(), thus removing the need to also pad the packet headlen in a couple of places.

Subsequent batches will add various features (ethtool functions, vlan offlan, ...) and cleanups.