From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 B4E0D1AC420 for ; Thu, 21 Nov 2024 08:15:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732176935; cv=none; b=BzthDJ2jayWW+Xjs53JatBIybxictClWpIfHOcXmUVvtGoAGB7dY5Fl/F/pOksXUuLXwxnf2fFWr//FPUD7Sqv493oAskhAyBWVPYj1a8DDVCVaAZyuVK6iwGmofb+UmklvrK4utQSVd+1cOw9C3cisAdbAB+/aaGDA+qgQX7o0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732176935; c=relaxed/simple; bh=vx1+AwLU4UsvAMyNOFMRQ4EEtvnDkA2FBnIl/UudUDU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=AzXxfIYsoW+POojJz4YA9+Pb1S4jITTKc95Ak+E05ZLlcHqbIqafSHWNPlzqWdxmIwIp+8ne2bpw5ChYKCf7C6puzF9n0Wp+78JDLOLeohwyrhKCkY7HqZXekgoOq64nMCyye2sKyBSMwyKQFTXyzx9XktSiTTQbR1owo64W7mA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=DbnhOXkb; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DbnhOXkb" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1732176932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dAru0Q7sNpk/HHsEEZWynnmCBFQAz2UJFJPWzmB99Ic=; b=DbnhOXkbT3bkxbJ+7lZIsHB2UY52yEd7bHq4HtwMabR9mySvuL1Fv/8X9tWgQnqLfPYy/B w0Xacr2tKxQw2VGwNoY2wSLvw8EOMg89bwSStwGkkMLfz/VLsMYlJx3mGgOEbNSbyu0+1y PqcIU9ivZA3ud3vVQBcdLKLcSipg7Ak= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-78-QNxH_K36OS2nzvSSQ2X7Cw-1; Thu, 21 Nov 2024 03:15:31 -0500 X-MC-Unique: QNxH_K36OS2nzvSSQ2X7Cw-1 X-Mimecast-MFC-AGG-ID: QNxH_K36OS2nzvSSQ2X7Cw Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-43159c07193so5361035e9.0 for ; Thu, 21 Nov 2024 00:15:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732176930; x=1732781730; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dAru0Q7sNpk/HHsEEZWynnmCBFQAz2UJFJPWzmB99Ic=; b=eSXRfgJKlLVGobirW2QetNP6sSUkdgvmoYbU/o9ZIZE4ZfTkYA1Pd/4qYO063I9Z4Z svzOk1Qcpkw1qJ5pmg4XH9TAvxTbylDTwaKpmP+1Y33FHK9ATrlnXe7G3yBJfk/P6yTp ts8Yvmi6El7anHbJAGOqpLPA3f63fTTJJSGXurTZafYzVJ8KxE04wX4/dFqHbj1N/yFy HIXw551TWGsM6vwhxDwcOFAzD+foKzoyJ8LvQscM3zWYvMcX1w/l0/fpP3yLrk/QeMx8 Vc8uWL8mvwhOiT21YIvDb7m2IquS0y2RzXqsLcqC8XwJPZ6PWNcdkVHAd1lcWmDt/n6H lVjw== X-Forwarded-Encrypted: i=1; AJvYcCWg4DelW4T70LVRb1erQMvcAnO3REF7m7UHmy1DWUQ6Q4fwnamrpTONnuTaCzGraxtNGLGrbqlHs7VFZDk=@vger.kernel.org X-Gm-Message-State: AOJu0Yza1TriynsghI/8lchFeUnUTAe24BdHqJ8rddXXMkKnlol3Zhcp Qj1rQKdyjrwmV8OBGxp0LmHltEe1dbgK/eVrnESk91bF5jMhthmiGQPLR29zMYHsELp0Q0xhsbc 2u3r+KSd6HnEZ7qIp2uB3NSkCbHExv0n3nGM8uQghmGBZqlWNLz9Np4R8Ls43IA== X-Received: by 2002:a05:600c:502a:b0:42c:b508:750e with SMTP id 5b1f17b1804b1-433489a06ebmr58058115e9.11.1732176929990; Thu, 21 Nov 2024 00:15:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEAAKP652fy4bHoCxWpHv86UZV5kyYHY85sFR0FghbNa9ObZXs7vQd2NPg/YLhM7rRCI5jfFg== X-Received: by 2002:a05:600c:502a:b0:42c:b508:750e with SMTP id 5b1f17b1804b1-433489a06ebmr58057935e9.11.1732176929686; Thu, 21 Nov 2024 00:15:29 -0800 (PST) Received: from [192.168.88.24] (146-241-6-75.dyn.eolo.it. [146.241.6.75]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b46343e7sm44946215e9.33.2024.11.21.00.15.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Nov 2024 00:15:29 -0800 (PST) Message-ID: <59c96191-3203-4338-9754-ac7c5ee35e78@redhat.com> Date: Thu, 21 Nov 2024 09:15:27 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] mlx5/core: remove mlx5_core_cq.tasklet_ctx.priv field To: Caleb Sander Mateos , Saeed Mahameed , Tariq Toukan , Leon Romanovsky Cc: netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Eric Dumazet , Jakub Kicinski , "David S. Miller" References: <20241119042448.2473694-1-csander@purestorage.com> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20241119042448.2473694-1-csander@purestorage.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 11/19/24 05:24, Caleb Sander Mateos wrote: > The priv field in mlx5_core_cq's tasklet_ctx struct points to the > mlx5_eq_tasklet tasklet_ctx field of the CQ's mlx5_eq_comp. mlx5_core_cq > already stores a pointer to the EQ. Use this eq pointer to get a pointer > to the tasklet_ctx with no additional pointer dereferences and no void * > casts. Remove the now unused priv field. > > Signed-off-by: Caleb Sander Mateos [Under the assumption Tariq is still handling the mlx5 tree, and patches from 3rd party contributors are supposed to land directly into the net/net-next tree] @Caleb: please include the target tree ('net-next') into the subj prefix. More importantly: ## Form letter - net-next-closed The merge window for v6.13 has begun and net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after Dec 2nd. RFC patches sent for review only are welcome at any time. See: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html#development-cycle