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 65CDE43B8F; Mon, 4 Mar 2024 17:35:39 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F7E540695; Mon, 4 Mar 2024 17:35:39 +0100 (CET) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by mails.dpdk.org (Postfix) with ESMTP id 882A84027D for ; Mon, 4 Mar 2024 17:35:37 +0100 (CET) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-42ee984152cso10557541cf.1 for ; Mon, 04 Mar 2024 08:35:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709570137; x=1710174937; 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=OM0Svuxz9swiGgN/B7i+CwWXQwdK3/AflCGRs7TfAkE=; b=dMzNUfK/AnJnocExzQJg4KF5TreuhW3iBkiQ03XpV6HisFq8n7RoKVpBITxdG6/8Ka YCc7lPUrLJ7psOaBU9OapZE0uMIy9EuBcdY29wd/GgH8Q9DFCyBVtdV8i6HG1Q9u8KsU zJaXlVJktvipav65Juvikpypgy4lEKjG5esuuOxHuaEPLeiOdjh/PTKkpyb77R/fHgyv 1KEjsunhnIffaMzUFMO6PVur/Q4C/KGvVcYeQDxbt5kPWmv4oLLWJBl6YWv7kq+sFX5p zVB3MZkTOqrilDlo8jO8CDCDNhVTIITuy2iiPnLW6O84NuAK7TMnxkEKatYJKUEsukgS vnFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709570137; x=1710174937; 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=OM0Svuxz9swiGgN/B7i+CwWXQwdK3/AflCGRs7TfAkE=; b=s4RrSjUofCEWKdmlU89+55obKYMVN0TmgKljyfPlqtWPKd74AqlNRfU5jYf9nw9pbZ bDKUSneFlFjiJdM98i7m+HnRCOx0qX3ollKijN3nZShb/KCDIAGgLvJg0g4tFOHhg4m6 Zq4UFf4QamUzNctR4RSxjny3iaoEJdel68J7RJvN8wR+mZTwiQ0XUhx3CQsVj7tTpDM2 CAqqsMWbdXx9wyaR315syvCPCv+p7qIn2MWKG+tgDb/472ioGgOTn1hqMvIYBoaw4oG7 BpdvmDhPdm7eqIh+46QLQxEM760TTj13DefwLst7q42m5huolH8sWNossJYIcJA6+Pkr UW5g== X-Gm-Message-State: AOJu0Ywz5/Q/82DRRLWE8HeV1nRHv7dgP9uc8ctYfvMXDsuIMAjS7knE UhyKRg7vtjVVGNzk5vGyr/GKJ5RceRGvkzjhXCsQp8+aQdnZcMwwV8Wfta0/gygBaCjPSWNfUGn xV2Vc9pGTRAJOfI08mVcsc6UJpbg= X-Google-Smtp-Source: AGHT+IGPUXyyDdiTfN1TP9HQ/2LSR2HcqAdKIEcMngwpFEZkujVSKCkKusht0HNfE6ivWe2syjKSi6TIi3N7uPIWunM= X-Received: by 2002:a05:622a:110e:b0:42e:f036:d9d1 with SMTP id e14-20020a05622a110e00b0042ef036d9d1mr4679509qty.12.1709570136864; Mon, 04 Mar 2024 08:35:36 -0800 (PST) MIME-Version: 1.0 References: <20240304123335.1769854-1-rbhansali@marvell.com> In-Reply-To: <20240304123335.1769854-1-rbhansali@marvell.com> From: Jerin Jacob Date: Mon, 4 Mar 2024 22:05:10 +0530 Message-ID: Subject: Re: [PATCH] common/cnxk: fix loopback port dataflow issue To: Rahul Bhansali Cc: dev@dpdk.org, Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , jerinj@marvell.com 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 Mon, Mar 4, 2024 at 6:10=E2=80=AFPM Rahul Bhansali wrote: > > With loopback interface and IPsec Inbound traffic, getting > NIX_CQERRINT_CPT_DROP interrupt and dataflow is stopped. > This is due to flow control configuration is skipped as > roc_nix_is_esw() returns true for loopback device also. > > Fixes: 978dc3a13f7b ("common/cnxk: base support for eswitch VF") > Fixes: f812768a9e66 ("net/cnxk: support eswitch VF as ethernet device") > > Signed-off-by: Rahul Bhansali Applied to dpdk-next-net-mrvl/for-main. Thanks > --- > drivers/common/cnxk/roc_nix.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/common/cnxk/roc_nix.c b/drivers/common/cnxk/roc_nix.= c > index 20202788b5..041621dfaa 100644 > --- a/drivers/common/cnxk/roc_nix.c > +++ b/drivers/common/cnxk/roc_nix.c > @@ -385,8 +385,9 @@ sdp_lbk_id_update(struct plt_pci_device *pci_dev, str= uct nix *nix) > nix->sdp_link =3D true; > break; > case PCI_DEVID_CNXK_RVU_AF_VF: > - case PCI_DEVID_CNXK_RVU_ESWITCH_VF: > nix->lbk_link =3D true; > + break; > + case PCI_DEVID_CNXK_RVU_ESWITCH_VF: > nix->esw_link =3D true; > break; > default: > -- > 2.25.1 >