Messages in this thread | | | Subject | Re: [RFC] Direct Sockets Support?? | Date | Tue, 8 May 2001 14:04:45 +0100 (BST) | From | Alan Cox <> |
| |
> A couple of concerns I have: > * How to pin or pagelock the application buffer without > making a kernel transition.
You need to pin them in advance. And pinning pages is _expensive_ so you dont want to keep pinning/unpinning pages
> * Assuming the memory can be locked down, how can a list > of physical memory ranges be obtained (necessary to support > scatter/gather DMA? Is kiobufs suitable with it's page-alignment > constraints? If kiobufs will work, how can the kernel transition be > avoided?
kiovecs will do that. It might be a little heavyweight but that should improve in 2.5 as we move to a slightly lighter model
> WinSock Direct seems to address these concerns. These issues > become important at 1Gb and 10Gb speeds.
1Gbit - not really, 10Gbit yes - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |