Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
RPS and RFS
Posted Aug 2, 2010 5:40 UTC (Mon) by jwb (guest, #15467)
Posted Aug 2, 2010 11:37 UTC (Mon) by nix (subscriber, #2304)
Posted Aug 2, 2010 13:21 UTC (Mon) by pabs (subscriber, #43278)
Posted Aug 2, 2010 13:56 UTC (Mon) by cesarb (subscriber, #6266)
Posted Aug 22, 2010 9:25 UTC (Sun) by pabs (subscriber, #43278)
Posted Aug 2, 2010 15:31 UTC (Mon) by nix (subscriber, #2304)
Posted Aug 3, 2010 7:29 UTC (Tue) by jd (guest, #26381)
This brings up the issue raised by another poster of states. The amount of state you'd need to support must exceed that of the CPU and motherboard. Can you do this?
Yes, on two conditions: the card MUST have its own PCI Express controller, AND it must be capable of DMA operations. If it can access main memory in exactly the same way as the CPU, =plus its own=, then provided the regular kernel's VMM could take care of the ethernet adapter's memory needs as well as the OS', then the ethernet card can handle just as much state information as the OS could have at exactly the same speed.
Instead of trying to reverse-engineer a card, initially, I would suggest a proof-of-concept by building an ethernet card with either the Linux or NetBSD TCP/IP stack AND full DMA access to memory.
(Really, the full DMA access should really be there or you'd never be able to pass the packets from the card to the buffer of the client software through kernel bypass. However, that's an aside.)
If such a card was developed, even as a crude garage prototype, you could learn a lot about what such devices actually need in order to work well and thereby anticipate what the kernel will need at some future point when hardware does shift in nature.
Posted Aug 4, 2010 13:32 UTC (Wed) by marcH (subscriber, #57642)
Caveat: it is not cheap.
Posted Nov 24, 2010 5:13 UTC (Wed) by pabs (subscriber, #43278)
Posted Nov 24, 2010 5:28 UTC (Wed) by dlang (✭ supporter ✭, #313)
Posted Nov 24, 2010 6:32 UTC (Wed) by foom (subscriber, #14868)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds