From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEF4F15E5DC; Tue, 17 Mar 2026 19:18:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773775120; cv=none; b=oYMsUebJqRWGy5LyvNq1sHYtR503toRalxzEIPd7UYSR/+zTkOTZUE5v8bDynoYAaN6f+4uIwHKi611uBlvGRUP7yCtCEmUJ1Qi19bi/v44IfH8QQNtfVhqq0TwoyBuzroQ3rzBuzCps/mf5V+dOaeL2Gdy6xpx1v3P/nlTjaTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773775120; c=relaxed/simple; bh=HHBeQ5I/j2+OyiO+vVB6oHPpJ1nfk/+GUprWxGKldSI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Bde8D5TIJM4Dyqb2svGq573i9UfWcjdrkiLbUyEP5g+lg5qSn4lHwj+ci2KpUl2IjPmlbJE1ifUZtYcTAmQ3XmU40EEhesWTdZOAm4yRBonzuRoxwT8QBzoKIs7m+EeobcO5f3aNJMhi0gsVzBwLPU46y2j6Y+SCbaDFa7P2VP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=Jj2PQr9C; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="Jj2PQr9C" Received: by linux.microsoft.com (Postfix, from userid 1006) id D35E020B7001; Tue, 17 Mar 2026 12:18:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com D35E020B7001 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1773775118; bh=dEWTfOGEkf8Bh9K4B3YC4fmdRm2eFTdfOERDWQqPHU4=; h=From:To:Cc:Subject:Date:From; b=Jj2PQr9CGBu7itS6LCts4DPqb80w6dHETVLZHFscgnOKN+xiOkAgZpv/PIIUkdzOb o5A/bELejJHmqr3Gb0fObqSgPqyB2BdaEHUHlrBX/8svkekGYyPI5yPJ9I5W99XPBr rLHznw6tkRg21zqvj7/TTcYhhwJ/CnFcILfZM31I= From: Haiyang Zhang To: linux-hyperv@vger.kernel.org, netdev@vger.kernel.org Cc: haiyangz@microsoft.com, paulros@microsoft.com Subject: [PATCH net-next v6 0/3] add ethtool COALESCE_RX_CQE_FRAMES/NSECS and use it in MANA driver Date: Tue, 17 Mar 2026 12:18:04 -0700 Message-ID: <20260317191826.1346111-1-haiyangz@linux.microsoft.com> X-Mailer: git-send-email 2.43.7 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Haiyang Zhang 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