Thread (123 messages) flat view 123 messages, 21 authors, 2014-06-23

Re: [PATCH 21/24] net, diet: Make packet tpacket/mmap/fanout/rings optional

From: David Miller <davem@davemloft.net>
Date: 2014-05-06 03:09:28
Also in: lkml

From: Andi Kleen <redacted>
Date: Mon,  5 May 2014 15:26:10 -0700
From: Andi Kleen <redacted>

Many DHCP clients need basic packet sockets, but they don't need
the fancy zero copy packet capture code, like tpacket, mmap, rings,
fanouts. This is quite substantial code, so it's worthwhile to
make it optional

Worth nearly 10k code.

   text	   data	    bss	    dec	    hex	filename
 952827	  71874	  25352	1050053	 1005c5	net/built-in.o-with-packet-mmap
 943211	  71810	  25352	1040373	  fdff5	net/built-in.o-wo-packet-mmap

Signed-off-by: Andi Kleen <redacted>
Sorry, I'm not applying this either.

Small systems use packet generation and reception tools commonly, and
the only sane way to do so is with tpacket.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help