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
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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git