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 33433C07E9D for ; Tue, 27 Sep 2022 17:55:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233421AbiI0RzS (ORCPT ); Tue, 27 Sep 2022 13:55:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233205AbiI0RzF (ORCPT ); Tue, 27 Sep 2022 13:55:05 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 710E7B7E8 for ; Tue, 27 Sep 2022 10:55:02 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-3529c491327so12505557b3.13 for ; Tue, 27 Sep 2022 10:55:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=tWpS4cEqVjCvAbrEpDrZ5jq3lmCtX8OGRlYF/P9XNV8=; b=aI81aKFW+4dgqcToZisPeA4jtrgtLI5hDy+Cm0Mwnw3Ejr8SR4V2xB/zjlqPLSLI2Q czwtAffY37UauybiIJFHhsz/Toihy02bT6l/NDNpcOrPHizj7QfEjRvtYM5GIhXfuqX7 GCOZ+7yIYsMcp4/5JBvMq3XLkL6ChR0Q/HorJVS6N5ATSLg3tdHQyLFx0mEa7QvC5VoQ mQqawFfbMWUfJhyCjDqvj3AfkYWn72DQdJIGk0Pq3N8z5bGS3XbAEPubNAt4VLiwWiFC Fa4ckKxIoZLKNol9BC9Lo4/0gIu93WgzTQio99Bb6BY8IDW2G97+eEkk/w8o97vUwz1C gQbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=tWpS4cEqVjCvAbrEpDrZ5jq3lmCtX8OGRlYF/P9XNV8=; b=FMGkck3UnN6UTI+wsEBX9AJZUBoagpJ1TwABckxA+IIZ+dfZK3ooh4pBdjBOhBcyun KSfENg0LIN/m+cWyBPcrqMHakpxTH2b/aIHrfEfw7iuDuPaBR04id+8PrdeiRcWqqp94 I9HMyAooTo6H72j3thQHFtd/PlMu2S8c45zxPC+QHr6D0aWG7KNHURMtivmFzybs837w qpH7x1bl61PGkda418e5oU11vi8X9zbOmwIsZ2mj87dJusa8llSKMds2oZIeqd+XbKVQ W2P+9aWFuKXEf3DnRNji096l4o2VvQEWKcOqzc8jP5Dt/vP2xnuTSf0mzXzfs7RrRtK0 OItQ== X-Gm-Message-State: ACrzQf2za8wudEepzYmDODTFhhcOupEz/091gWm+YYtV4/ME8xmKAPS+ /Kqy9SWHN2cLPXK6Q0Del0gngpELw42h9oS4/TES9g== X-Google-Smtp-Source: AMsMyM52wMIxhgYM5ELWXtaWymd9neNz5hZdppDIvfylJWmhZCtnT2YZ8QouamPa8ksX5z3a0GGPERJkDnkuiW0UTkU= X-Received: by 2002:a81:98d:0:b0:352:b79c:4cc6 with SMTP id 135-20020a81098d000000b00352b79c4cc6mr1557441ywj.467.1664301301055; Tue, 27 Sep 2022 10:55:01 -0700 (PDT) MIME-Version: 1.0 References: <20220927132753.750069-1-kuba@kernel.org> In-Reply-To: <20220927132753.750069-1-kuba@kernel.org> From: Eric Dumazet Date: Tue, 27 Sep 2022 10:54:49 -0700 Message-ID: Subject: Re: [PATCH net-next] net: drop the weight argument from netif_napi_add To: Jakub Kicinski Cc: David Miller , netdev , Paolo Abeni , kvalo@kernel.org, Johannes Berg , linux-wireless , Marc Kleine-Budde , linux-can@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, Sep 27, 2022 at 6:28 AM Jakub Kicinski wrote: > > We tell driver developers to always pass NAPI_POLL_WEIGHT > as the weight to netif_napi_add(). This may be confusing > to newcomers, drop the weight argument, those who really > need to tweak the weight can use netif_napi_add_weight(). > > Signed-off-by: Jakub Kicinski Sure, but this kind of patch makes backports harder. Not sure how confused are newcomers about this NAPI_POLL_WEIGHT....