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,URIBL_BLOCKED,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 7D667C282CB for ; Tue, 5 Feb 2019 13:38:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 47D3320844 for ; Tue, 5 Feb 2019 13:38:48 +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="Fo1OP5K/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729578AbfBENir (ORCPT ); Tue, 5 Feb 2019 08:38:47 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55211 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbfBENiq (ORCPT ); Tue, 5 Feb 2019 08:38:46 -0500 Received: by mail-wm1-f66.google.com with SMTP id a62so3655971wmh.4 for ; Tue, 05 Feb 2019 05:38:45 -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=7XVtnxrOI6aqcdlqfszFfSb434Al07rkW0nu8c1XuPw=; b=Fo1OP5K/3g2Cgwt41sTk6uUjH8AUuISth+/w0ezGSzMhiCK+EQbqcKtndL31UKURjn LMQQO5ZxS0CPJ6tkmg33aHtKNhyzITF8RXWMpnRvnBie2pmkcQfFJlDBU94+0Xh5wzge 5lWxgPmYL6MfNGD5LLw6hMgE6qkhV04qGbbU2PTax1pNvGsLWhRYc5J5zch2Q5WeDgG9 hg3ENMoIAyYLaVYT8KQpXGEpQmRlAG2rUxEK0q450o9CYpHk65U0tnrKo9P43SFKi+DR WYmB+mzTIrBGiKc0rVwNI4mn60ZP5a3FVED9HK7ZubttUsDU5u/AAxfjtD0g88bBIUKr Vz6w== 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=7XVtnxrOI6aqcdlqfszFfSb434Al07rkW0nu8c1XuPw=; b=l7CXJD9zD5GCvTQm/parHkQeTPOG6dwT2TUuK+6VUAYMYWy0Wmr35QA66l8Qd2ayV+ Z/Gyl9azdNJdUZGlQPMglhDg0ma0R3BuRx6LaNubIo0Pk3quovvOJgIAYAz4Vo9o/v+9 d3sTf/AhFBmzmpjtMKeVPfbzCUdQdOUHIRp5IcFr3WFH/WRD6Lc2GnbTUJdnHlUQox40 QBhwr7+YxrWrqvmb3+mGDTajsY9PV3c+X9AvdtmV1GIfvrNgpz1o3HKtx1cnsNLbv42s 9XNlizlqakIp1/pZdaEqTZ/UhDPiRJfvfxp8EUpPvTTYv8AUJ9TsrskFAqjtZtpvtrXs IfDQ== X-Gm-Message-State: AHQUAuYiK4rTvL0shQsvrBhmP22D6iQzVl90ilvA0cZ89HSAYwMJujzj N3kacjwCTDL/uBNsvtZ5zs/icw== X-Google-Smtp-Source: AHgI3IZpq1yxXCrdknUv5cC59F3jpQjw217PZ+LVrtLJMo0hFbiQwwWNLET9gZ61ADIIP5eYPs/zZA== X-Received: by 2002:a1c:d00d:: with SMTP id h13mr3768920wmg.13.1549373925172; Tue, 05 Feb 2019 05:38:45 -0800 (PST) Received: from localhost (mail.chocen-mesto.cz. [85.163.43.2]) by smtp.gmail.com with ESMTPSA id b129sm12025084wmd.24.2019.02.05.05.38.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Feb 2019 05:38:44 -0800 (PST) Date: Tue, 5 Feb 2019 14:29:35 +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 13/16] net: sched: extend proto ops to support unlocked classifiers Message-ID: <20190205132935.GK2133@nanopsycho> References: <20190204123301.4223-1-vladbu@mellanox.com> <20190204123301.4223-14-vladbu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190204123301.4223-14-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:58PM CET, vladbu@mellanox.com wrote: >Add 'rtnl_held' flag to tcf proto change, delete, destroy, dump, walk >functions to track rtnl lock status. Extend users of these function in cls >API to propagate rtnl lock status to them. This allows classifiers to >obtain rtnl lock when necessary and to pass rtnl lock status to extensions >and driver offload callbacks. > >Add flags field to tcf proto ops. Add flag value to indicate that >classifier doesn't require rtnl lock. > >Signed-off-by: Vlad Buslov Acked-by: Jiri Pirko