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=-5.5 required=3.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT 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 5E856C282CB for ; Tue, 5 Feb 2019 13:25:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 299FA2175B for ; Tue, 5 Feb 2019 13:25:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="Cujp+l6I" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729062AbfBENZK (ORCPT ); Tue, 5 Feb 2019 08:25:10 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:33676 "EHLO mail-wr1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfBENZK (ORCPT ); Tue, 5 Feb 2019 08:25:10 -0500 Received: by mail-wr1-f47.google.com with SMTP id a16so3644419wrv.0 for ; Tue, 05 Feb 2019 05:25:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Rl2bWuJdzKA7vjFU1fGcdamjfYSvz0bpx2lSdpEGmTI=; b=Cujp+l6IIAMiKprvO4+VY37Mv5aE5T0wZfSoQzXHmJ+8oQYxWwdyUWG4JOCB1kXAHj i96W3ppJxxJVOVx3GsSAE4S1sJb7hh9q8jYCBiUylmfpClw3fRa4q9Z+gA0ABeRoR2Vv ASeIPdSjmsE4vmlQdSAqXaF3aQFS2+EvYsl4IYVbX8h0Oxc4eqkUslCVCPZZ247wYDXc zU/oWrwUYq9lH2s0LnFgmMX+CTssM23/W/G9zX/U8InAgYoH+bH8XexVjCizGEPFPRim f1YRmOGEUflLYcUziq1x4/eSUOhRwdGqPoVhlLTjyLYMv5e8OT9o9SUlSLbKihLo9ESb dtmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Rl2bWuJdzKA7vjFU1fGcdamjfYSvz0bpx2lSdpEGmTI=; b=n6ZExco7iVoetXke8GQMYHo6pZTMceboyjfVPh2KerCXoYnUjVVcX6K+1cmowv9QDP Y1VPW7drPr5Gby0GGxmFRj9l3L6VcUn8s0eYGxsesgjKS0/MPZ+RTUJSVsgi990UNXjz Gb6aOALTf59fmow0PzeAUgk3TNWu14Z1MdK4FqZK+JhXYdAm7wvx/7QNPdyCT32Ujo8I 6NWpjZ017iZMPSEVt5h8mBJuASkg4VWxJhRJi8XcvXLSj10MqUyEHq9l8FbIDWAGXOWx C1oSUTmuUQCbnVlhYnUePbbGGaJ5xwPEvE5pj1L8zK5lvFAKajq0n15WQqkN/5gHBNMN L3HA== X-Gm-Message-State: AHQUAua/se9PtpRBSuq+pnMV3ySLKhEs+L37E8Yysq7Ajg9yyee78SAr q9LwGE73wZU2A6cn9Zx5iN4Bag== X-Google-Smtp-Source: AHgI3IaA3XbHdAN3jSiS9Hd82u4uqkK0RIi4mj7lwvFdw5gfLG6njE8Iz++YXU2X1JX8itS2mmClRA== X-Received: by 2002:a5d:4a8e:: with SMTP id o14mr3513540wrq.159.1549373108672; Tue, 05 Feb 2019 05:25:08 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id k3sm13846594wrm.7.2019.02.05.05.24.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Feb 2019 05:24:50 -0800 (PST) Date: Tue, 5 Feb 2019 14:15:31 +0100 From: Jiri Pirko To: Vlad Buslov Cc: netdev@vger.kernel.org, jhs@mojatatu.com, xiyou.wangcong@gmail.com, davem@davemloft.net, ast@kernel.org, daniel@iogearbox.net Subject: Re: [PATCH net-next v3 12/16] net: sched: extend proto ops with 'put' callback Message-ID: <20190205131531.GJ2133@nanopsycho> References: <20190204123301.4223-1-vladbu@mellanox.com> <20190204123301.4223-13-vladbu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190204123301.4223-13-vladbu@mellanox.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Mon, Feb 04, 2019 at 01:32:57PM CET, vladbu@mellanox.com wrote: >Add optional tp->ops->put() API to be implemented for filter reference >counting. This new function is called by cls API to release filter >reference for filters returned by tp->ops->change() or tp->ops->get() >functions. Implement tfilter_put() helper to call tp->ops->put() only for >classifiers that implement it. > >Signed-off-by: Vlad Buslov Acked-by: Jiri Pirko