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 B70FE423FB; Tue, 17 Jan 2023 12:47:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E1C6400EF; Tue, 17 Jan 2023 12:47:55 +0100 (CET) Received: from mail-vs1-f53.google.com (mail-vs1-f53.google.com [209.85.217.53]) by mails.dpdk.org (Postfix) with ESMTP id 382B3400D4 for ; Tue, 17 Jan 2023 12:47:54 +0100 (CET) Received: by mail-vs1-f53.google.com with SMTP id k6so22983104vsk.1 for ; Tue, 17 Jan 2023 03:47:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=C/rvxZHDpbZZsAu7xBDMgvg3UWU5Ty3guwE/ANhV47Q=; b=EhfG6YRmuF+31VOROeb1pKjI3ZDfSrBT8A+il/fJ1jRnW58Bf5B+odamWHmTsrDwc+ Z5TDvhKqEQizMtO3t2rbFRwysM+Cm+IDTOnw6NaD5Ci7NlzT+DZE4Wllb7+aGf07E0Jl vQvLbTbAnmipq09F3WA0+k03f4zNBXcwsGKGb0h23sR0bjmaC5ZmBaaBPRXcq7YhF7tQ jhthGkTdDlAHxOPag2ACYLdXYv5wvUbiQRINdWdvY5TbAF/cffLqsQsIUDi5pUEAouq7 xGj9iqQrQAGAcFqSO7BXa8RByIU2vxfktkNF7TTCCWfDsXYxMRme8cK5tIRRP0f+a7Yy yS/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=C/rvxZHDpbZZsAu7xBDMgvg3UWU5Ty3guwE/ANhV47Q=; b=CacYmKuIbE1akS1x/mZoEG5Iz7i0kUje2ypOZ8bgef+4LR1A9i1Ka2DcdmJZl+6hty /KfAb2q2Pd5PxrL50AY4ypBqAVXfTTRwdOZP5YWlmD4Q3/4SvJoptXMI+KI+XHopc/+4 YGUp7pAhNZhFiZ2bBDyMu/3tA0maVd3xLBblpl6mysykf6isPFwiXkA/gzMBzzvzdydt W8nHK4kSJypn3UaRHaBWW2R/epLP5TxMduTroApHrHKyigTi0IBANIfGqXwhptWJF6rL gasnebRrRcu+aIIglvd6voRuh7WhYiTkDm7b39cjZN9K6k39+4pSh68F+5jZD5i5ffNN ATjw== X-Gm-Message-State: AFqh2kqYn5wOW+rKA+ffz1/hK8xDpqtjGkHSc5pXGdRwb9lUQLE8/24C jwEOzEHKfWsEncaaBexig4fHgXvPhlCJYcb6xLI= X-Google-Smtp-Source: AMrXdXv4cZ0bVzZifZqYjuwzNM3+Gtl95bhKS8pLV9HvmtFKFPgAL9FfM6KHbRbEZeFqUiBUQMJo+fyASwAZf6faDlM= X-Received: by 2002:a67:b64b:0:b0:3d0:c96e:25ac with SMTP id e11-20020a67b64b000000b003d0c96e25acmr282317vsm.73.1673956073166; Tue, 17 Jan 2023 03:47:53 -0800 (PST) MIME-Version: 1.0 References: <20230116093954.172938-1-ndabilpuram@marvell.com> <20230116093954.172938-9-ndabilpuram@marvell.com> In-Reply-To: <20230116093954.172938-9-ndabilpuram@marvell.com> From: Jerin Jacob Date: Tue, 17 Jan 2023 17:17:27 +0530 Message-ID: Subject: Re: [PATCH 9/9] common/cnxk: skip L4 checks on inline IPsec traffic To: Nithin Dabilpuram Cc: jerinj@marvell.com, Kiran Kumar K , Sunil Kumar Kori , Satha Rao , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" 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 Mon, Jan 16, 2023 at 3:11 PM Nithin Dabilpuram wrote: > > Skip L4 checks on inline IPsec traffic as even first fragment > is set as valid ESP packet in order to send it via CPT. > > Signed-off-by: Nithin Dabilpuram 1) Squashed 1/9 with old patch in next-net-mrvl tree. 2) Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-next-net. Thanks commit ab3e743050dce3a1a4d0d4f97b3bf8bf7bebdbed (HEAD -> for-next-net) Author: Nithin Dabilpuram Date: Mon Jan 16 15:09:54 2023 +0530 common/cnxk: skip L4 checks on inline IPsec traffic Skip L4 checks on inline IPsec traffic as even first fragment is set as valid ESP packet in order to send it via CPT. Signed-off-by: Nithin Dabilpuram commit 8fee49a7d6cff3e5ed318cca3b6c6f9080eadab8 Author: Rakesh Kudurumalla Date: Mon Jan 16 15:09:53 2023 +0530 net/cnxk: make flow control op for SDP as no-op No action is taken when application calls rte_eth_dev_flow_ctrl_get(), for SDP port which is inline with rte_eth_dev_flow_ctrl_set() for SDP port. Signed-off-by: Rakesh Kudurumalla commit be0e9b93ccb3b64d8db63fe959c75bd9ecf50a66 Author: Srujana Challa Date: Mon Jan 16 15:09:52 2023 +0530 common/cnxk: update CPT inbound inline IPsec mailbox Updates CPT inbound inline configuration mailbox message format to set CPT credit threshold and BPID, which are introduced for CN10KB. This patch also fixes inline inbound config read API. Fixes: 37da58509579 ("common/cnxk: update inbound inline IPsec config mailbox") Cc: stable@dpdk.org Signed-off-by: Srujana Challa commit e7358efc558165b5817c90f6fa390fb62d7f6ebd Author: Nithin Dabilpuram Date: Mon Jan 16 15:09:51 2023 +0530 common/cnxk: free TM resources in order from leaf to root Now that kernel AF driver is clearing parent info that is needed for flush, free the resources in order from leaf to root so that when SMQ flush is called there is always hierarchy present from SMQ till TL1. Signed-off-by: Nithin Dabilpuram commit f3f10aa02371da3cb72be8b07240d84ea36a2abf Author: Nithin Dabilpuram Date: Mon Jan 16 15:09:50 2023 +0530 common/cnxk: dump inline device RQ context Dump inline device RQ context along with ethdev's RQ context. Signed-off-by: Nithin Dabilpuram commit bae0401959e5c1f82c282f603c26524809e9cc99 Author: Rakesh Kudurumalla Date: Mon Jan 16 15:09:49 2023 +0530 net/cnxk: reset PFC mode and flow control Reset PFC and flow control if PFC mode and flow control are set respectively during uninitialization of PF or VF. Signed-off-by: Rakesh Kudurumalla commit ce56e8de6c1f4768235915e1a0d554c9788fee24 Author: Satha Rao Date: Mon Jan 16 15:09:48 2023 +0530 common/cnxk: configure FC hysteresis bits New parameter added inside SQ structure to control the fc_hyst_bits. Instead of count on all updates each SQ can tune this own hysteresis level. Signed-off-by: Satha Rao commit 2c746a47bd4a2c5eb6a35ad9f391a288bf24a14a Author: Satha Rao Date: Mon Jan 16 15:09:47 2023 +0530 common/cnxk: enable CQ late BP with valid CPT BPID When FC enable requested for CPT, mbox returns allocated BPID. While configuring CQ consider this value to enable late back pressure. Signed-off-by: Satha Rao > --- > drivers/common/cnxk/roc_nix_inl_dev.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c b/drivers/common/cnxk/roc_nix_inl_dev.c > index b340b92e77..6f60961bc7 100644 > --- a/drivers/common/cnxk/roc_nix_inl_dev.c > +++ b/drivers/common/cnxk/roc_nix_inl_dev.c > @@ -13,9 +13,7 @@ > #define NIX_INL_LF_RX_CFG \ > (ROC_NIX_LF_RX_CFG_DROP_RE | ROC_NIX_LF_RX_CFG_L2_LEN_ERR | \ > ROC_NIX_LF_RX_CFG_IP6_UDP_OPT | ROC_NIX_LF_RX_CFG_DIS_APAD | \ > - ROC_NIX_LF_RX_CFG_CSUM_IL4 | ROC_NIX_LF_RX_CFG_CSUM_OL4 | \ > - ROC_NIX_LF_RX_CFG_LEN_IL4 | ROC_NIX_LF_RX_CFG_LEN_IL3 | \ > - ROC_NIX_LF_RX_CFG_LEN_OL4 | ROC_NIX_LF_RX_CFG_LEN_OL3) > + ROC_NIX_LF_RX_CFG_LEN_IL3 | ROC_NIX_LF_RX_CFG_LEN_OL3) > > extern uint32_t soft_exp_consumer_cnt; > static bool soft_exp_poll_thread_exit = true; > -- > 2.25.1 >