DPDK usage discussions
 help / color / mirror / Atom feed
From: "Bin Zhou (bzhou2)" <bzhou2@cisco.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: dpdk crashes when enable vmxnet3 interrupt on system not supporting interrupt
Date: Thu, 11 Aug 2022 13:49:22 +0000	[thread overview]
Message-ID: <DM6PR11MB31800DF7473BDA918E4B3FFD98649@DM6PR11MB3180.namprd11.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1083 bytes --]

Hi,
We have an OVA which may run on systems support or not support interrupt in guest VM.
When enable vmxnets interrupt in guest VM that does not support interrupt, dpdk crashes:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f8aac398859 in __GI_abort () at abort.c:79
#2  0x0000000000406955 in os_exit (code=<optimized out>) at /opt/project/vpp/vpp-repo/src/vpp/vnet/main.c:440
#3  0x00007f8aac84c727 in unix_signal_handler (signum=<optimized out>, si=<optimized out>, uc=<optimized out>) at /opt/project/vpp/vpp-repo/src/vlib/unix/main.c:185
#4  <signal handler called>
#5  0x00007f8a6aef7d06 in vmxnet3_enable_intr.isra () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so
#6  0x00007f8a6b7ff663 in vmxnet3_dev_rx_queue_intr_enable () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so
#7  0x00007f8a6b20de60 in rte_eth_dev_rx_intr_enable () from /usr/lib/x86_64-linux-gnu/vpp_plugins/dpdk_plugin.so

Is there a way to make dpdk fall back to disable interrupt (rather than crash) in this case?

Thanks,
Bin


[-- Attachment #2: Type: text/html, Size: 4731 bytes --]

                 reply	other threads:[~2022-08-16 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR11MB31800DF7473BDA918E4B3FFD98649@DM6PR11MB3180.namprd11.prod.outlook.com \
    --to=bzhou2@cisco.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).