DPDK patches and discussions
 help / color / mirror / Atom feed
From: 安宏奎 <anhk_@126.com>
To: "'Stephen Hemminger'" <stephen@networkplumber.org>
Cc: dev@dpdk.org
Subject: [dpdk-dev] 答复:  kernel panic when stop my test demo
Date: Wed, 14 Aug 2013 14:41:14 +0800	[thread overview]
Message-ID: <006a01ce98b9$4631bec0$d2953c40$@126.com> (raw)
In-Reply-To: <20130813225821.3e23ad90@nehalam.linuxnetplumber.net>

I see, thanks.


-----邮件原件-----
发件人: Stephen Hemminger [mailto:stephen@networkplumber.org] 
发送时间: 2013年8月14日 13:58
收件人: 安宏奎
抄送: dev@dpdk.org
主题: Re: [dpdk-dev] kernel panic when stop my test demo

Does your application have a signal handler and stop the device on shutdown?
Since DPDK app's have raw access to the hardware it is critical to stop the
hardware on exit. Other wise the Ethernet device can overwrite random
memory.

Perhaps the igb_uio driver should also have a fail safe and write to the
status register to reset the device on close.

  reply	other threads:[~2013-08-14  6:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14  3:51 [dpdk-dev] " 安宏奎
2013-08-14  5:58 ` Stephen Hemminger
2013-08-14  6:41   ` 安宏奎 [this message]
2014-10-14 11:58   ` Lilijun
2014-10-15  9:42     ` Lilijun
2014-10-15 10:08       ` Richardson, Bruce
2014-10-16  2:40         ` Lilijun
2014-10-16  9:37           ` Richardson, Bruce

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='006a01ce98b9$4631bec0$d2953c40$@126.com' \
    --to=anhk_@126.com \
    --cc=dev@dpdk.org \
    --cc=stephen@networkplumber.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).