Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1744866rdb; Mon, 2 Oct 2023 22:22:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGrkHOTEufkn/1tXlqstJA7nlCe1cHdiHmnzJWQk1acGw/08sdnk15bBlAt/d9q3wLuUOp X-Received: by 2002:a05:6a21:81a0:b0:15d:ae4a:9a72 with SMTP id pd32-20020a056a2181a000b0015dae4a9a72mr11309618pzb.61.1696310531453; Mon, 02 Oct 2023 22:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696310531; cv=none; d=google.com; s=arc-20160816; b=LPpQWp3lB8V9bdMuRcrZQPGC6pQNG9o2rSxAeTzlzCMsAewKV7xQwE990GXIETeuui YJq8Mwd+jDVmgtb0DLM0B+FokPu4ck9El6fdrkyTPRl37NRKU3Tsjyx0qndz0Ohv2Td0 YiJiTD97Avy1m/TDdmlIPNUBIrz52OKy7N+OXNRFYPDJM8VKzckm/GT4An4DxQD3n1fq GIWbaXAW7LL7y6/Y9fOL//j/oJQEJwquBzDGZ7EppC4/EvSdLbSaG8/ppAJtJSjYcRSc TmRqiLJRWAG7xxEM9BjMlaIdW/MmFDu8L+V7BP5i1GFD188dlhw0Gm+owOAGchjQCezt 1vGQ== 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=XqpR6B8+nR6pcymfGZfMhsWiKXO7OC+lMbowiW4LVxc=; fh=WH2qFav0htv4LE5fYwVultJmajrUTvVQssK/Dc4lYGQ=; b=p+C/SzIO2Y/dORtVGKCy0SrdJqg9g7TMHefXvrl86efxH6CdcJc28mXdcjCHdVtwY6 ADuiM8L2bRi7aNG9lAMBYfUz6/KmdIZN4Y7Wzj+VToXOSPDPpb7TVi7iT8oyGEcBRuFw bjAJUAPaeG3dmWzjUnCACf27HF/4/y9LwHSyAC6r0su+ZkNpAGtG9eLjsiYMgM2KDrmf vqXakRctrFxCI2NxommTteIa56+Qdzusv6e7kt7QrKlgKeQovWs36Kgt9dF8gBzW9ElS fy5UIdpaQUZ4C4G0DcuduneQ8sEGeJvye8FWlpsKFPfbhWGBevE7vGqSE6G0HMQkAJnF N7qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=UaBLzEzV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id g20-20020a056a0023d400b006935df301a3si717684pfc.8.2023.10.02.22.22.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 22:22:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=UaBLzEzV; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 39E7C802912A; Mon, 2 Oct 2023 22:22:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235527AbjJCFWE (ORCPT + 53 others); Tue, 3 Oct 2023 01:22:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230216AbjJCFWD (ORCPT ); Tue, 3 Oct 2023 01:22:03 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E3EBAC for ; Mon, 2 Oct 2023 22:21:59 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-537f07dfe8eso5241a12.1 for ; Mon, 02 Oct 2023 22:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696310518; x=1696915318; 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=XqpR6B8+nR6pcymfGZfMhsWiKXO7OC+lMbowiW4LVxc=; b=UaBLzEzVytEjZbXxfZJ/yKqhK1RZp492+FSmCuOa7ivIYhUjuF8hhU9LAqmzdU4w6t ul2WUkeUtwkfafuUvtV5ho6mCBWCD1BhiuFT3QHzF9AgAZincFasUEejf8VNCz3bzWlf GcEipmR4Vx/LRl/d6L2tGAtJhsSmlAtgXdQ+lecGw4omrkwjLD213+u2cjhh74VBEOOo QIO1M7y3isPpmNsFx+OBLYxufeYEl8tgPqr0eoUNHY5EkFk9sRSqyWRRUootS4hdLrMg dMK2ipfmJzdEbgC5gFllURR7gNvSbIldfQxtXeVgoX8FZYliPEHedY71EL84X+SlgOTP vjjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696310518; x=1696915318; 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=XqpR6B8+nR6pcymfGZfMhsWiKXO7OC+lMbowiW4LVxc=; b=bzC5OvjxaWXJeC5Hq1aKzByMhgj4ZmEWXTmAHMEuvN4cAwShWwiWopaT6A9JQhZfJ1 JOV04l/zveb3qTfIyGTistPFu6KG6bs07o5r7/v3AOEXGmFksL4dJHz04jFrDHNMEeXC wbDANuwJ6Kj9ned8yZRLjPjN3DK0V+4hG0NjwBtZWUqlBHtZByvZbRz8mDKJGUmCjRtc /AzaL8wRnwGao+uBf2bfrGh/UJyHvx2s3YuIXqTGh51eLg9ReVy6sPb7V7Hc0d76J7d1 RIDjzi2g7Hywy3OaMnxh83Hw91qot85Ppf5iW/WIC8TqRbmiiNiARhDEnLcCCltVzsWh gmGA== X-Gm-Message-State: AOJu0Yzl4C1f3wpnenNX/CBhzmrD93Al4BLXvdpH/+FZ/GuthNbaUu/E dV5t5Z/mqB2ODUriFZ9P9YvYyRu9JxIY7FoQKhGgyg== X-Received: by 2002:a50:d4d7:0:b0:538:1d3b:172f with SMTP id e23-20020a50d4d7000000b005381d3b172fmr49263edj.3.1696310517644; Mon, 02 Oct 2023 22:21:57 -0700 (PDT) MIME-Version: 1.0 References: <20231002151023.4054-1-ansuelsmth@gmail.com> <20231002151023.4054-2-ansuelsmth@gmail.com> In-Reply-To: <20231002151023.4054-2-ansuelsmth@gmail.com> From: Eric Dumazet Date: Tue, 3 Oct 2023 07:21:46 +0200 Message-ID: Subject: Re: [net-next PATCH 2/4] netdev: make napi_schedule return bool on NAPI successful schedule To: Christian Marangi Cc: Jason Gunthorpe , Leon Romanovsky , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Chris Snook , Raju Rangoju , Jeroen de Borst , Praveen Kaligineedi , Shailend Chand , Douglas Miller , Nick Child , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Haren Myneni , Rick Lindsley , Dany Madden , Thomas Falcon , Tariq Toukan , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Krzysztof Halasa , Kalle Valo , Jeff Johnson , Gregory Greenman , Chandrashekar Devegowda , Intel Corporation , Chiranjeevi Rapolu , Liu Haijun , M Chetan Kumar , Ricardo Martinez , Loic Poulain , Sergey Ryazanov , Johannes Berg , Yuanjun Gong , Wei Fang , Alex Elder , Simon Horman , Rob Herring , Bailey Forrest , "Gustavo A. R. Silva" , Junfeng Guo , Ziwei Xiao , Thomas Gleixner , Rushil Gupta , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Yuri Karpov , Zhengchao Shao , Andrew Lunn , Zheng Zengkai , "Rafael J. Wysocki" , Lee Jones , Dawei Li , Hans de Goede , Benjamin Berg , Anjaneyulu , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, linux-can@vger.kernel.org, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 02 Oct 2023 22:22:09 -0700 (PDT) On Mon, Oct 2, 2023 at 5:10=E2=80=AFPM Christian Marangi wrote: > > Change napi_schedule to return a bool on NAPI successful schedule. This > might be useful for some driver to do additional step after a NAPI ahs This might be useful for some drivers to do additional steps after a NAPI has been scheduled. > been scheduled. > > Signed-off-by: Christian Marangi Yeah, I guess you forgot to mention I suggested this patch ... Reviewed-by: Eric Dumazet