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 8E3DEA00C5; Wed, 2 Feb 2022 18:30:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D59241169; Wed, 2 Feb 2022 18:30:23 +0100 (CET) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mails.dpdk.org (Postfix) with ESMTP id F3FF5410FF; Wed, 2 Feb 2022 18:30:21 +0100 (CET) Received: by mail-il1-f180.google.com with SMTP id d3so17639958ilr.10; Wed, 02 Feb 2022 09:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9SpapgRi/1YGNOghvhwx5hv2kzI06snNW7noPPTrnPw=; b=KQcK2yLtu4GuFDrwtbpqc94igKboivuFPR9Qxwt4XbFQHstwFpKKrGYgH49RrMPdBR IPhhqCUznlIi3EaK7EcOtznIg6cAL80xTS7NsmrK91bThWajCt2EC3jyCipitRtU9pKr WHHALNHeJYgOAYEbRb53vhEKk7gjkjAW802aWQDiFiPQT3j193mwdQSo8871Dn5bZNNs Fp/p4lC3wD41mwnBgQyAlWfSnRUJaEcVjV44ZKOHVvAZHcu02ZX1huSQYI9Qxy9iHVdh SqN6WD0LB5CmpNHMDQu+xRUiPEeoPreS5nE9FdEkUpgkQoWUvTBWf5T1JTWSNPQkYtQO PrLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9SpapgRi/1YGNOghvhwx5hv2kzI06snNW7noPPTrnPw=; b=gYU6MMv4cMHf7rAUH7s2yd00LA6DRkmMRMphxogBrsF1SW5dqjqbedBEHDDC3m5mV2 XLr1wYR5wRQ+ImQQLWnSwZFFr+yhqSx2Cq7m9wUv6BYvMrPLrCh5xlCFUV41Yni1GXYw rn8rdWXzZhF71rWIyc/KyNUpTdLCgYlFt/oVDA+JdQhOpmUm6skBX20DrOBegCMFgWUC c5Y+B14Nb8O5vXElYaa5p1q0huvGTQ+b7Dph9xnQyo3zpW0UvfcMfOHgTGgAsIbhqYEZ 8AKsIfwThG0KpokYrErc91UA0zLc8ranu964gMohcstrpLfhdWKFej9kQ9aJEcJz3/bK ca0w== X-Gm-Message-State: AOAM531H9CZNqPM35oIgm/OkUSg7CKYa9qdyPkkwIxkhIdeCuPXjkqyx jNUMPviWICRhrAsFKrnyMWhzhU3RJD0XVShpv/iWW8vF3Dc= X-Google-Smtp-Source: ABdhPJwrDO8283/YWLIF6wmUejIbLy1STbjePtSARuY15ozVbyrdtSgxJRqba1EqfoHUx+1ADaz6DH7OtWD6jo9c4nk= X-Received: by 2002:a05:6e02:1e08:: with SMTP id g8mr18957928ila.278.1643823020977; Wed, 02 Feb 2022 09:30:20 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: kumaraparameshwaran rathinavel Date: Wed, 2 Feb 2022 23:00:08 +0530 Message-ID: Subject: Re: [Bug 932] tap stop fails because of 'tap_lsc_intr_handle_set()' failure To: bugzilla@dpdk.org Cc: dev@dpdk.org Content-Type: multipart/alternative; boundary="0000000000003d326405d70c5fbf" 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 --0000000000003d326405d70c5fbf Content-Type: text/plain; charset="UTF-8" On Tue, Feb 1, 2022, 10:34 PM wrote: > https://bugs.dpdk.org/show_bug.cgi?id=932 > > Bug ID: 932 > Summary: tap stop fails because of 'tap_lsc_intr_handle_set()' > failure > Product: DPDK > Version: 20.11 > Hardware: All > OS: All > Status: UNCONFIRMED > Severity: normal > Priority: Normal > Component: ethdev > Assignee: dev@dpdk.org > Reporter: ferruh.yigit@intel.com > Target Milestone: --- > > Reproduced with testpmd with following command flow: > > ./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 > -- -i > > > start tx_first > > stop > > quit > > Log: > Stopping port 2... > Stopping ports... > tap_lsc_intr_handle_set(): intr callback unregister failed: -2 > free(): invalid pointer > Aborted (core dumped) > > > Quick debug shows that in 'pmd->intr_handle->fd' is '0' may be reason of > the > error. > Ferruh, I think this because of the intr_vec, so there should be a way to > differentiate if vec was used or not ? Or should we just assume that if the > fd is 0 then intr_vec was installed. ? -- > You are receiving this mail because: > You are the assignee for the bug. --0000000000003d326405d70c5fbf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Feb 1, 2022, 10:34 PM <bugzilla@dpdk.org> wrote:
https://bugs.dpdk.org/show_bug= .cgi?id=3D932

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Bug ID: 932
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Summary: tap stop fails because of= 'tap_lsc_intr_handle_set()'
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 failu= re
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Product: DPDK
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version: 20.11
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Hardware: All
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 OS: All
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Status: UNCONFIRMED
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Severity: normal
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Priority: Normal
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Component: ethdev
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Assignee: dev@dpdk.org
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Reporter: ferruh.yigit@intel.com=
=C2=A0 Target Milestone: ---

Reproduced with testpmd with following command flow:

./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 --= -i

> start tx_first
> stop
> quit

Log:
Stopping port 2...
Stopping ports...
tap_lsc_intr_handle_set(): intr callback unregister failed: -2
free(): invalid pointer
Aborted (core dumped)


Quick debug shows that in 'pmd->intr_handle->fd' is '0= 9; may be reason of the
error.
Ferruh, I think this because of the intr_vec, so there should be a way to d= ifferentiate if vec was used or not ? Or should we just assume that if the = fd is 0 then intr_vec was installed. ?=C2=A0
--
You are receiving this mail because:
You are the assignee for the bug.
--0000000000003d326405d70c5fbf--