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,URIBL_BLOCKED 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 DB0AEC0650F for ; Fri, 9 Aug 2019 01:44:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BE4CE2173C for ; Fri, 9 Aug 2019 01:44:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405258AbfHIBo4 (ORCPT ); Thu, 8 Aug 2019 21:44:56 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:54380 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729419AbfHIBoz (ORCPT ); Thu, 8 Aug 2019 21:44:55 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (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 160E514384FE1; Thu, 8 Aug 2019 18:44:55 -0700 (PDT) Date: Thu, 08 Aug 2019 18:44:54 -0700 (PDT) Message-Id: <20190808.184454.1230954896965640540.davem@davemloft.net> To: wenxu@ucloud.cn Cc: jakub.kicinski@netronome.com, pablo@netfilter.org, netfilter-devel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v7 0/6] flow_offload: add indr-block in nf_table_offload From: David Miller In-Reply-To: <1565140434-8109-1-git-send-email-wenxu@ucloud.cn> References: <1565140434-8109-1-git-send-email-wenxu@ucloud.cn> 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]); Thu, 08 Aug 2019 18:44:55 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: wenxu@ucloud.cn Date: Wed, 7 Aug 2019 09:13:48 +0800 > This series patch make nftables offload support the vlan and > tunnel device offload through indr-block architecture. > > The first four patches mv tc indr block to flow offload and > rename to flow-indr-block. > Because the new flow-indr-block can't get the tcf_block > directly. The fifth patch provide a callback list to get > flow_block of each subsystem immediately when the device > register and contain a block. > The last patch make nf_tables_offload support flow-indr-block. > > This version add a mutex lock for add/del flow_indr_block_ing_cb Series applied, thank you.