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. ETHTOOL_A_COALESCE_RX_CQE_NSECS: Time out value in nanoseconds after the first packet arrival in a coalesced CQE to be sent. Also implement 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 | 10 ++ drivers/net/ethernet/microsoft/mana/mana_en.c | 91 +++++++++++++------ .../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, 187 insertions(+), 36 deletions(-) -- 2.34.1
