From patchwork Thu Oct 11 07:06:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roi Dayan X-Patchwork-Id: 982327 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=mellanox.com Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42W3Py5r0Xz9s3l for ; Thu, 11 Oct 2018 19:03:50 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 94D72CE4; Thu, 11 Oct 2018 08:03:47 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 2285EC7F for ; Thu, 11 Oct 2018 08:03:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129]) by smtp1.linuxfoundation.org (Postfix) with ESMTP id 2FE903F7 for ; Thu, 11 Oct 2018 08:03:45 +0000 (UTC) Received: from Internal Mail-Server by MTLPINE1 (envelope-from roid@mellanox.com) with ESMTPS (AES256-SHA encrypted); 11 Oct 2018 09:12:10 +0200 Received: from dev-r-vrt-138.mtr.labs.mlnx (dev-r-vrt-138.mtr.labs.mlnx [10.212.138.1]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w9B77JOG008193; Thu, 11 Oct 2018 10:07:19 +0300 From: Roi Dayan To: Simon Horman Date: Thu, 11 Oct 2018 10:06:41 +0300 Message-Id: <1539241603-25218-1-git-send-email-roid@mellanox.com> X-Mailer: git-send-email 2.7.5 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: dev@openvswitch.org, Eli Britstein Subject: [ovs-dev] [PATCH 0/2] Add support to offload GRE tunnels X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Hi, The first patch is to add support to offload to GRE tunnels using tc. THe second patch is to offload the tunnel csum option correctly. Thanks, Roi Eli Britstein (2): netdev-vport: Make gre netdev type to use TC rules netdev-tc-offloads: TC csum option is not matched with tunnel configuration lib/dpif-netlink.c | 5 +++++ lib/netdev-tc-offloads.c | 5 +++++ lib/netdev-vport.c | 3 ++- lib/netdev.h | 1 + lib/tc.c | 10 ++++++++-- lib/tc.h | 1 + 6 files changed, 22 insertions(+), 3 deletions(-) Reviewed-by: Simon Horman