From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5C600A09EC; Wed, 19 Oct 2022 20:41:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0CDB642BFB; Wed, 19 Oct 2022 20:41:26 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2056.outbound.protection.outlook.com [40.107.94.56]) by mails.dpdk.org (Postfix) with ESMTP id 7D8C442BF9 for ; Wed, 19 Oct 2022 20:41:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cu+dlCQmrRkfmgKAF1WZqEJ1W/M1yYM3y96G6xP3ys74Lb8xXu/Wc77wZVRYzv6xy3nzowgBkh4csbRuSVFyvyx9ozgZfogI41CwnUrz8PtOv1Oykzwzf9q2xKZMqmPPvqlbwzGN0y+jeao7bJxX+iKtFt5uHHZukZzBWTXkH6nvCABbRgCpm7hK6ikMkFqHk1pVwl/36uNZRSpZohhF2IR6/fDVAzU1h9axPrFyHYasFyeLYl3I5LJ0O3EPPTyFcpxxxDhFwJHC+MLkxutsFBTC6wYOKBBubACMtJN+9kYya3xu+FpDMr0baCyGXzQlBkgGvGm77Ue9ZnxLSBk/Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yw9nD7hO3rvmYKXJ2dmQXskQjVZCEOduWfatEZ6spGA=; b=mwmSPukkgAqkKIWukwC98zyVj1JDNPs4b3oFJFb5XBAo3+v/qsyDlpa1KwbQZm+oh92uEMzjJQ/0tVLAiIKo69S6vdYN/GXhG39njrtNFHxnx99nl1ViAt1qDRWhUE6enmylY3gKvinK0DH1eQdNN09QIuP5uY30BkexuQKixACP2N8EqD6YqqfztBD05fadVfv3tBbanMKF/WCedr9B/daTmFhD2764H/8/gJ8sccK7DPw6cNXxXKuBvnc9FkB+407OG+gdaWyxXVzQIJleHhTuPrF8yqPebwrnKzkGn0opDgyMbSAJukpz6K6lJ+WPGq8THqZFsKTDY8+gUafM5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=fail (p=reject sp=reject pct=100) action=oreject header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yw9nD7hO3rvmYKXJ2dmQXskQjVZCEOduWfatEZ6spGA=; b=IT4t8zH0u1VxIsTsTiHJLmabgCyhLH0Us9+umam2+N/zEovlpZKSmPa7z2HhaDL+3Fo+4QUYOQ7x61hPFnFHLZmBsjWPeWR4XS3IQAUn+DoEyC5X69/4UuZ7VleguxwH2ItRQ7qfvbCFZ7kZn/G5vGJOgccOaun24rY7k9ol8jTGfSfhftJhYNjlFsIQdChGvSRXVqqgc0WQcM4R6Flw7M/dGX/HfF7fiDytRhfoCNp5wTsrx5DSCRbijjugq0+f8l5kzPX8cIhkWKEwiKrrTOYDwYtcqC7TPAL6RS7doVdKrIc/OQxZbKkDG62/xUKDcrNJAUYUNW1sb3/MpDMS6w== Received: from MW3PR06CA0018.namprd06.prod.outlook.com (2603:10b6:303:2a::23) by IA0PR12MB7578.namprd12.prod.outlook.com (2603:10b6:208:43d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Wed, 19 Oct 2022 18:41:21 +0000 Received: from CO1NAM11FT041.eop-nam11.prod.protection.outlook.com (2603:10b6:303:2a:cafe::19) by MW3PR06CA0018.outlook.office365.com (2603:10b6:303:2a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34 via Frontend Transport; Wed, 19 Oct 2022 18:41:20 +0000 X-MS-Exchange-Authentication-Results: spf=none (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=fail action=oreject header.from=nvidia.com; Received-SPF: None (protection.outlook.com: nvidia.com does not designate permitted sender hosts) Received: from mail.nvidia.com (216.228.117.161) by CO1NAM11FT041.mail.protection.outlook.com (10.13.174.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.16 via Frontend Transport; Wed, 19 Oct 2022 18:41:20 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.26; Wed, 19 Oct 2022 11:41:05 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.29; Wed, 19 Oct 2022 11:41:03 -0700 From: Michael Savisko To: CC: , , , , Matan Azrad Subject: [PATCH v2 0/4] net/mlx5: implement send to kernel action Date: Wed, 19 Oct 2022 21:40:03 +0300 Message-ID: <20221019184007.1032874-1-michaelsav@nvidia.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT041:EE_|IA0PR12MB7578:EE_ X-MS-Office365-Filtering-Correlation-Id: 2906fa01-890f-425d-6209-08dab2018425 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /VGXxvSo2w6VNUw4AOxcbh14EPVw6Tr5f9CQbDiVXPXXKJUhxJwgRf3OEDR09XletIsClmkla1Q3jxxQ9c4UKhdRdRQZLymVXx4BUcHLzZM1HmgwAAsR6PGLDf/Bc7xAfLc+f2SYyxv0s4qE+LeZvkS9f85tvq+j71ImfTnQ6ipvFJ57R69O+AdbaPMQB11eGFPvaIzsd4ewmCU17Hd05t6Ddaw+xOEbvNZMf2XQQvy9ubuWhJ0fYhOiP3wvwVt+zWqdi3LnT3HuMANgx+EC5Rvs6cJ0W6x0fsKBjTqq7B6vLJ42VrsbrLoiB6Eqzg0mNxqz31Cfs4Xb7hhkR+JdxAwXZ6z4S7LTraOf3FXfyoBYklciHcCta+PoZvGDKUvXqvbwgShpTjrm2rb+fH5BSN1GVLubkSB3O53q1vg+srhj/lrKTTIhsdZMalgBMc3jnnk83Rfn6aVGdTYGap6GmLYe6o42DU068ucgNo+DTK8UebeemLnVcQbN/g6l3XiA2Cw05RAVkEB09ff+lZlhdkhPFWLoDdHElJXwbzUuq/TwBIs1bfPefe22oKo9lVTsm2NU4tPFmao9siZBSgnVkaDTORwMm3CMvyK5MaTe+dYAgZpyDZBr+4V8mM5uLUar6j/G16N3yOo8MlZYlUFhCkPfATvUuQ8APnJOYUPaCWaJxsmY70XsVM/wHsFLnwX9jB4h4rw0wLA3qdjaYZlcYrr2uI3nVJCyklqDzw5N33UVtczfb7EgdesVi3nzDpHiMBHZ+v9ys6cFbqVCKXhBjUZ35FockiNyKhIGtaocgHjLVWykNcoG+X2n4t1yRjOysHwyf7QuyMUQ+DYR5qwMaQjGzZXhDm3vw6C7uaWCCa0= X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230022)(4636009)(396003)(136003)(376002)(39860400002)(346002)(451199015)(40470700004)(46966006)(36840700001)(47076005)(426003)(36756003)(82310400005)(83380400001)(82740400003)(7636003)(356005)(107886003)(40460700003)(86362001)(40480700001)(36860700001)(55016003)(70206006)(70586007)(16526019)(316002)(8676002)(5660300002)(6916009)(54906003)(2616005)(966005)(186003)(2906002)(8936002)(336012)(7696005)(4326008)(1076003)(478600001)(6286002)(26005)(41300700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2022 18:41:20.6225 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2906fa01-890f-425d-6209-08dab2018425 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT041.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7578 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 This patchset provides mlx5 implementation of new rte_flow action RTE_FLOW_ACTION_TYPE_SEND_TO_KERNEL. Depends-on: patch-6838dd4bf976 ("ethdev: add send to kernel action") Signed-off-by: Michael Savisko Acked-by: Matan Azrad --- v2: - updated after code review v1: https://patches.dpdk.org/project/dpdk/list/?series=24734 --- Michael Savisko (4): common/mlx5: new glue callback for send to kernel action net/mlx5: introduce new mlx5 action flag net/mlx5: add send to kernel action resource holder net/mlx5: translation of rte flow send to kernel action doc/guides/nics/features/default.ini | 1 + doc/guides/nics/features/mlx5.ini | 1 + drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_glue.c | 17 ++++++ drivers/common/mlx5/linux/mlx5_glue.h | 2 + drivers/net/mlx5/linux/mlx5_flow_os.h | 22 ++++++++ drivers/net/mlx5/linux/mlx5_os.c | 13 +++++ drivers/net/mlx5/mlx5.h | 6 ++ drivers/net/mlx5/mlx5_flow.c | 32 +++++++++++ drivers/net/mlx5/mlx5_flow.h | 10 +++- drivers/net/mlx5/mlx5_flow_dv.c | 74 +++++++++++++++++++++++-- drivers/net/mlx5/mlx5_flow_hw.c | 3 + drivers/net/mlx5/windows/mlx5_flow_os.h | 24 ++++++++ 13 files changed, 200 insertions(+), 7 deletions(-) -- 2.27.0