Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1178626rdf; Wed, 22 Nov 2023 07:34:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFJ09X8Q6K8wyb7Vk88jrX94yuXC6dJNJAOiXg4ipc/+4kDdqszW/PhXa2dFwhIWMCHn0xZ X-Received: by 2002:a92:d4d2:0:b0:359:4287:28fc with SMTP id o18-20020a92d4d2000000b00359428728fcmr2449421ilm.7.1700667270189; Wed, 22 Nov 2023 07:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700667270; cv=none; d=google.com; s=arc-20160816; b=yqjCd2UXUk+KVkXGdkFEUYo9pf0587/L+JCLlSMokvqt2GewVHr2/ILmIzM7ygcPv2 3xZOzoP9qNDPAZHe73pN+DHY46Rq9zoLf4c1QNRo1cI1mQyFus4iGJ9oG9tqm6xcWzPA Rh9aqwqVQUczdLfd/AkwGnyA46g/hHYOwfB6voIaNSqu5mluTw/j04oGOqPzQfoGcrEN qDzd9uTZF28hsa6rgPs9qAlrWeI5Z3Nciuly8+qqs52nN59Fwqmn/iAzWvL7lNdCFfJF 8EJ4+5LV/OJhhdW9ZY+3KZD1nMhS8nLaYNqLmfjLKkRGlAJLqgtbAR6XU8pFSvvbWIcS SU6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q4ei9NRU/G7jwU5acqapK3n4Kv1mApAAownSARqq2L0=; fh=v6ryHXi7Ud42BuU8uY8K8GLJJlx+87/uQB+BN/cYG0A=; b=faJfqmPAM7ZIa3so5FxsBPAPhM77crBiL8tAzJE/T8EaWVrUW22TAhezv6V6yzCds1 kWExR6J2s5U6BmsBlFUuRpn1HzXFTfnb49Zn7IwaWdIDUi7AWKrMAhTIytRt6GqFVL7h kfJ3U353a55P8YrRzbDnTiEx+fOW9yqa74SyjZ1DTK+K8i7CI+6wdmUsvD22Fnxe5KTN 36Dj/pIIQW2Mp66j3O4URREy/52/GQQh9CCrt2x70M3NamjgBCyLEoAkwtlAj/9Vn7OX aGv4mG/7EPWPjvEvmX+tO1Ef50RYM3mrgkKM2nC0AmuSqdRBkP+o4ctrRxUSgm9NqCYJ PLsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mojatatu-com.20230601.gappssmtp.com header.s=20230601 header.b=ZotGumm1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e32-20020a631e20000000b005b90af1943asi12793035pge.807.2023.11.22.07.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:34:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@mojatatu-com.20230601.gappssmtp.com header.s=20230601 header.b=ZotGumm1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A28188212A93; Wed, 22 Nov 2023 07:34:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344466AbjKVPeH (ORCPT + 99 others); Wed, 22 Nov 2023 10:34:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235220AbjKVPdp (ORCPT ); Wed, 22 Nov 2023 10:33:45 -0500 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56A5D10C7 for ; Wed, 22 Nov 2023 07:33:13 -0800 (PST) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-5cc3dd21b0cso10848097b3.3 for ; Wed, 22 Nov 2023 07:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mojatatu-com.20230601.gappssmtp.com; s=20230601; t=1700667192; x=1701271992; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q4ei9NRU/G7jwU5acqapK3n4Kv1mApAAownSARqq2L0=; b=ZotGumm18UkjuzQlhCKJy3Pu0MPvp/26g9R0vuU7+vIzkLf/zZIC/dVBFj8r4LcvQ3 4KcAlrI11IjyvgjUHVZYV2Q6BsxRkhpzG45d88mQqmk7WCUGLkXGGwAy8jo4UFDh9UCZ B9V2M4UcNPMpSYeZ3U79QjlYVG1mTdhrIMFyBpcnGwVkABFeCF6wiGtpG4iA+mUeLnw+ PAe8Q7QaA7hl8meuB085PBVal2zn4uaoiRQZ7nY23xgN+SC352eIE01y7Qni55kabB+y TfxaCr66ufKsreFEYtxfffAOS0RYr07Huo8yR1eO5xVk3w1Go7zcwGIvArv1ugCWqm1s 11Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700667192; x=1701271992; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q4ei9NRU/G7jwU5acqapK3n4Kv1mApAAownSARqq2L0=; b=ssJH1EbvL8YGWHIIsNfz7xqLALFtKn6ycEr3RFGSsTx45P/BthwiggNjcjAjl969of g+3h84ojB0fqjDicjbDGWj/dGI6+sTSOQnwDLKCXuQRQ3ccIU5WrM+NGsaQ83Z+uV/1n Bosamz9ubQZd2ruvjhhKb0TqHv6nBUX7RXCzoL69Nhw2N1MWyg1mlHU0ZcEzFYUmnwPJ HWO6hOEPQY1POpRU/ye4lZCw/iT2EqfCGqxBFelOlgq7ss338C03UTlgGsesmLhI3iyg UkT5aqqSLdibHWZCnLkWH2LDwK1tJz/+yDza7lK42HdLRzFeSev4SFwdYk+B4jCMM5PJ dcDg== X-Gm-Message-State: AOJu0Yzz3HleZm7cGE0DhGCY4u+VyizWUinQ1+T7+YAvaUeoxyO9mI/h YF5Z0vQc/9VqLBfdJ/usaEJpIS45ni+O9dpLFn/RKUWJ6k5iAKyb X-Received: by 2002:a0d:efc2:0:b0:5cb:e3a9:5e77 with SMTP id y185-20020a0defc2000000b005cbe3a95e77mr2755985ywe.6.1700667192512; Wed, 22 Nov 2023 07:33:12 -0800 (PST) MIME-Version: 1.0 References: <20231121175640.9981-1-mkoutny@suse.com> In-Reply-To: From: Jamal Hadi Salim Date: Wed, 22 Nov 2023 10:33:01 -0500 Message-ID: Subject: Re: [PATCH] net/sched: cls: Load net classifier modules via alias To: =?UTF-8?Q?Michal_Koutn=C3=BD?= Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, Cong Wang , Jiri Pirko , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Petr Pavlu , Michal Kubecek , Martin Wilck Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:34:14 -0800 (PST) On Wed, Nov 22, 2023 at 5:41=E2=80=AFAM Michal Koutn=C3=BD wrote: > > On Tue, Nov 21, 2023 at 05:37:37PM -0500, Jamal Hadi Salim wrote: > > What's speacial about the "tcf- '' that makes it work > > better for filtering than existing "cls_" prefix? > > tcf-foo is an alias. > cls_foo is the canonical name of the kernel module. > > request_module() + blacklist (as described in modprobe.d(5)) works only > when calling with the alias. The actual string is not important, being > an alias is the crux. > Thanks for the explanation. > > What about actions (prefix "act_") etc? > > I focused only on "cls_" for the first iteration. Do you want me to look > at other analogous loads? Yes, look at act_ and sch_ cheers, jamal > Thanks, > Michal