Toshiaki Makita
2015-Jul-31 06:03 UTC
[Bridge] [PATCH net-next 0/4] Stacked vlan TSO for virtual devices
Basically virtual devices do not need to segment double tagged packets. This patch set adds TSO feature for double tagged packets to several virtual devices, which can be realized by simply setting .ndo_features_check to passthru_features_check. Toshiaki Makita (4): macvlan: Don't segment multiple tagged packets on macvlan device veth: Don't segment multiple tagged packets on veth device bridge: Don't segment multiple tagged packets on bridge device tuntap: Don't segment multiple tagged packets on tap device drivers/net/macvlan.c | 1 + drivers/net/tun.c | 1 + drivers/net/veth.c | 1 + net/bridge/br_device.c | 1 + 4 files changed, 4 insertions(+) -- 1.8.1.2
Toshiaki Makita
2015-Jul-31 06:03 UTC
[Bridge] [PATCH net-next 3/4] bridge: Don't segment multiple tagged packets on bridge device
Bridge devices don't need to segment multiple tagged packets since thier ports can segment them. Signed-off-by: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp> --- net/bridge/br_device.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 4ff77a1..0aa8f5c 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -339,6 +339,7 @@ static const struct net_device_ops br_netdev_ops = { .ndo_bridge_getlink = br_getlink, .ndo_bridge_setlink = br_setlink, .ndo_bridge_dellink = br_dellink, + .ndo_features_check = passthru_features_check, }; static void br_dev_free(struct net_device *dev) -- 1.8.1.2
David Miller
2015-Aug-03 21:25 UTC
[Bridge] [PATCH net-next 0/4] Stacked vlan TSO for virtual devices
From: Toshiaki Makita <makita.toshiaki at lab.ntt.co.jp> Date: Fri, 31 Jul 2015 15:03:23 +0900> Basically virtual devices do not need to segment double tagged packets. > This patch set adds TSO feature for double tagged packets to several > virtual devices, which can be realized by simply setting > .ndo_features_check to passthru_features_check.Series applied, thank you.