From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82484C43381 for ; Wed, 27 Mar 2019 18:34:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5072420651 for ; Wed, 27 Mar 2019 18:34:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404055AbfC0Sey (ORCPT ); Wed, 27 Mar 2019 14:34:54 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:37059 "EHLO relay5-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404025AbfC0SYk (ORCPT ); Wed, 27 Mar 2019 14:24:40 -0400 X-Originating-IP: 209.85.222.47 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (Authenticated sender: pshelar@ovn.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 602D21C0008 for ; Wed, 27 Mar 2019 18:24:37 +0000 (UTC) Received: by mail-ua1-f47.google.com with SMTP id b8so5955626uaq.7 for ; Wed, 27 Mar 2019 11:24:37 -0700 (PDT) X-Gm-Message-State: APjAAAVHZGA6A/ZnSkKQehOTKLtGm5gjXk/UnHOYYinIz+Lk6MklUwXC Lb0BMX5T91rb/Kjr+df8AtTdLxdy9G90orWojyM= X-Google-Smtp-Source: APXvYqwdjMoWLd4H0LqLWeGQfkWtiuB9C3hPpgNyHlK+RHkFKNCLvBM7PxvPXSPROvmn59+FVoCmDE6JmQe6r8A2Dys= X-Received: by 2002:ab0:3b8:: with SMTP id 53mr22277804uau.118.1553711076558; Wed, 27 Mar 2019 11:24:36 -0700 (PDT) MIME-Version: 1.0 References: <1553625074-20756-1-git-send-email-yihung.wei@gmail.com> <1553625074-20756-2-git-send-email-yihung.wei@gmail.com> In-Reply-To: <1553625074-20756-2-git-send-email-yihung.wei@gmail.com> From: Pravin Shelar Date: Wed, 27 Mar 2019 11:24:25 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next v4 2/2] openvswitch: Add timeout support to ct action To: Yi-Hung Wei Cc: Linux Kernel Network Developers , Pablo Neira Ayuso Content-Type: text/plain; charset="UTF-8" Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Mar 26, 2019 at 11:39 AM Yi-Hung Wei wrote: > > Add support for fine-grain timeout support to conntrack action. > The new OVS_CT_ATTR_TIMEOUT attribute of the conntrack action > specifies a timeout to be associated with this connection. > If no timeout is specified, it acts as is, that is the default > timeout for the connection will be automatically applied. > > Example usage: > $ nfct timeout add timeout_1 inet tcp syn_sent 100 established 200 > $ ovs-ofctl add-flow br0 in_port=1,ip,tcp,action=ct(commit,timeout=timeout_1) > > CC: Pravin Shelar > CC: Pablo Neira Ayuso > Signed-off-by: Yi-Hung Wei > --- > v1-> v2: Utilize nf_ct_set_timeout(). > v2-> v4: No change in this patch, the build issue is resolved by patch 1. > --- Acked-by: Pravin B Shelar Thanks, Pravin.