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 6621443B6F; Thu, 22 Feb 2024 09:55:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EAA1A402DA; Thu, 22 Feb 2024 09:55:37 +0100 (CET) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mails.dpdk.org (Postfix) with ESMTP id 6D18640281 for ; Thu, 22 Feb 2024 09:55:36 +0100 (CET) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-42e12454d7dso17696001cf.1 for ; Thu, 22 Feb 2024 00:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708592136; x=1709196936; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=T/rUwGQIoFJQvEQJ0AP8j+++S8PRnJ3GIBaEaVIWndI=; b=itBLv+j5HvmeniHHNP25tKpVI+b8TKLoT0CCZSR03rSWnygh0Z5q+RN+OViLpdS/jj Nfa461rP6CE8+98+pmsRpk5QfimwA9L3/BDQrFiLw8XXjAE2JNNof4SwDgwvT9eiFqcN LOmUFh4iMAlihVooN+y2KguwaXaQQFrjGQN6HywTqEuAz4J8aE9IH9IaTeACMSCUxEX1 /mlNO25wJxP/+JlAmzml9j2kiTw4IEw7+n7MXSEJHapDLLVXou3gNUS0RwgR4VX8+UO2 ZpXds/JKvfAFaypX0OkS7HTIFHNWpd+vXvmYucqzcHunaKHwqL3kB4KU0xuB4pZoItD5 Fbfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708592136; x=1709196936; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T/rUwGQIoFJQvEQJ0AP8j+++S8PRnJ3GIBaEaVIWndI=; b=WMUsy/LWgr1vSevEXojd0OQhwRorB4FZihZsSpBzamEJLin3EQYyUq/3u1S6FInPbm 2JPVmHxhDPy+fWtqu5Sp0A9qpJfqKrCLPoDrkw9VMXeGEPUfaBGCNS8/WfWR6mcupp61 A6rVGJfh8yMI6tvz1+ZcciySf/KU7wpKZLEUNtf4UUtaLQU0Ocxv8UxOL5RyUNwd9xlW c0DM+A5W2WLB3PKHqBRO1HUzxKTClC25/pQ6deaKQXNR/dNHWMRYUcCiB6L/XYzMM32Q DNp9dE97dAtQazvNPH62CttGlJ5YWrXHa5tWd9FwApfcWc0+J8wHkyx0v1sKhij0GGNN YhKw== X-Gm-Message-State: AOJu0Yyss5DnPB6lgNlRZ74dJUyDSThaHAFyiTRv8tbTKwYjxAys7HPd I6uBKMFa30ybZeiK3podbGsk/EHe1+Kg4KUjJ1a+2lRrSJyv6GYqKmFSuAAoAHezshqx9CZ4Bvp tFLaOAAwJzDj5JyrloOokU0Sn9wlqi1zc5Tg= X-Google-Smtp-Source: AGHT+IHekcKRgSDM7cvf+hVSmCKNFQZ7yvG74eibZhFErrj4NE0eD9ahOSmF6EoMttyOVCEJ1AdSr2nLI/0iY+20kXU= X-Received: by 2002:ac8:7d51:0:b0:42e:3329:4175 with SMTP id h17-20020ac87d51000000b0042e33294175mr5921849qtb.0.1708592135635; Thu, 22 Feb 2024 00:55:35 -0800 (PST) MIME-Version: 1.0 References: <20240119055721.1750399-1-rbhansali@marvell.com> <20240119055721.1750399-2-rbhansali@marvell.com> In-Reply-To: <20240119055721.1750399-2-rbhansali@marvell.com> From: Jerin Jacob Date: Thu, 22 Feb 2024 14:25:09 +0530 Message-ID: Subject: Re: [PATCH 2/5] net/cnxk: support of Rx inject To: Rahul Bhansali Cc: dev@dpdk.org, Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Fri, Jan 19, 2024 at 11:27=E2=80=AFAM Rahul Bhansali wrote: > > Add Rx inject security callback APIs to configure, inject > packet to CPT and receive back as in receive path. > Devargs "rx_inj_ena=3D1" will be required to enable the > inline IPsec Rx inject feature. If inline device is used > then this devarg will be required for both inline device > and eth device. > > Signed-off-by: Rahul Bhansali > --- > doc/guides/nics/cnxk.rst | 27 +++ Please update release note. i.e Add one line under "Updated Marvell cnxk net driver " in "doc/guides/rel_notes/release_24_03.rst. > drivers/net/cnxk/cn10k_ethdev.c | 4 + > drivers/net/cnxk/cn10k_ethdev_sec.c | 48 +++++ > drivers/net/cnxk/cn10k_rx.h | 241 ++++++++++++++++++++++++- > drivers/net/cnxk/cn10k_rxtx.h | 57 ++++++ > drivers/net/cnxk/cn10k_tx.h | 57 ------ > drivers/net/cnxk/cnxk_ethdev.h | 3 + > drivers/net/cnxk/cnxk_ethdev_devargs.c | 8 +- > drivers/net/cnxk/cnxk_ethdev_dp.h | 8 + > drivers/net/cnxk/cnxk_ethdev_sec.c | 21 ++- > 10 files changed, 405 insertions(+), 69 deletions(-)