]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add layer 2 hardware acceleration operations for macvlan devices
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 6 Nov 2013 17:54:46 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2013 00:11:41 +0000 (19:11 -0500)
commit96f8e08a0ae7501357db8fd2e86d0f58af5a91a8
tree310baaaa6df9798431aeb75ab6df1f13feee81c2
parentd8603c82abf6a4895e993c1e1e5f8467e67dffe5
net: Add layer 2 hardware acceleration operations for macvlan devices

Add a operations structure that allows a network interface to export
the fact that it supports package forwarding in hardware between
physical interfaces and other mac layer devices assigned to it (such
as macvlans). This operaions structure can be used by virtual mac
devices to bypass software switching so that forwarding can be done
in hardware more efficiently.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
include/linux/if_macvlan.h
include/linux/netdev_features.h
include/linux/netdevice.h
include/uapi/linux/if.h
net/core/dev.c
net/core/ethtool.c
net/sched/sch_generic.c