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=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 E6D43C3F2C6 for ; Tue, 3 Mar 2020 23:10:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C294D20866 for ; Tue, 3 Mar 2020 23:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727857AbgCCXKT (ORCPT ); Tue, 3 Mar 2020 18:10:19 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37060 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727274AbgCCXKT (ORCPT ); Tue, 3 Mar 2020 18:10:19 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id B536D15A17746; Tue, 3 Mar 2020 15:10:18 -0800 (PST) Date: Tue, 03 Mar 2020 15:10:18 -0800 (PST) Message-Id: <20200303.151018.37007344507132802.davem@davemloft.net> To: paulb@mellanox.com Cc: saeedm@mellanox.com, ozsh@mellanox.com, jakub.kicinski@netronome.com, vladbu@mellanox.com, netdev@vger.kernel.org, jiri@mellanox.com, roid@mellanox.com Subject: Re: [PATCH net-next v4 0/3] act_ct: Software offload of conntrack_in From: David Miller In-Reply-To: <1583240871-27320-1-git-send-email-paulb@mellanox.com> References: <1583240871-27320-1-git-send-email-paulb@mellanox.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 03 Mar 2020 15:10:19 -0800 (PST) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Paul Blakey Date: Tue, 3 Mar 2020 15:07:48 +0200 > This series adds software offload of connections with an established > ct state using the NF flow table offload infrastructure, so > once such flows are offloaded, they will not pass through conntrack > again, and instead act_ct will restore the conntrack info metadata > on the skb to the state it had on the offload event - established. > > Act_ct maintains an FT instance per ct zone. Flow table entries > are created, per ct connection, when connections enter an established > state and deleted otherwise. Once an entry is created, the FT assumes > ownership of the entry, and manages it's aging. > > On the datapath, first lookup the skb in the zone's FT before going > into conntrack, and if a matching flow is found, restore the conntrack > info metadata on the skb, and skip calling conntrack. > > Note that this patchset is part of the connection tracking offload feature. > Hardware offload of connections with an established ct state series will follow > this one. > > Changelog: > v1->v2: > Removed now unused netfilter patches Series applied to net-next, thanks.