netdev: add more functions to netdevice ops
authorStephen Hemminger <shemminger@vyatta.com>
Fri, 21 Nov 2008 04:14:53 +0000 (20:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2008 04:14:53 +0000 (20:14 -0800)
commit008298231abbeb91bc7be9e8b078607b816d1a4a
tree8cb0c17720086ef97c614b96241f06aa63ce8511
parent6ab33d51713d6d60c7677c0d020910a8cb37e513
netdev: add more functions to netdevice ops

This patch moves neigh_setup and hard_start_xmit into the network device ops
structure. For bisection, fix all the previously converted drivers as well.
Bonding driver took the biggest hit on this.

Added a prefetch of the hard_start_xmit in the fast path to try and reduce
any impact this would have.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
36 files changed:
drivers/net/8139cp.c
drivers/net/8139too.c
drivers/net/acenic.c
drivers/net/atl1e/atl1e_main.c
drivers/net/atlx/atl1.c
drivers/net/atlx/atl2.c
drivers/net/bonding/bond_main.c
drivers/net/chelsio/cxgb2.c
drivers/net/cxgb3/cxgb3_main.c
drivers/net/e100.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/enic/enic_main.c
drivers/net/forcedeth.c
drivers/net/ifb.c
drivers/net/igb/igb_main.c
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/loopback.c
drivers/net/macvlan.c
drivers/net/niu.c
drivers/net/ppp_generic.c
drivers/net/r8169.c
drivers/net/skge.c
drivers/net/sky2.c
drivers/net/tg3.c
drivers/net/tun.c
drivers/net/veth.c
drivers/net/via-velocity.c
include/linux/netdevice.h
net/bridge/br_device.c
net/bridge/br_if.c
net/core/dev.c
net/core/neighbour.c
net/core/netpoll.c
net/core/pktgen.c