Thread (11 messages) 11 messages, 5 authors, 2003-11-19

Re: af_packet & CHECKSUM_HW

flat view

From: Petr Vandrovec <hidden>
Date: 2003-11-19 15:11:49

On Wed, Nov 19, 2003 at 10:01:45AM -0500, jamal wrote:
I think this sort of stuff will greatly benefit from the tc extensions
that i have been working on. 
instead of hacking on ptype you can instead write little modules that
do speacilized work (like computing checksums) or dropping packets
or setting these flags that can be later used for doing extra work.
The code executes before the ptype level execution and using the u32
classifier you can grop any part of the packet. I can send you a patch
if you want to give it a shot.
I'll gladly look at it. From your short description it looks like that
it could solve also our second longstanding problem: we cannot block 
host->guest packets from hitting wire, and if guest communicates only 
with host (this traffic does not hit wire as it is injected as if 
received from network card) then switches on the network do not know 
where guest lives, and these packets then flood whole network.
					Thanks,
						Petr Vandrovec
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help