[pve-devel] [PATCH] openvswitch hybrid network model implementation

Dietmar Maurer dietmar at proxmox.com
Wed Apr 23 11:05:15 CEST 2014


> maybe this commit:
> 
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b69bb
> ddfa136dc53ac319d58bc38b41f8aefffea

Seem that patch is already included in latest 3.10.0 source:

static void veth_setup(struct net_device *dev)
{
	ether_setup(dev);

	dev->priv_flags &= ~IFF_TX_SKB_SHARING;
	dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;

	dev->netdev_ops = &veth_netdev_ops;
	dev->ethtool_ops = &veth_ethtool_ops;
	dev->features |= NETIF_F_LLTX;
	dev->features |= VETH_FEATURES;
	dev->vlan_features = dev->features &
			     ~(NETIF_F_HW_VLAN_CTAG_TX | NETIF_F_HW_VLAN_STAG_TX);
	dev->destructor = veth_dev_free;

	dev->hw_features = VETH_FEATURES;
}



More information about the pve-devel mailing list