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 5B7A7433A7 for ; Thu, 23 Nov 2023 11:48:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 557C9402A6; Thu, 23 Nov 2023 11:48:16 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 70D424026B for ; Thu, 23 Nov 2023 11:48:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700736495; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vdhrBf/RGJqZZmyulIXdlmU0REwrY9p2I3jGf1z+3Xk=; b=Pvoys4V6kqahYedLBpuM8+5O7Y6Dpe4eDhs9e1tpom1sUbmaP/wmT/AKi06+xmy2YK16P4 RCQxGlNgkKone+F+uBbJSV7rBUx3635BpxYAnIkcnJQGkzc9/iBYe7ZF4jU9cuIxEUv9Lk ltuTi7HbV/r/5q5qijTCFg1xZhWKQgU= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-251-tz-0IUgfPLSoPLUHsr8PTw-1; Thu, 23 Nov 2023 05:48:13 -0500 X-MC-Unique: tz-0IUgfPLSoPLUHsr8PTw-1 Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2c51d0f97e3so5476751fa.0 for ; Thu, 23 Nov 2023 02:48:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700736491; x=1701341291; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vdhrBf/RGJqZZmyulIXdlmU0REwrY9p2I3jGf1z+3Xk=; b=Yh3UllzseG1hC7sYnEoheMWLSYIqpgCNT0iv/2IJDUbU4qFxKJX5W96JDCGmg2zU8p DBh3kyRbM0sMZn9S03qQFVU7mLao1qbBn9Wl/5+Z48RHQoNUoV5NJN1PXgWDUIzRTYg3 I0hkmnZ1g50t4+gR8bdnP87RReRS4aFk3PIc3nxdvjtWWdIxGm49ESB+NGVkEj+p3Rht OakTkceGMgD4Cil2T7SDfrjNOSXdh8ZKGIV2U2VcFTVg+YVAp82Y+wyGcdntfL4Z4mUA aJj+GYL2sirdSEFdbOwnmayn2pwZcU+hSYhbom3TYzDZA7ASg160yperxuMvnhZNLs/X gQ8g== X-Gm-Message-State: AOJu0YxJifdDxifP6WR8aPMBT+yUBZRRHN97FTJBYJ23gmlmbj9cyiZv CZskxMPkwd5pe7SZG2r/DkR9tWQRYnSqXm381oR9UT+J4S91uYkbZHDgMMT9j1vLvDX5bkWqy+N lajBLSHk= X-Received: by 2002:a2e:9b88:0:b0:2c5:80d:53b1 with SMTP id z8-20020a2e9b88000000b002c5080d53b1mr3572018lji.43.1700736491689; Thu, 23 Nov 2023 02:48:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IFUvBUAPS72nvFIHpry63NUYy9UKIeFTUbFhwF8FO7pvuctCn+fv5beZemj1LXFIkUfjwdbVQ== X-Received: by 2002:a2e:9b88:0:b0:2c5:80d:53b1 with SMTP id z8-20020a2e9b88000000b002c5080d53b1mr3572006lji.43.1700736491452; Thu, 23 Nov 2023 02:48:11 -0800 (PST) Received: from [192.168.0.36] ([78.16.130.39]) by smtp.gmail.com with ESMTPSA id r7-20020a05600c35c700b0040b30be6244sm1600958wmq.24.2023.11.23.02.48.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Nov 2023 02:48:10 -0800 (PST) Message-ID: <0a813770-5b6a-545d-6319-3948c518f0ee@redhat.com> Date: Thu, 23 Nov 2023 10:48:10 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 To: Chaoyong He , stable@dpdk.org Cc: oss-drivers@corigine.com, Shihong Wang , Peng Zhang References: <20231117031500.1609817-1-chaoyong.he@corigine.com> From: Kevin Traynor Subject: Re: [PATCH 21.11] net/nfp: fix DMA error after abnormal exit In-Reply-To: <20231117031500.1609817-1-chaoyong.he@corigine.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 17/11/2023 03:14, Chaoyong He wrote: > [ upstream commit 9e442599802e788874110339901f4eeb8f0ecc3b ] > > When DPDK application exit abnormally, there might have DMA error, > and which will cause the load of firmware failed. > > Fix this by force the physical port down to clear the possible DMA error. > > Fixes: 896c265ef954 ("net/nfp: use new CPP interface") > > Signed-off-by: Shihong Wang > Signed-off-by: Peng Zhang > --- > drivers/net/nfp/nfp_ethdev.c | 5 +++++ > 1 file changed, 5 insertions(+) Thanks for backporting. I applied this and the other patches in the series to the 21.11 branch.