We've previousely used net_device->features bits for our own flags (NETIF_F_VIRTUAL and friends). Currenly there is not enough place for all our flags. So let's add our own flag variable on net_device.
https://jira.sw.ru/browse/PSBM-135200 Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com> Konstantin Khorenko (1): vzeth: bits and pieces of our interface Pavel Tikhomirov (2): config/venet: make VE_NETDEV depend on VE ve/net/features: put per-ve netdev features to separate struct member drivers/net/dummy.c | 4 +- drivers/net/loopback.c | 4 +- drivers/net/ppp/ppp_generic.c | 5 +- drivers/net/tun.c | 6 +- drivers/net/venetdev.c | 7 ++- drivers/net/veth.c | 84 +++++++++++++++++++++++++++- drivers/net/vxlan.c | 4 +- include/linux/netdev_features.h | 18 ++++-- include/linux/netdevice.h | 8 ++- include/uapi/linux/veth.h | 3 + kernel/Kconfig.openvz | 2 +- net/8021q/vlan_dev.c | 5 +- net/bridge/br_forward.c | 5 +- net/core/dev.c | 4 +- net/ipv4/fib_frontend.c | 5 +- net/ipv4/ip_forward.c | 4 +- net/ipv4/ip_gre.c | 4 +- net/ipv4/ipip.c | 4 +- net/ipv6/ip6_gre.c | 4 +- net/ipv6/ip6_output.c | 5 +- net/ipv6/ip6_tunnel.c | 5 +- net/ipv6/sit.c | 4 +- net/netfilter/nf_nat_redirect.c | 2 +- net/openvswitch/vport-internal_dev.c | 6 +- 24 files changed, 169 insertions(+), 33 deletions(-) -- 2.31.1 _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel