linux/drivers/net
Jesse Brandeburg ac5ac789eb ixgb: eliminate checkstack warnings
Really trivial fix, use kmalloc/kfree instead of stack space.
use static const instead of const to further reduce stack usage.

V2: reflect changes suggested by Joe Perches

before:
[jbrandeb@jbrandeb-mobl2 linux-2.6]$ make checkstack|grep '\[ixgb\]'
0x00000fc1 ixgb_set_multi [ixgb]:                       768
0x00001031 ixgb_set_multi [ixgb]:                       768
0x000010f2 ixgb_set_multi [ixgb]:                       768
0x061c ixgb_check_options [ixgb]:                       448
0x09c3 ixgb_check_options [ixgb]:                       448
0x0000649e ixgb_set_ringparam [ixgb]:                   192
0x0000130d ixgb_xmit_frame [ixgb]:                      184
0x000019e0 ixgb_xmit_frame [ixgb]:                      184
0x00002267 ixgb_clean [ixgb]:                           152
0x00002673 ixgb_clean [ixgb]:                           152

after:
0x000064ee ixgb_set_ringparam [ixgb]:                   192
0x0000135d ixgb_xmit_frame [ixgb]:                      184
0x00001a30 ixgb_xmit_frame [ixgb]:                      184
0x000022b7 ixgb_clean [ixgb]:                           152
0x000026c3 ixgb_clean [ixgb]:                           152

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-23 13:55:25 -04:00
..
appletalk
arcnet drivers/net: Kconfig & Makefile cleanup 2011-08-27 00:58:49 -07:00
bonding net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
caif caif: Remove OOM messages, use kzalloc 2011-08-28 17:16:13 -04:00
can Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
cris
ethernet ixgb: eliminate checkstack warnings 2011-09-23 13:55:25 -04:00
fddi skfp: Fix SysKonnect FDDI driver compile issues 2011-08-27 00:58:23 -07:00
hamradio
hippi hippi: Move the HIPPI driver 2011-08-27 00:58:30 -07:00
irda net/irda: sh_irda: add PM support 2011-09-15 17:19:28 -04:00
phy Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
plip plip: Move the PLIP driver 2011-08-27 00:58:33 -07:00
ppp Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
slip slip: Move the SLIP drivers 2011-08-27 00:58:36 -07:00
tokenring drivers/net: Kconfig & Makefile cleanup 2011-08-27 00:58:49 -07:00
usb Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
vmxnet3 vmxnet3: convert to SKB paged frag API. 2011-09-22 16:04:19 -04:00
wan wan: make LAPB callbacks const 2011-09-16 19:20:20 -04:00
wimax
wireless Merge branch 'master' of github.com:davem330/net 2011-09-22 03:23:13 -04:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
LICENSE.SRC
loopback.c
macvlan.c net: consolidate and fix ethtool_ops->get_settings calling 2011-09-15 17:32:26 -04:00
macvtap.c macvtap: fix the uninitialized var using in macvtap_alloc_skb() 2011-09-20 14:37:22 -04:00
Makefile net: Fix duplicate CONFIG_SLIP entry in driver/net/Makefile 2011-08-29 22:55:53 -04:00
mdio.c
mii.c
netconsole.c netconsole: switch init_netconsole() to late_initcall 2011-09-20 15:45:07 -04:00
rionet.c rapidio: fix use of non-compatible registers 2011-08-25 16:25:34 -07:00
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtionet: convert to SKB paged frag API. 2011-09-22 16:04:18 -04:00
xen-netfront.c