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 C795CA00C3 for ; Tue, 29 Nov 2022 12:52:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B259140691; Tue, 29 Nov 2022 12:52:29 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 2F9A34067E for ; Tue, 29 Nov 2022 12:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669722747; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZiUJ47qM3ulUM9qrYgiMjjqQHSY3SAe3TLIFHL0vDeQ=; b=ZBWGVnQTE0bOTo41w9dMHpGEr8YjgjyawmIk6ANqSZTuxRVTQU7RoBbCeNeNvm8gtFYV3Z IM5Edva5MR1N4N2tHxuPyGLe1QKvMg3l+2HJKQcTPibkFqQZRFAnQAzCW7kNnMAgunM4Bv kreT8myLmp6yXOo4ggBI7NIjZujPT7E= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-76-ZCa-QFEuN6mc-CoHr0Kqjw-1; Tue, 29 Nov 2022 06:52:26 -0500 X-MC-Unique: ZCa-QFEuN6mc-CoHr0Kqjw-1 Received: by mail-wr1-f71.google.com with SMTP id o10-20020adfa10a000000b00241f603af8dso2783088wro.11 for ; Tue, 29 Nov 2022 03:52:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZiUJ47qM3ulUM9qrYgiMjjqQHSY3SAe3TLIFHL0vDeQ=; b=jm7PsSUndRz7smnk/IFSF/2K6vLRO7twBkp45laYla8cGNfwvsfW7SIw6gUfwszPNx doMK9n07N9RSr+UaknTM/K8QhgIX0qMRV601lcHkQ6WzNYr+T+mDiny3WFklmBnKv2NU nFZ4Psw9itHmtLKoPsrEu7MecX9ik+rTUJTEH7R/KtKyqlBom62/2XHjWsmhLpm5Gabp qq2OwNm1dWk5kYyyFHH3m0VA4twJ+wU9/IbVP9kCM8F80sICdC8nf7V8S55/VMVeo72e pf6WKLwC4AtTx2Him2/dGAs5RSHqXN+2guYjPNkj59jpDR7XJiRFHmlA5T8Im6x2/VG6 5qXg== X-Gm-Message-State: ANoB5pk3ESYdv0JJ0l98VUhIAS28YOKqQYGgUDF+fkpw/k9a8g5l66xt NUe2HQ9DHwosMAfHRp8MVkHwFWY4vPkTHglu3828JT6tvj1173rrlBT06QLGBVl0qJkz0DcgNjZ B/f2M8Og= X-Received: by 2002:a7b:cb98:0:b0:3cf:9a12:e645 with SMTP id m24-20020a7bcb98000000b003cf9a12e645mr32892764wmi.59.1669722745043; Tue, 29 Nov 2022 03:52:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5rEzicXCoOAEXScqU9yq2zpa6e3xY8D8EraEC7wROABiRfy7kQCdAAr2nyatAs8eBuyoROEQ== X-Received: by 2002:a7b:cb98:0:b0:3cf:9a12:e645 with SMTP id m24-20020a7bcb98000000b003cf9a12e645mr32892755wmi.59.1669722744878; Tue, 29 Nov 2022 03:52:24 -0800 (PST) Received: from [192.168.0.36] ([78.19.108.40]) by smtp.gmail.com with ESMTPSA id h19-20020a05600c351300b003d01b84e9b2sm1998533wmq.27.2022.11.29.03.52.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Nov 2022 03:52:24 -0800 (PST) Message-ID: <2393ed63-1d9a-7fa6-3ce5-bbe27a67d08d@redhat.com> Date: Tue, 29 Nov 2022 11:52:23 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH 21.11.3] net/iavf: add thread for event callbacks To: Yiding Zhou , stable@dpdk.org References: <20221124134146.855000-1-yidingx.zhou@intel.com> From: Kevin Traynor In-Reply-To: <20221124134146.855000-1-yidingx.zhou@intel.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 24/11/2022 13:41, Yiding Zhou wrote: > [upstream commit cb5c1b91f76f436724cd09f26c7432b2775b519c] > > All callbacks registered for ethdev events are called in eal-intr-thread, > and some of them execute virtchnl commands. Because interrupts are disabled > in the intr thread, there will be no response received for these commands. > So all callbacks should be called in a new context. > > When the device is bonded, the bond pmd registers callback for LSC event to > execute virtchnl commands to reinitialize the device, it would also raise > the above issue. > > This commit add a new thread to call all event callbacks. > > Fixes: 48de41ca11f0 ("net/avf: enable link status update") > Fixes: 84108425054a ("net/iavf: support asynchronous virtual channel message") > > Signed-off-by: Yiding Zhou > --- Thanks for backporting this. Applied to 21.11 branch.