From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jacky Hu Subject: [PATCH v8 0/2] Allow tunneling with gue encapsulation Date: Thu, 30 May 2019 16:00:55 +0800 Message-ID: <20190530080057.8218-1-hengqing.hu@gmail.com> Reply-To: "LinuxVirtualServer.org users mailing list." Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=UQ3actLmmuqUwQwFAEcEF4VMFgQyCFWm/OW+Ly/yVrE=; b=SOXVW86l6W2dkUD2y1GEnM8d/Pj/uOelwzuBmoA9vrAaPeYRl0W9FeyRZCaT/kyOKn IyZsr4/ZToztaGYpxM1TAgVi7Vr5A4LR3CA1w3u7+Dph+PufJ8nYAcCG/duJSIYqRqk5 c1VXJFZuqW1ccD3mjV6RmJi+IyBnVxsaDOvtFXv/64TKJt2j53XuSkhAmGTOQF9ZtE30 C7wtx23MrGqHfGxUNCWwNiQiIj1sJ+D42csxNwRwzGA7stmJZVXR9MwoTSSAZY/zGgJa pr3j2RM6UTQpt4c5jTyRQXA/tFwe+VnY8ENIMuUmt1itWsga+I0MmoZwLjvTOPSJUm4g zSXg== List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: lvs-users-bounces@linuxvirtualserver.org Errors-To: lvs-users-bounces+gcll-lvs-users=m.gmane.org@linuxvirtualserver.org To: hengqing.hu@gmail.com Cc: lvs-users@linuxvirtualserver.org, lvs-devel@vger.kernel.org, horms@verge.net.au, jacky.hu@walmart.com, brouer@redhat.com, jason.niesz@walmart.com This patchset allows tunneling with gue encapsulation. v8->v7: 1) fixed a few style issues from scripts/checkpatch.pl --strict 2) use up to 4 letters in the comments 3) updated document for new options v7->v6: 1) fix type of local variable in parse_tun_type 2) use up to 4 letters in the comments 3) document new options v6->v5: 1) split the patch into two: - ipvsadm: convert options to unsigned long long - ipvsadm: allow tunneling with gue encapsulation 2) do not mix static and dynamic allocation in fwd_tun_info 3) use correct nla_get/put function for tun_flags 4) fixed || style 5) use correct return value for parse_tun_type v5->v4: 1) add checksum support for gue encapsulation v4->v3: 1) removed changes to setsockopt interface 2) use correct nla_get/put function for tun_port v3->v2: 1) added missing break statements to a few switch cases v2->v1: 1) pass tun_type and tun_port as new optional parameters instead of a few bits in existing conn_flags parameters Jacky Hu (2): ipvsadm: convert options to unsigned long long ipvsadm: allow tunneling with gue encapsulation ipvsadm.8 | 70 ++++++++ ipvsadm.c | 426 +++++++++++++++++++++++++++++++++++++++------- libipvs/ip_vs.h | 28 +++ libipvs/libipvs.c | 15 ++ 4 files changed, 473 insertions(+), 66 deletions(-) -- 2.21.0