]> 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)
commitcafd328b485f5864c0bbbd78de5bc8293e40daeb
tree310baaaa6df9798431aeb75ab6df1f13feee81c2
parent08ab352a114424b5e85ec6d4b30983c0c604add3
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