]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
vlan: uninline __vlan_hwaccel_rx
authorPatrick McHardy <kaber@trash.net>
Tue, 8 Jul 2008 10:23:36 +0000 (03:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2008 10:23:36 +0000 (03:23 -0700)
commit7750f403cbe56971336d575b354365190b4e3227
treebc8a65b0dd0d5cc3faac943f7e3df0c6dfedeaf6
parent75b8846acd11ad3fc736d4df3413fe946bbf367c
vlan: uninline __vlan_hwaccel_rx

The function is huge and included at least once in every VLAN acceleration
capable driver. Uninline it; to avoid having drivers depend on the VLAN
module, the function is always built in statically when VLAN is enabled.

With all VLAN acceleration capable drivers that build on x86_64 enabled,
this results in:

   text    data     bss     dec     hex filename
6515227  854044  343968 7713239  75b1d7 vmlinux.inlined
6505637  854044  343968 7703649  758c61 vmlinux.uninlined
----------------------------------------------------------
  -9590

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/8021q/Makefile
net/8021q/vlan.h
net/8021q/vlan_core.c [new file with mode: 0644]
net/Makefile