Skip to content

add ethtool COALESCE_RX_CQE_FRAMES/NSECS and use it in MANA driver

Haiyang Zhang linux-doc linux-hyperv linux-rdma lkml netdev 5 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesApplied 3/3
  2. v53 patches 3 repliesSuperseded
  3. v43 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v33 patches1 replySuperseded
v11 patch6 repliesSuperseded

Patches in v6 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: ethtool: add ethtool COALESCE_RX_CQE_FRAMES/NSECSDocumentation/netlink/specs/ethtool.yaml Documentation/networking/ethtool-netlink.rst include/linux/ethtool.h +2 more+39 -20 repliesApplied
2/3net: mana: Add support for RX CQE Coalescingdrivers/net/ethernet/microsoft/mana/mana_en.c drivers/net/ethernet/microsoft/mana/mana_ethtool.c include/net/mana/mana.h+113 -290 repliesApplied
3/3net: mana: Add ethtool counters for RX CQEs in coalesced typedrivers/net/ethernet/microsoft/mana/mana_en.c drivers/net/ethernet/microsoft/mana/mana_ethtool.c include/net/mana/mana.h+36 -120 repliesApplied

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchLong Li
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH net-next v6 0/3] add ethtool COALESCE_RX_CQE_FRAMES/NSECS and use it in MANA driver

From: Haiyang Zhang <[email protected]>

Add two parameters for drivers supporting Rx CQE Coalescing.

ETHTOOL_A_COALESCE_RX_CQE_FRAMES:
Maximum number of frames that can be coalesced into a CQE or writeback.

ETHTOOL_A_COALESCE_RX_CQE_NSECS:
Max time in nanoseconds after the first packet arrival in a coalesced CQE or writeback to be sent.

Also implement it in MANA driver with the new parameter and counters.

Haiyang Zhang (3):
net: ethtool: add ethtool COALESCE_RX_CQE_FRAMES/NSECS
net: mana: Add support for RX CQE Coalescing
net: mana: Add ethtool counters for RX CQEs in coalesced type

 Documentation/netlink/specs/ethtool.yaml      |  8 ++
 Documentation/networking/ethtool-netlink.rst  | 11 +++
 drivers/net/ethernet/microsoft/mana/mana_en.c | 84 +++++++++++++------
 .../ethernet/microsoft/mana/mana_ethtool.c    | 75 ++++++++++++++++-
 include/linux/ethtool.h                       |  6 +-
 include/net/mana/mana.h                       | 17 +++-
 .../uapi/linux/ethtool_netlink_generated.h    |  2 +
 net/ethtool/coalesce.c                        | 14 +++-
 8 files changed, 181 insertions(+), 36 deletions(-)
Signature · 1 line
2.34.1