Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.system > #617
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Rainer Weikusat <rweikusat@mobileactivedefense.com> |
| Newsgroups | comp.os.linux.development.system |
| Subject | Re: where is the source code for interrupt handler for linux kernel? |
| Date | Wed, 09 Apr 2014 14:56:08 +0100 |
| Lines | 19 |
| Message-ID | <877g6ysj2f.fsf@sable.mobileactivedefense.com> (permalink) |
| References | <8a2153e4-7c4d-4386-af67-8d4ddc3b9bdd@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | individual.net M7HoI63K+Dhq5yRWHbGDAgj/5c5WdaKOLqB9jup4onsn/ZXHU= |
| Cancel-Lock | sha1:HchiXXeR2Q64mupXDhfXNXJy7LU= sha1:RaaZSs2eAcltRLM9W4j9NsFM6XU= |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
| Xref | csiph.com comp.os.linux.development.system:617 |
Show key headers only | View raw
Hemanth Venkatappa <hemanthvenkatappa@gmail.com> writes: > A network device driver can notify the kernel about packet reception > using interrupts. This can be done after every received packets or > after receiving a specified number of packets. I am looking for source > code of interrupt service routine in the linux kernel. I want to > modify interrupt service routine as - I should calculate the timestamp > when the interrupt occurs. later Received packets by the network > driver are enqued by the kernel queue handler and I want to store the > timestamp in sk_buff data structure is used to store information about > the packets enqueued. > > So please someone help where is the location for the interrupt handler > code of linux kernel?? According to a moderately cursory look at the 3.2.54 sources, there is (as I expected) no such thing as a generic 'NIC interrupt handler'. You'll either need to invent and implement your own infrastructure for that or modify each interesting device driver separately.
Back to comp.os.linux.development.system | Previous | Next — Previous in thread | Find similar
where is the source code for interrupt handler for linux kernel? Hemanth Venkatappa <hemanthvenkatappa@gmail.com> - 2014-04-09 04:34 -0700 Re: where is the source code for interrupt handler for linux kernel? Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2014-04-09 14:56 +0100
csiph-web