Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp420194rdb; Thu, 5 Oct 2023 09:34:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH9PUhRkj8/R6RbPAiFpHdja7p2NJaFt7R7RoyfOf3xNz5Yl1Da2wxQCPhYr1Xiasn2WPeN X-Received: by 2002:a05:6a20:3d0d:b0:151:35ad:f331 with SMTP id y13-20020a056a203d0d00b0015135adf331mr4822193pzi.14.1696523661188; Thu, 05 Oct 2023 09:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696523661; cv=none; d=google.com; s=arc-20160816; b=uUeyuJgiPeFjRbQeawULCWVe3Z01bo9oYVUQYjgDKkZJ/fQadBO4Haz4prKXTEX+5I Y+BY2jsS7KNOkH3eVJlXSsO0wa0n1id0Lo3Oaln353Nahl1inyM9T7QPbv8RR7wC2C56 oylcxQAfG98gSvDcNx22xpn4dyDyDNxDaIlhD3R4BxFfI1WtxJjBAeGB16+bco+XuEwa iFdmfz/5rc+fO6iN9xMiad9K3D3LAEPewC94ncRwiq4KbQFT97Jk4oaIJF4Emq29We66 ebOCtRyRBwZ1QLHmDUrbPdYJQ/t1GuNt4W63hokvkDzJC/BHg02zLLovdsHOddlm927g 9mLQ== 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=0r0z6lg6WCpdjTrIkK0dVsLYyVCZ/7MdG8Aqn4UL8Rc=; fh=BrqZMW8jZrPvQPkx1Q1LARmakMyYMGjLZPpVcJ2dAQs=; b=F+wBeK4yEr5cX855XdGLwnodhhqGcO9KhTETn+aMA8PoNw/lHL9xp+Kla6ldUXAxbW rWlH1mpWjcAFUWiiGPeB70JmiqRygshMIlpOucn0uqknfMbS/6IdSH1sdqJrZxPhhwhR 4JVxloUe//0R8KprHhjy1h3cLzG4v8he53xZNGLPAR+iaNUo3V1+/W+SfrpHxUadWJ5W /1UcTRWaCKMlWzJKusc/VoiTWZGI8+KHTDKg8HmtsLtXr3fKRQo6S5MDfPeFcW0RrWhj WR7ldwgw/rNTAir53cGt2iw4IryrhqFeLcJdEJJQlKVzOIzZI9lNpeYxorO1RjdvuKls rFLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=o681KbIh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bv4-20020a056a00414400b0068beee4922csi1682355pfb.23.2023.10.05.09.34.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=o681KbIh; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id DDD1D8022A9C; Thu, 5 Oct 2023 09:33:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbjJEQdh (ORCPT + 52 others); Thu, 5 Oct 2023 12:33:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231865AbjJEQck (ORCPT ); Thu, 5 Oct 2023 12:32:40 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE112422C for ; Thu, 5 Oct 2023 09:12:09 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4053f24c900so80205e9.1 for ; Thu, 05 Oct 2023 09:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696522328; x=1697127128; 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=0r0z6lg6WCpdjTrIkK0dVsLYyVCZ/7MdG8Aqn4UL8Rc=; b=o681KbIh2TlLlhg8XG13gpUMzwdOWGu93tlv1/AmAQmTSR1pYFOLQ39scqoBCGGlhi 4twWQG1uOshmLs2xF5w3/nPDQegq0pHr0IWitMDfaFoK/bDa9m+nCYE67EVozR0MX0+X EyGpMb4MPF9fy3rf61gcJROjNqNa6HcEqJuxmhB+ki0io7BHtCw0U0i/lw4kIKZpWQfR 6Kjip00dYddoVNJ958TrIuB6gJsLypWAVPUE31LC1LfuJ6rivEEgPkbYFRhuBmoZQOui QtqcpUzWEIo2mO1rI7Z0w5A7W0peQitW15tx4IKCl23o7rV+GX/ihXN7g61y1pw7elN7 oC2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696522328; x=1697127128; 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=0r0z6lg6WCpdjTrIkK0dVsLYyVCZ/7MdG8Aqn4UL8Rc=; b=t9+KkjHBfvKyJB0+LIkOOeHHEsu4HGQ8cAKrRQCX9OIHnZ6KRPOUUlJ4CLpHCz/WmT 5AKsFtWFgYQtv+sZz65O0c4/9qGo1BBZe6e2nqbDJKjti/vAjAEzi7tfPPrkpa/9zK2O hlSEM+B72HDEsEw1vn2Ny8lmkmYuQh7IEN5IyW/TIUZ2nl+lCb8CsEhiIMIRJw3gLR3a RdSp3/3MxhqmeNNDCoUuz/Ta+vc0d13yfyMD0GX++oKfDNBErcwUcjPynVyi5gQ7CYSz vF8n4PYNKsNkxMjlt6Tfm3kLLKk1zLLgPSI4IAW9/FAKBt3Qrxt/ley3/7Mfr5UY+q3s eEMQ== X-Gm-Message-State: AOJu0YyoOmA7cXtpmXkyP+MExeNXPUqhZcbpnIxF/R9oLkdtlJCQXIjc EjtKiaet1UZc78433MQdUrwNxn72B25m1v9Z80Fx4A== X-Received: by 2002:a05:600c:b93:b0:3fe:eb42:7ec with SMTP id fl19-20020a05600c0b9300b003feeb4207ecmr61696wmb.1.1696522327966; Thu, 05 Oct 2023 09:12:07 -0700 (PDT) MIME-Version: 1.0 References: <20231003145150.2498-1-ansuelsmth@gmail.com> <20231003145150.2498-3-ansuelsmth@gmail.com> In-Reply-To: <20231003145150.2498-3-ansuelsmth@gmail.com> From: Eric Dumazet Date: Thu, 5 Oct 2023 18:11:56 +0200 Message-ID: Subject: Re: [net-next PATCH v2 3/4] netdev: replace napi_reschedule with napi_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 , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Nick Child , 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 , Simon Horman , Rob Herring , Ziwei Xiao , Rushil Gupta , Coco Li , Thomas Gleixner , Junfeng Guo , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Wei Fang , Krzysztof Kozlowski , Yuri Karpov , Zhengchao Shao , Andrew Lunn , Zheng Zengkai , Lee Jones , Maximilian Luz , "Rafael J. Wysocki" , Dawei Li , Anjaneyulu , Benjamin Berg , 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=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:33:48 -0700 (PDT) On Tue, Oct 3, 2023 at 8:36=E2=80=AFPM Christian Marangi wrote: > > Now that napi_schedule return a bool, we can drop napi_reschedule that > does the same exact function. The function comes from a very old commit > bfe13f54f502 ("ibm_emac: Convert to use napi_struct independent of struct > net_device") and the purpose is actually deprecated in favour of > different logic. > > Convert every user of napi_reschedule to napi_schedule. > > Signed-off-by: Christian Marangi > Acked-by: Jeff Johnson # ath10k > Acked-by: Nick Child # ibm > Acked-by: Marc Kleine-Budde # for can/dev/rx-offload= .c OK, but I suspect some users of napi_reschedule() might not be race-free... Reviewed-by: Eric Dumazet