Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5125472rwb; Mon, 31 Jul 2023 19:09:20 -0700 (PDT) X-Google-Smtp-Source: APBJJlGBC5uY1+oAcnS2ljYOEo/nKWzRfJOjOvb6dQtWAo6ruA9iS6/VwfPhpEVKIvZnXFAYVFIa X-Received: by 2002:a17:906:2002:b0:98e:933:2909 with SMTP id 2-20020a170906200200b0098e09332909mr1095871ejo.22.1690855760452; Mon, 31 Jul 2023 19:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690855760; cv=none; d=google.com; s=arc-20160816; b=ro+mQzG4uRCpvIlUzWi57vLxtLhwAdyUB04m0x7QpJx6E5YxAZZri80vFmQyrig7M2 WDpG8aiED6j9HyBTw6vN4IVkM0Vjrh32ImpiVUGNpjldmh5gM2o1sVb6IN1AiOWsJB6J f9NRTGDVtXs0vj2anPikt1f2x0HxW40d8GT54oJMgU3ggn/nRVdWEer24kdLeTodZOTw 5YOuy/gIkkrIQK6uIYYpM8gKj4VQ2Td885NMGiSW1Uqg/gwHEO1oq2imXzQSwCjSS+Hd 8zlQOqY39xaI4RkzVO/zAo37dokKKi10tXoJ2cJYsTojuHFtHbhL+6qWP7dxVZdYFo6S Y1NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GxkItpsAbwiG+YRD3iuiGsE6HH2Xw12N4R604R5jrfI=; fh=loc5t3CWKCELQ8qsEHEP7JqHIUmihzCJLxVV5iEap+I=; b=x4RWwke4zmujia47oEOo7q43ezNyiO82ll92vEk4eeF7FihxgfN+2plG0QXA7KLpsS CMgKXRc6ugBpqZqPqpA4oHnMevR89nPgeksfEEXBPKjEksl7S+qoojSc7spQZ97QTNHP MpHopWGwN317lQHEnl3MvEDU5k2/lheXZNUFYYN1Mhw5QlI5cSGKjD04S3+53zPLw77L 21NIUw3Iu7+exFFkCc5PXH44g36HDWAyHpcc7gGEV9xfuFOJ8aigiHygHK3S+p6l8+v7 XeeoLCVWTVKyUZP9u2aR2XAHG1Qnbzq/De70K5MMRF8AMVV3x0Xx7QeGKa8vlcgn4V4B KjUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=ATCLGPyo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n11-20020a170906088b00b009937e7c4e50si7458272eje.546.2023.07.31.19.08.55; Mon, 31 Jul 2023 19:09:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=ATCLGPyo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231886AbjHABlV (ORCPT + 99 others); Mon, 31 Jul 2023 21:41:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231405AbjHABlU (ORCPT ); Mon, 31 Jul 2023 21:41:20 -0400 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64F861988; Mon, 31 Jul 2023 18:41:19 -0700 (PDT) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36VMXrYG010378; Mon, 31 Jul 2023 18:41:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=GxkItpsAbwiG+YRD3iuiGsE6HH2Xw12N4R604R5jrfI=; b=ATCLGPyopzSwZOp4xB6OTsM9+nje2x1NU1aMNgf7O4IcbvnCeJJOtULAjcT2VeGUzFze e7lDBtjzCW5tsLvD78XxfnfP1ohIAzfd12oAa2QA6jUYrnY0gkXDJUAp9ENyLwDMEoAd 44qtOMWmJH2N0GeHmRsTGJ4CgTai5CwZLda0nUxR0/LQQVqKH2lYeYdLB172QlQVm6mC fBCZZdsZ4P8WDm6g/XAU8WYLwQqwqKqXKV6Z6H+XVXgT0txyN7rlxTWqlDues4v5HG3U XyiFAda6r4okqtDcTe1kovEDu8FWTgzV+tmW0ppwvetboXIsX7Ziap+mkV7d5aATa01M Mg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3s529k70dm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 31 Jul 2023 18:41:10 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 31 Jul 2023 18:41:08 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Mon, 31 Jul 2023 18:41:08 -0700 Received: from marvell-OptiPlex-7090.marvell.com (unknown [10.28.36.165]) by maili.marvell.com (Postfix) with ESMTP id 77A8E3F704B; Mon, 31 Jul 2023 18:41:03 -0700 (PDT) From: Ratheesh Kannoth To: , CC: , , , , , , , , , , , , , Ratheesh Kannoth Subject: [PATCH v1 net-next 0/4] Packet classify by matching against SPI Date: Tue, 1 Aug 2023 07:10:57 +0530 Message-ID: <20230801014101.2955887-1-rkannoth@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: gCp4vK7oN_7kMBgoruapCUum5upuQsUf X-Proofpoint-ORIG-GUID: gCp4vK7oN_7kMBgoruapCUum5upuQsUf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-31_18,2023-07-31_02,2023-05-22_02 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 1. net: flow_dissector: Add IPSEC dissector. Flow dissector patch reads IPSEC headers (ESP or AH) header from packet and retrieves the SPI header. 2. tc: flower: support for SPI. TC control path changes to pass SPI field from userspace to kernel. 3. tc: flower: Enable offload support IPSEC SPI field. Next patch enables the HW support for classify offload for ESP/AH. This patch enables the HW offload control. 4. octeontx2-pf: TC flower offload support for SPI field. HW offload support for classification in octeontx2 driver. .../net/ethernet/marvell/octeontx2/af/mbox.h | 4 ++ .../net/ethernet/marvell/octeontx2/af/npc.h | 1 + .../marvell/octeontx2/af/rvu_debugfs.c | 4 ++ .../marvell/octeontx2/af/rvu_npc_fs.c | 11 ++++ .../ethernet/marvell/octeontx2/nic/otx2_tc.c | 27 ++++++++++ include/net/flow_dissector.h | 9 ++++ include/net/flow_offload.h | 6 +++ include/uapi/linux/pkt_cls.h | 3 ++ net/core/flow_dissector.c | 53 ++++++++++++++++++- net/core/flow_offload.c | 7 +++ net/sched/cls_flower.c | 35 ++++++++++++ 11 files changed, 159 insertions(+), 1 deletion(-) --- ChangeLog v0 -> v1: Fix new fields in the middle of UAPI exposed enum. -- 2.25.1