Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp171579lqp; Tue, 11 Jun 2024 19:41:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWi4yHfpYFMT2upGoTEJSJ6DuuFOa0MlVpPajPGYMcOe5kfxJ6Ze2vm7QnRrUAbjeL2KB91ieidBJ3JJ1PDVut4rkVZx42ul6PjYN32pA== X-Google-Smtp-Source: AGHT+IG9SEaQDvIUjF9P/fYnfIsLp9SYjSDwT+oAVp5hqLc68ieadFrBmr15QORg/pqNlNjLEx1f X-Received: by 2002:a05:6870:3320:b0:24c:a548:b9ee with SMTP id 586e51a60fabf-25514ee55d7mr571493fac.59.1718160089087; Tue, 11 Jun 2024 19:41:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718160089; cv=pass; d=google.com; s=arc-20160816; b=FwA3WJCMdRPb1+n9tEbWlQuBtgkD+SCGmU32lKC1OFJPJjqKEhSa+m2hWWdCvK3Weo XkNWU1Tv0RgJLn80qSrLrB6IkKn7dmQCmMdXqaZc2yTknwBiJkZJlZ2EkDhBZuSyzSRZ /W27GUU5+8K8G4uQDKfscRJ62KH46OzqpQjcF9gfHyJ3kqpH9DAplnuUYSoixj0Lh47I HpKru1bnBlAvrroplr6xzLqTVLCa/TdghE8BUl7a72eIUPPET/+OPVK8AZQ4dCIY+snc 66Hfe30ZielrRfHIs+8PHXb/mhksRjg83wxkkBl8ZHtGor+fODX/qoiQkDozsFQjmEYp Yumg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=vmyR4QR4O0qDRG2Tdpec3h1CFmxBVl5p9LVA9RJcQdI=; fh=ZYIh3nHWBAPoSmRjzbDxTQ0PMfU/A1cEEPzr47q9drQ=; b=iid1LOn5LhLIVppyryXKXBFu7XG3cLUhNL9DVty9jJz/4hgjGP/XOGfEhOhrpvia5+ PSRBdloG6Vmuik1U40ML8LDBxeXO1a4+qDDpUW8albXm7P6f+DW/7XyLwymDWpxguL2J jmpLliXJN9IwAEU8kwd1v27I8ouRLREWHQeaHlHO+ZlKrwNHPXWsgGUIyM2Q+151vJdF LGij+8fIoY3Q15EiJOizAAKJqp9AFQ4VSxT9iJgdV4UpkU4PfXaLVw9MT/RiXEH3TuXW IclBisKG6GN3kYUeIgM6YJtkvEh7125fgwMNJiKRtMAN80IKmN8w3hDCXSuV4prUn0rC zNTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4Dbs5Rh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-70421b7a957si7195593b3a.42.2024.06.11.19.41.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 19:41:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q4Dbs5Rh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210833-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210833-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 279B328741D for ; Wed, 12 Jun 2024 02:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57F3AF514; Wed, 12 Jun 2024 02:38:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q4Dbs5Rh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7486BB663; Wed, 12 Jun 2024 02:38:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718159919; cv=none; b=SKmYkVSMGU7HlkpUVY+qOqlxJDiAbxfxxVO7iVWf/JCyDsugtWbq6cvQ2b6reb46PAdnexAkzIkIRVM5kNxGNV73clZ+DsxkKPkV5RlslBqdiS0JMqOxtebYkL9fUyay7ZYv51jcj5tvooQU6VeNBOPVimc/x+0zG8iabXkaPHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718159919; c=relaxed/simple; bh=vmyR4QR4O0qDRG2Tdpec3h1CFmxBVl5p9LVA9RJcQdI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=i0V/WzMQJ/N49U3gvxRE/Z4gftEc2DfoyXagDaugPnTaRn9s3zCf1KVDKFZDD5oGe2VocZLly9hB4vc6ICdfFzOiVPUQ6Pdoz+1YnuqH/Y11XU5OuFbwBPNxW7YUQaZB0N48wAmEGcAfC6xNd2RmVI9zJTjoX2NB0Z0DZL3/JHM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=q4Dbs5Rh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 470C9C2BD10; Wed, 12 Jun 2024 02:38:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718159919; bh=vmyR4QR4O0qDRG2Tdpec3h1CFmxBVl5p9LVA9RJcQdI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=q4Dbs5RhFMxmCf4wPg98NTH3+/I9L9tA8L1Dd26Ree+az3alISPp++DLwEbTkooeH 7mpqTsp9L/TwFgkAjzxpaT0/Kk5w8gOnfgtgtRZrgfj5Wlx9NUmcIhNSlVmo0dTFMF dORbD3frvAt4dw59LOqQwFNcU84Dvn+HPYmyx85C34rQWHw1Gl/zaoUdVXXZSos7is FsrbDHVYi2UP7BDpb3xsrZRI9MXvDIIr/vK1VbICxBgo3ltEOvpfAWLxJ9GU2Q1OWd L3lLtlPtaxHjWkW35y1KupSpchPvTxCOLmHTCmQXklypyRGgJ5lIrdueFfSSrUpnQo 7MMRvmyt2cQxw== Date: Tue, 11 Jun 2024 19:38:37 -0700 From: Jakub Kicinski To: Larysa Zaremba Cc: intel-wired-lan@lists.osuosl.org, Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Eric Dumazet , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Maciej Fijalkowski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, magnus.karlsson@intel.com, Michal Kubiak Subject: Re: [PATCH iwl-net 0/3] ice: fix synchronization between .ndo_bpf() and reset Message-ID: <20240611193837.4ffb2401@kernel.org> In-Reply-To: <20240610153716.31493-1-larysa.zaremba@intel.com> References: <20240610153716.31493-1-larysa.zaremba@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 10 Jun 2024 17:37:12 +0200 Larysa Zaremba wrote: > Fix the problems that are triggered by tx_timeout and ice_xdp() calls, > including both pool and program operations. Is there really no way for ice to fix the locking? :( The busy loops and trylocks() are not great, and seem like duct tape.