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
..
2011-09-12 20:00:00 -04:00
2011-08-18 23:58:11 -04:00
2011-08-26 12:38:42 -04:00
2011-09-08 16:47:52 -07:00
2011-09-22 03:23:13 -04:00
2011-09-21 10:22:11 +02:00
2011-09-17 17:16:03 -03:00
2011-08-02 12:43:50 +02:00
2011-08-25 16:25:33 -07:00
2011-08-08 16:33:54 +09:00
2011-07-28 18:26:32 -07:00
2011-09-14 18:09:38 -07:00
2011-08-03 19:06:37 -04:00
2011-07-28 01:30:07 -07:00
2011-09-05 17:08:26 +05:30
2011-08-18 14:07:15 -07:00
2011-08-04 06:32:51 -10:00
2011-09-16 22:22:10 +02:00
2011-08-08 13:53:49 -07:00
2011-09-14 18:09:38 -07:00
2011-09-18 19:44:36 +01:00
2011-09-16 14:09:19 -07:00
2011-09-14 03:55:05 -07:00
2011-09-07 00:13:40 +01:00
2011-08-04 01:30:34 -07:00
2011-09-22 03:23:13 -04:00
2011-09-16 14:09:19 -07:00
2011-09-13 23:44:53 +02:00
2011-07-28 05:58:19 -07:00
2011-09-14 18:09:38 -07:00
2011-07-22 14:39:51 +09:30
2011-09-10 17:21:28 +10:00
2011-09-22 03:23:13 -04:00
2011-07-30 08:36:02 -10:00
2011-09-06 16:37:59 +02:00
2011-09-14 18:09:38 -07:00
2011-09-21 13:20:21 -07:00
2011-08-19 19:02:27 +03:00
2011-09-23 13:55:25 -04:00
2011-08-24 14:41:44 -04:00
2011-08-04 11:26:24 +01:00
2011-07-26 16:49:47 -07:00
2011-07-25 23:09:27 -07:00
2011-09-13 16:08:31 -07:00
2011-07-31 06:23:08 -10:00
2011-08-05 15:21:52 -04:00
2011-07-25 21:00:19 -07:00
2011-08-19 21:01:46 +04:00
2011-08-25 16:25:34 -07:00
2011-08-01 14:05:46 -10:00
2011-09-14 18:09:38 -07:00
2011-09-22 03:23:13 -04:00
2011-07-26 16:49:47 -07:00
2011-09-22 03:23:13 -04:00
2011-08-08 16:33:54 +09:00
2011-08-02 14:54:11 +01:00
2011-08-24 14:41:41 -04:00
2011-09-22 03:23:13 -04:00
2011-09-16 23:47:07 +00:00
2011-08-02 14:51:57 -04:00
2011-09-14 18:09:38 -07:00
2011-07-25 23:06:24 -07:00
2011-09-19 17:15:47 -07:00
2011-07-26 16:49:47 -07:00
2011-09-10 14:00:02 -07:00
2011-07-22 09:24:39 -05:00
2011-07-23 16:20:30 +09:30
2011-08-25 16:25:33 -07:00
2011-09-22 03:23:13 -04:00
2011-09-15 04:32:02 -04:00
2011-07-25 22:59:39 -07:00
2011-07-25 22:59:39 -07:00