path: root/patches
diff options
authorLuis R. Rodriguez <>2013-05-11 11:54:27 -0700
committerJohannes Berg <>2013-05-14 22:55:47 +0200
commit4b877f42b02a0e5ba01e5329362839d37d6e4df2 (patch)
treee1f62b56f1766e2cffcb2984aa59121618e36cb2 /patches
parent34301e18de5749090b9eab37545f604f24986e21 (diff)
backports: backport vlan ethernet changes
This backports 9356b8fc d314774c and f646968f8f all added in next-20130423. Soome driver changes are still required and will be addressed separately. commit 9356b8fc07dc126cd91d2b12f314d760ab48996e Author: Eric Dumazet <> Date: Tue Sep 27 15:23:16 2005 -0700 [NET]: Reorder some hot fields of struct net_device Place them on separate cache lines in SMP to lower memory bouncing between multiple CPU accessing the device. - One part is mostly used on receive path (including eth_type_trans()) (poll_list, poll, quota, weight, last_rx, dev_addr, broadcast) - One part is mostly used on queue transmit path (qdisc) (queue_lock, qdisc, qdisc_sleeping, qdisc_list, tx_queue_len) - One part is mostly used on xmit path (device) (xmit_lock, xmit_lock_owner, priv, hard_start_xmit, trans_start) 'features' is placed outside of these hot points, in a location that may be shared by all cpus (because mostly read) name_hlist is moved close to name[IFNAMSIZ] to speedup __dev_get_by_name() Signed-off-by: Eric Dumazet <> Signed-off-by: David S. Miller <> commit d314774cf2cd5dfeb39a00d37deee65d4c627927 Author: Stephen Hemminger <> Date: Wed Nov 19 21:32:24 2008 -0800 netdev: network device operations infrastructure This patch changes the network device internal API to move adminstrative operations out of the network device structure and into a separate structure. This patch involves some hackery to maintain compatablity between the new and old model, so all 300+ drivers don't have to be changed at once. For drivers that aren't converted yet, the netdevice_ops virt function list still resides in the net_device structure. For old protocols, the new net_device_ops are copied out to the old net_device pointers. After the transistion is completed the nag message can be changed to an WARN_ON, and the compatiablity code can be made configurable. Some function pointers aren't moved: * destructor can't be in net_device_ops because it may need to be referenced after the module is unloaded. * neighbor setup is manipulated in a couple of places that need special consideration * hard_start_xmit is in the fast path for transmit. Signed-off-by: Stephen Hemminger <> Signed-off-by: David S. Miller <> commit f646968f8f7c624587de729115d802372b9063dd Author: Patrick McHardy <> Date: Fri Apr 19 02:04:27 2013 +0000 net: vlan: rename NETIF_F_HW_VLAN_* feature flags to NETIF_F_HW_VLAN_CTAG_* Rename the hardware VLAN acceleration features to include "CTAG" to indicate that they only support CTAGs. Follow up patches will introduce 802.1ad server provider tagging (STAGs) and require the distinction for hardware not supporting acclerating both. Signed-off-by: Patrick McHardy <> Signed-off-by: David S. Miller <> Signed-off-by: Luis R. Rodriguez <> Signed-off-by: Johannes Berg <>
Diffstat (limited to 'patches')
0 files changed, 0 insertions, 0 deletions