[Devel] [PATCH RHEL7 COMMIT] config.OpenVZ: enable TAP accounting

Konstantin Khorenko khorenko at virtuozzo.com
Thu Oct 15 08:00:46 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.8.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.8.6
------>
commit 63d0e865e0fbcf122786ae211b1746e25e407657
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Thu Oct 15 18:59:03 2015 +0400

    config.OpenVZ: enable TAP accounting
    
    Add ve accounting to tun/tap devices. New ioctl should be called to
    attach/create ve stat to tun/tap.
    
    https://jira.sw.ru/browse/PSBM-27713
    
    Note: TUN accounting is not tested for now and disabled in this commit.
    only TAP accounting is allowed for now.
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 configs/kernel-3.10.0-x86_64-debug.config | 1 +
 configs/kernel-3.10.0-x86_64.config       | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/kernel-3.10.0-x86_64-debug.config b/configs/kernel-3.10.0-x86_64-debug.config
index 0f91ff9..6dcb566 100644
--- a/configs/kernel-3.10.0-x86_64-debug.config
+++ b/configs/kernel-3.10.0-x86_64-debug.config
@@ -5378,6 +5378,7 @@ CONFIG_VZ_LIST=m
 CONFIG_VZ_GENCALLS=y
 CONFIG_VE_NETDEV=m
 CONFIG_VE_NETDEV_ACCOUNTING=m
+CONFIG_VE_TUNTAP_ACCOUNTING=y
 CONFIG_VZ_DEV=m
 CONFIG_VE_IPTABLES=y
 CONFIG_VZ_WDOG=m
diff --git a/configs/kernel-3.10.0-x86_64.config b/configs/kernel-3.10.0-x86_64.config
index 3a5b8c0..7cfaaaf 100644
--- a/configs/kernel-3.10.0-x86_64.config
+++ b/configs/kernel-3.10.0-x86_64.config
@@ -5351,6 +5351,7 @@ CONFIG_VZ_LIST=m
 CONFIG_VZ_GENCALLS=y
 CONFIG_VE_NETDEV=m
 CONFIG_VE_NETDEV_ACCOUNTING=m
+CONFIG_VE_TUNTAP_ACCOUNTING=y
 CONFIG_VZ_DEV=m
 CONFIG_VE_IPTABLES=y
 CONFIG_VZ_WDOG=m



More information about the Devel mailing list