<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 1, 2022, 10:34 PM <<a href="mailto:bugzilla@dpdk.org">bugzilla@dpdk.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://bugs.dpdk.org/show_bug.cgi?id=932" rel="noreferrer noreferrer" target="_blank">https://bugs.dpdk.org/show_bug.cgi?id=932</a><br>
<br>
Bug ID: 932<br>
Summary: tap stop fails because of 'tap_lsc_intr_handle_set()'<br>
failure<br>
Product: DPDK<br>
Version: 20.11<br>
Hardware: All<br>
OS: All<br>
Status: UNCONFIRMED<br>
Severity: normal<br>
Priority: Normal<br>
Component: ethdev<br>
Assignee: <a href="mailto:dev@dpdk.org" target="_blank" rel="noreferrer">dev@dpdk.org</a><br>
Reporter: <a href="mailto:ferruh.yigit@intel.com" target="_blank" rel="noreferrer">ferruh.yigit@intel.com</a><br>
Target Milestone: ---<br>
<br>
Reproduced with testpmd with following command flow:<br>
<br>
./build/app/dpdk-testpmd --vdev net_tap0 --vdev net_tap1 --vdev net_tap2 -- -i<br>
<br>
> start tx_first<br>
> stop<br>
> quit<br>
<br>
Log:<br>
Stopping port 2...<br>
Stopping ports...<br>
tap_lsc_intr_handle_set(): intr callback unregister failed: -2<br>
free(): invalid pointer<br>
Aborted (core dumped)<br>
<br>
<br>
Quick debug shows that in 'pmd->intr_handle->fd' is '0' may be reason of the<br>
error.<br>
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. ? </blockquote></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
You are receiving this mail because:<br>
You are the assignee for the bug.</blockquote></div></div></div>