From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA7A73B8BA5 for ; Wed, 17 Jun 2026 06:53:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.148.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781679231; cv=none; b=DWVYGQ6mrt2exHEGlQk83R0qncZvciRbLnDIUhdtWHP1GNyD6wzWbSzXnWolEEfbAqh6yIq8A2tsObsFv4R00tRvK235zyxPqQjy8xmBUrrMSvo5+oTLWNCoQvdH8pMc5W5puibjYQrZvJL9d+AVWIKTMUQlGvBwmIHSFhJPwkQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781679231; c=relaxed/simple; bh=BHrQPB9+qHYO6Y5uhC0BuEDe2kAVSRpndUo8Dr1r7n4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=QzqY4o/xekmtvVN3HDWbRnSVAKrkGMpJU5wdS6FfiYVMjTrE+fWmnSn9SrYS+kub2WdwY1u97kM6UsOfQwcdjDNXqHBR7OL/dwouEikG8WaYVBCYeAGP8J/2PBpW5jbANB5NWviGgFNtcZdtkKnfFVC6tCGAX63VmsCuwynwX54= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b=gliIy+qd; arc=none smtp.client-ip=67.231.148.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=marvell.com header.i=@marvell.com header.b="gliIy+qd" Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65H1n4vb836436; Tue, 16 Jun 2026 23:53:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=pfpt0220; bh=Nw/Pz8uO1f4l96wLOxh8I9n IhJNlOPIIohYQQ/a21TI=; b=gliIy+qdTfQRQUTEe9f6RIcMb3vWqtcom/IbQ3M ZiQOWQ2ARFFSHBM2vHE86wgtaQiPz4SSjBuuI8ej3tUuZkzCw7cqZZaMEqxXpxnl YVVjHNX/WFie+GU0dcZaQ9ekqavl488YdyW15FvaLt1LmjqYAJMtuoiDEpkZ6JgE Frn7MHlJZQiHoF3Qf5A1YQXpY/iJMPO5GVkDIEUOW3Xde8UTBIp7/UhrojOXv9FG N6H5zFoec69tT5zufj0WDbFFyGB+E4OrYCa2dG5ZfFJ6LcuQ8lGxUqD4KGS32hhT zhOHoyj+YCfHMG0adxI0x33yGzlGOhYQMkfERJFIZvpTQVg== Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 4eueg4hhf7-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Jun 2026 23:53:37 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.25; Tue, 16 Jun 2026 23:53:36 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.25 via Frontend Transport; Tue, 16 Jun 2026 23:53:36 -0700 Received: from kernel-ep2.caveonetworks.com (unknown [10.29.36.53]) by maili.marvell.com (Postfix) with ESMTP id DA5663F7083; Tue, 16 Jun 2026 23:53:31 -0700 (PDT) From: To: , CC: , , , , , , , , , , , , Nitin Shetty J Subject: [PATCH net-next 0/2] octeontx2-af: NPC parser and RSS improvements Date: Wed, 17 Jun 2026 12:23:15 +0530 Message-ID: <20260617065317.444341-1-nshettyj@marvell.com> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE3MDA2MiBTYWx0ZWRfX3jyTbh2s4Vl5 i969sk+MbUpLDNvbD1Kugam4VODlcVT3t0REDcLbiYXkQ79Bk7xuB3/Hd9cOdxPxPN26/dQ0jCL BS5pRnvAjCD9ko/Azi/dmCkGTofPKNQpXC1WNzAbZJl7BRGifFhd/zLPxEkhGnUUgoz0kcTZh5s SVbMhjOx0fkqubr8jonTHe9CnulkbRrv7RqDjk8NRnQSK6huPZ9mJuDv6zmWU7L961XGB89H59f F8I+zIci/lszAFg4DbSGHkriVNi+na0C7K+Hf2zgyllLYw7ZPyilViIrGEPEsnDmrBGQhvzQzHr NDOSERBqyNWVx+8wwLAg6L/7YZbgUydjEAs78gaDAihCbjMsfXv3AjxLJqXMp9zFkCJ0KkEfElt ZhO3QXT6jgJzsPjNTSC+45dh2FVsLn9oXJuzP6MLFbE3zKlks04MuG96sHRSoz0yxVYaCtgajOO W7qJ7Bx8jguj/Qds7yQ== X-Proofpoint-ORIG-GUID: BOfGWYlui7YKzgU_ZlDDPx0-3HlglmjW X-Authority-Analysis: v=2.4 cv=JZqMa0KV c=1 sm=1 tr=0 ts=6a324471 cx=c_pps a=gIfcoYsirJbf48DBMSPrZA==:117 a=gIfcoYsirJbf48DBMSPrZA==:17 a=FelO9ux0wxsA:10 a=VkNPw1HP01LnGYTKEx00:22 a=l0iWHRpgs5sLHlkKQ1IR:22 a=EAYMVhzMl8SCOHhVQcBL:22 a=M5GUcnROAAAA:8 a=xZf-0Xk3TOAoxQtB26IA:9 a=OBjm3rFKGHvpk9ecZwUJ:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE3MDA2MiBTYWx0ZWRfXxjGHNu9SkkVo J1zpPZ0+U8aovahH6j2/4G3Pt1DFO6C6nn21lfH0l8H4cDvQ8X43VrB4bb+RO86UPyaTeJ6NGiF ETT8xlX9zaItXv5iZhEVBn95mWE9lSA= X-Proofpoint-GUID: g0KWwRTLRIjQEFQdZ_DE44or7TWkTpE7 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-16_05,2026-06-16_02,2025-10-01_01 From: Nitin Shetty J This series extends the Marvell OcteonTX2 admin-function driver with two improvements to the NPC (Network Parser CAM) block. The NPC parses packets received by or transmitted from the NIX, and its matching CAM (MCAM) selects which VFs, queues, or output ports handle each packet. Patch 1 reserves a new range of PKINDs (46-53) to support configurable L2 skip-size parsing. Packets arriving with variable length L2 headers or a CPT (Cryptographic Accelerator Unit) pre-header can be steered to one of four skip-size PKINDs so the NPC advances past the right number of bytes before starting protocol classification. The mbox interface is extended with a skip_size field so PF/VF drivers can program the desired L2 offset at run time without rebuilding firmware. Patch 2 adds a NIX_FLOW_KEY_TYPE_ROCEV2 flow-key type so the RSS engine can distribute RoCEv2 traffic across receive queues using the destination Queue Pair (QP) field. Without this, all RoCEv2 flows hash the same way and land on a single queue. Both changes target the admin-function driver to improve overall hardware parsing infrastructure. Kiran Kumar K (2): octeontx2-af: reserve 4 PKINDs for skip-size custom use octeontx2-af: Add RSS hashing support based on RoCEv2 header .../net/ethernet/marvell/octeontx2/af/mbox.h | 2 + .../net/ethernet/marvell/octeontx2/af/npc.h | 4 +- .../net/ethernet/marvell/octeontx2/af/rvu.h | 2 +- .../ethernet/marvell/octeontx2/af/rvu_nix.c | 9 +++- .../ethernet/marvell/octeontx2/af/rvu_npc.c | 42 ++++++++++++++++++- 5 files changed, 54 insertions(+), 5 deletions(-) -- 2.48.1