net: dont update dev->trans_start
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 28 May 2009 00:00:41 +0000 (00:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2009 08:46:27 +0000 (01:46 -0700)
commitcdd0db058d64f2619b08e7d098ee0014aa0a5bc1
treea5e31f6687eff581309b095781c7e2f0bc676182
parent28679751a924c11f7135641f26e99249385de5b4
net: dont update dev->trans_start

Second round of drivers for Gb cards (and NIU one I forgot in the 10GB round)

Now that core network takes care of trans_start updates, dont do it
in drivers themselves, if possible. Drivers can avoid one cache miss
(on dev->trans_start) in their start_xmit() handler.

Exceptions are NETIF_F_LLTX drivers

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
drivers/net/acenic.c
drivers/net/atl1c/atl1c_main.c
drivers/net/atl1e/atl1e_main.c
drivers/net/atlx/atl1.c
drivers/net/bnx2.c
drivers/net/dl2k.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/hamachi.c
drivers/net/igb/igb_main.c
drivers/net/igbvf/netdev.c
drivers/net/jme.c
drivers/net/niu.c
drivers/net/ns83820.c
drivers/net/qla3xxx.c
drivers/net/r8169.c
drivers/net/sis190.c
drivers/net/skge.c
drivers/net/sky2.c
drivers/net/tg3.c
drivers/net/yellowfin.c