Re: mmap/munmap bug
From: Hayim Shaul (hayim_at_post.tau.ac.il)
Date: 03/22/05
- Previous message: Mikael Starvik: "RE: [PATCH][2.4.30-rc1] updated gcc-4.0 patches"
- In reply to: Arjan van de Ven: "Re: mmap/munmap bug"
- Next in thread: Arjan van de Ven: "Re: mmap/munmap bug"
- Reply: Arjan van de Ven: "Re: mmap/munmap bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 22 Mar 2005 10:23:48 +0200 (IST) To: Arjan van de Ven <arjan@infradead.org>
>> Does it support zero copy not only for send but also for receive? Can we
>> receive packets directly to userspace buffers?
>
> that it can't currently, but without some major protocol stack rework
> that's not going to be easy. If you want to help do that work,
> excellent! Be sure to contact the people on net-dev mailinglist since
> they are the ones having looked at this previously.
My case is simpler, as the application I attend it to is similar to a NAT.
A packet comes in, a little alternation of the headers and off it goes
again. So there's no TCP-stack or anything.
What I thought of doing, is map the skbuff to user-space. Have the
user-application alter the headers. Send the (same) skbuff from
kernel-space.
Does there exist anything equivalent?
-
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/
- Previous message: Mikael Starvik: "RE: [PATCH][2.4.30-rc1] updated gcc-4.0 patches"
- In reply to: Arjan van de Ven: "Re: mmap/munmap bug"
- Next in thread: Arjan van de Ven: "Re: mmap/munmap bug"
- Reply: Arjan van de Ven: "Re: mmap/munmap bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|