From: Haiyang Zhang <haiyangz@microsoft.com>
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(-)
--
2.34.1