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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDD1BC4332F for ; Thu, 17 Nov 2022 11:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239477AbiKQLAH (ORCPT ); Thu, 17 Nov 2022 06:00:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234765AbiKQK7g (ORCPT ); Thu, 17 Nov 2022 05:59:36 -0500 Received: from mail.netfilter.org (mail.netfilter.org [217.70.188.207]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C99C660363 for ; Thu, 17 Nov 2022 02:57:04 -0800 (PST) Date: Thu, 17 Nov 2022 11:57:00 +0100 From: Pablo Neira Ayuso To: Xin Long Cc: network dev , dev@openvswitch.org, davem@davemloft.net, kuba@kernel.org, Eric Dumazet , Paolo Abeni , Pravin B Shelar , Jamal Hadi Salim , Cong Wang , Jiri Pirko , Florian Westphal , Marcelo Ricardo Leitner , Davide Caratti , Eelco Chaudron , Aaron Conole Subject: Re: [PATCH net-next 5/5] net: move the nat function to nf_nat_core for ovs and tc Message-ID: References: <488fbfa082eb8a0ab81622a7c13c26b6fd8a0602.1668527318.git.lucien.xin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Nov 16, 2022 at 07:51:40PM -0500, Xin Long wrote: > On Wed, Nov 16, 2022 at 4:54 PM Pablo Neira Ayuso wrote: > > On Tue, Nov 15, 2022 at 10:50:57AM -0500, Xin Long wrote: [...] > > I'd suggest you move this code to nf_nat_ovs.c or such so we remember > > these symbols are used by act_ct.c and ovs. > > Good idea, do you think we should also create nf_conntrack_ovs.c > to have nf_ct_helper() and nf_ct_add_helper()? > which were added by: > > https://lore.kernel.org/netdev/20221101150031.a6rtrgzwfd7kzknn@t14s.localdomain/T/ If it is used by ovs infra, I would suggest to move there too. Thanks.