Michał Mirosław
f04ea74e8a
ixgb: finish conversion to ndo_fix_features
...
Finish conversion to unified ethtool ops: convert get_flags.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl >
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
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
Michał Mirosław
d7ccb8c2f2
ixgb: convert to ndo_fix_features
...
Private rx_csum flags are now duplicate of netdev->features & NETIF_F_RXCSUM.
Removing this needs deeper surgery.
Things noticed:
- ixgb has RX csum disabled by default
- HW VLAN acceleration probably can be toggled, but it's left as is
- the resets on RX csum offload change can probably be avoided
- there is A LOT of copy-and-pasted code here
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl >
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2011-09-16 18:26:37 -07:00
Ian Campbell
877749bf3f
intel: convert to SKB paged frag API.
...
Signed-off-by: Ian Campbell <ian.campbell@citrix.com >
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com >
Cc: Bruce Allan <bruce.w.allan@intel.com >
Cc: Carolyn Wyborny <carolyn.wyborny@intel.com >
Cc: Don Skidmore <donald.c.skidmore@intel.com >
Cc: Greg Rose <gregory.v.rose@intel.com >
Cc: PJ Waskiewicz <peter.p.waskiewicz.jr@intel.com >
Cc: Alex Duyck <alexander.h.duyck@intel.com >
Cc: John Ronciak <john.ronciak@intel.com >
Cc: e1000-devel@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-08-30 17:58:01 -04:00
Jiri Pirko
afc4b13df1
net: remove use of ndo_set_multicast_list in drivers
...
replace it by ndo_set_rx_mode
Signed-off-by: Jiri Pirko <jpirko@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2011-08-17 20:22:03 -07:00
Jeff Kirsher
dee1ad47f2
intel: Move the Intel wired LAN drivers
...
Moves the Intel wired LAN drivers into drivers/net/ethernet/intel/ and
the necessary Kconfig and Makefile changes.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com >
2011-08-10 20:03:27 -07:00