From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15722C5B574 for ; Tue, 11 Aug 2026 07:47:48 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CF57402EF; Tue, 11 Aug 2026 09:47:48 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by mails.dpdk.org (Postfix) with ESMTP id D6E08402AB for ; Tue, 11 Aug 2026 09:47:46 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B2FEB1A015C; Tue, 11 Aug 2026 09:47:46 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 7C2871A00F0; Tue, 11 Aug 2026 09:47:46 +0200 (CEST) Received: from lsv03457.swis.in-blr01.nxp.com (lsv03457.swis.in-blr01.nxp.com [92.120.147.250]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B439A18000B6; Tue, 11 Aug 2026 15:47:45 +0800 (+08) From: Gagandeep Singh To: dev@dpdk.org Cc: hemant.agrawal@nxp.com Subject: [PATCH v7 00/14] net/enetc: add new features for ENETC4 on i.MX95 Date: Tue, 11 Aug 2026 13:17:31 +0530 Message-Id: <20260811074745.3655334-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260811074032.3646324-1-g.singh@nxp.com> References: <20260811074032.3646324-1-g.singh@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org V7-changes: - added missing 14th patch. V6-changes: - fixed free() on memory allocated with rte_zmalloc(). - fixed eventfd and vector-list leak on interrupt teardown - fixed Rx ring doubling still bypasses - fixed VSI-PSI transaction issued from the interrupt handler - fixed the free-and-reallocate of msg is unnecessary churn - fixed unsynchronized access to tx_pause_active and RBMR - fixed signed shift overflow in the register-dump version field - fixed the fw_size == 0 early return reports the length of "0.0" - unwanted blank lines removed. - parse_txq_prior() returns updated. V5-changes: - Patch 1 Build fixes which includes: 'prev_seg' undeclared fixed. redefinition of 'dev_rx_offloads_sup' fixed. Error: duplicate rx_enable declaration fixed. PF loses Scattered Rx and Multi-segment Tx - mbuf leak in enetc_xmit_pkts_lso() fixed. - fixed conversion on ENETC4_TXBD_FLAGS_F issue. - fixed link speed decode has no upper bound. - fixed mailbox ops added to the no-VSI ops table. - new devargs documented. V4-changes: - fix doc build issue: WARNING: undefined label: pmd_build_and_test v3-changes: - fix doc build issue. - fix compilation issue on fedore:43-gcc-minsize V2-changes: - compilation fixes. V1-changes: This series adds new PMD features to the ENETC4 driver targeting the NXP i.MX95 NETC IP. The series covers: - KEEP_CRC Rx offload: preserve the Ethernet FCS in the receive buffer. - TSO: TCP Segmentation Offload for the VF Tx path. - RSC/LRO: hardware Receive Segment Coalesce for PF and VF Rx paths. - Link speed code: extend the PF-to-VF mailbox field from 4-bit to 8-bit to support speeds beyond 10G. - Firmware version: report the NETC IP version via fw_version_get. - Register dump: dump SI, port (PF) and BD ring registers. - Ring parameters: implement rxq_info_get / txq_info_get for the VF. - Link-up interrupt: refresh the cached link speed on each VF link-up interrupt so that link_update returns the current speed immediately. - Stats reset: software snapshot/delta approach for VF counter reset. - Per-queue Rx interrupt: MSI-X per-queue Rx interrupts for the VF, enabling interrupt-driven receive with l3fwd-power. - SI VLAN: hardware port VLAN insertion/removal for PF and VF. - VF link status bitmask: switch VF link status to bitmask encoding to align with the PF and newer kernel driver conventions. - TX PAUSE: VF sets Rx congestion mode when the PF signals TX PAUSE negotiated on the wire; adds Flow control = Y to enetc4.ini. - WRR Tx scheduler: per-ring WRR weights via enetc4_txq_wrr devarg. Gagandeep Singh (14): net/enetc: add keep-CRC Rx offload for ENETC4 net/enetc: add TSO support for ENETC4 VF net/enetc: add RSC (hardware LRO) support for ENETC4 net/enetc: extend PF-VF link speed field to 8 bits net/enetc: support firmware version get for VF net/enetc: support registers dump net/enetc: support ethtool ring parameters net/enetc: refresh link speed on VF link-up interrupt net/enetc: support stats reset for VF net/enetc4: add per-queue Rx interrupt support for VF net/enetc4: add SI-based port VLAN insertion and removal net/enetc4: update VF link status to bitmask encoding net/enetc4: enable Tx PAUSE via VF Rx congestion mode net/enetc4: add WRR Tx scheduler devarg for VF rings doc/guides/nics/enetc4.rst | 100 +++ doc/guides/nics/features/enetc4.ini | 8 + doc/guides/rel_notes/release_26_11.rst | 21 + drivers/net/enetc/base/enetc4_hw.h | 128 +++- drivers/net/enetc/base/enetc_hw.h | 6 + drivers/net/enetc/enetc.h | 136 ++++- drivers/net/enetc/enetc4_ethdev.c | 428 +++++++++++-- drivers/net/enetc/enetc4_vf.c | 807 ++++++++++++++++++++++--- drivers/net/enetc/enetc_rxtx.c | 530 +++++++++++++++- 9 files changed, 2011 insertions(+), 153 deletions(-) -- 2.25.1