tap stop fails because of 'tap_lsc_intr_handle_set()' failure
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: [email protected]
Reporter: [email protected]Target Milestone: ---
Reproduced with testpmd with following command flow:
./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 -- -i
Quoted 3 lines
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
Quoted 40 lines · On Tue, Feb 1, 2022, 10:34 PM <[email protected]> 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: [email protected] Reporter: [email protected]Target Milestone: ---
Reproduced with testpmd with following command flow:
./build/app/dpdk-testpmd --vdev
net_tap0--vdevnet_tap1--vdevnet_tap2-- -iQuoted 3 lines
start
tx_first
stop
quitLog:
Stopping port 2...
Stopping ports...tap_lsc_intr_handle_set(): intr callback unregister failed: -2free(): 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 theintr_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 thenintr_vecwas installed. ?
Quoted 2 lines
You are receiving this mail because:
You are the assignee for the bug.
https://bugs.dpdk.org/show_bug.cgi?id=932
Stephen Hemminger ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |WORKSFORME--- Comment #2 from Stephen Hemminger ([email protected]) --- Can not reproduce with current code.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.