Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1082339pxx; Tue, 27 Oct 2020 07:53:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxqF0Zs/IN4V/Tm+UW6ZalbDf1Ay7cdKk5XZlJpxlVfmsYg/b5B4++Jr40EGhsJO2QFAomU X-Received: by 2002:a17:906:9702:: with SMTP id k2mr2743005ejx.494.1603810437570; Tue, 27 Oct 2020 07:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603810437; cv=none; d=google.com; s=arc-20160816; b=Jr/Z935PnAzT0RDZumNK9tQhq6nta8q03grmLgbvrRjEEtI+ovlDNVGUaXgQHRTuXB mXJAQtWY5Nm4PXO/MFpDj2ERjnVY9vGD8cFkzKGfUtYNHSrNo9o4QJdYVAJBufXmVAVU BWB9UH8tF76YTP7VDC7iy43pl/huPrse98uZbWMMWE9QQ+GAAkOsW490ncrd47PHPpX5 uFfGorfeLomca8oe0TBBarcEXpvfvKXSEbnMCZQDMVzkAH9ErigKV+T4PyB2VQCjy+ek r4haAEs9sV00/SZxMLuzNzdrYRmnAjB78zJTOF63qGPcAAxc7/im40SW7/W02E1z6up3 4JUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=q/2UW1EavzGyQidIV4HOPTRIiiI2sz1a1VOoMXldtbs=; b=abJHk/BHqXTni0ulx3zq5OECs+Nof4+DjVuRZJSa5lLz6y3XordtrW+pm+TwMVPfUg Vu1CQaSkRC3O37qjghvYVLqZn8Ot6vWpZFGN1wgB97wTKWOARMcAqFtOJ62W4Ge1oN0X RWZa9+3f3PQ7OdLl/RV4slyM9eMC8AVefHYabDGwi9GaYFPEAVwuTh0Chi+jaqr0MRDR o5AA3ag1RcWvajkDynS7kIdLaExO0paHKDw5EtjKgHKMg5FIme+AUunWi28VRI4enGn4 hpUGQvN/PDVBrDqZFdPyQtCfWSNyMi24Xl6M8uWhIhwEIHLUytpTzd5K/AfbXBKr3RHb QtPw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m26si1153724edf.113.2020.10.27.07.53.35; Tue, 27 Oct 2020 07:53:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752113AbgJ0NYh (ORCPT + 99 others); Tue, 27 Oct 2020 09:24:37 -0400 Received: from dispatch1-us1.ppe-hosted.com ([67.231.154.164]:60914 "EHLO dispatch1-us1.ppe-hosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752084AbgJ0NYg (ORCPT ); Tue, 27 Oct 2020 09:24:36 -0400 Received: from mx1-us1.ppe-hosted.com (unknown [10.110.50.143]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id CA2EA200F1; Tue, 27 Oct 2020 13:24:33 +0000 (UTC) Received: from us4-mdac16-62.at1.mdlocal (unknown [10.110.50.155]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id C9F6B8009B; Tue, 27 Oct 2020 13:24:33 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mx1-us1.ppe-hosted.com (unknown [10.110.49.30]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 7129C40076; Tue, 27 Oct 2020 13:24:33 +0000 (UTC) Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 34E9A140084; Tue, 27 Oct 2020 13:24:33 +0000 (UTC) Received: from [10.17.20.203] (10.17.20.203) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Oct 2020 13:24:28 +0000 Subject: Re: [PATCH AUTOSEL 5.9 054/147] sfc: add and use efx_tx_send_pending in tx.c To: Sasha Levin , , CC: Jakub Kicinski , References: <20201026234905.1022767-1-sashal@kernel.org> <20201026234905.1022767-54-sashal@kernel.org> From: Edward Cree Message-ID: <0507e2d9-6535-277c-bd9a-a009c11bf795@solarflare.com> Date: Tue, 27 Oct 2020 13:24:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20201026234905.1022767-54-sashal@kernel.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Originating-IP: [10.17.20.203] X-ClientProxiedBy: ocex03.SolarFlarecom.com (10.20.40.36) To ukex01.SolarFlarecom.com (10.17.10.4) X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.6.1012-25750.003 X-TM-AS-Result: No-3.416600-8.000000-10 X-TMASE-MatchedRID: nVQUmLJJeyYzkUg+npt39/ZvT2zYoYOwC/ExpXrHizxBbp4JobErAt6A 4kPymCgPML3vcSUM3Wkb0KUY0vR5eD6hJYir1MIcsFkCLeeufNuWGk93C/VnSvn6214PlHOFBLK k3SrDK2G7D2478TEKb2KYeZv05+HVbZ3DSPtWJmueAiCmPx4NwJwhktVkBBrQxq9PbUOwsP9QSF bL1bvQAd934/rDAK3zlGdyD+QE2h/ocXFe3KMWkQV7FJ+dRUhQbDBDo2E3xWW/Xk4A/H8q+aH7Y LicK6DQXBjoZeiEZtOsc5dLZie0RNvXgEiqEY/y218aHXkYIUyFcgJc+QNMwu8bJovJYm8FYupx 0XjSQPLDOFVmKqGJ4WptqaeO5a/g X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.416600-8.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.6.1012-25750.003 X-MDID: 1603805073-CgOOz7FiilPl X-PPE-DISP: 1603805073;CgOOz7FiilPl Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/10/2020 23:47, Sasha Levin wrote: > From: Edward Cree > > [ Upstream commit 1c0544d24927e4fad04f858216b8ea767a3bd123 ] > > Instead of using efx_tx_queue_partner(), which relies on the assumption > that tx_queues_per_channel is 2, efx_tx_send_pending() iterates over > txqs with efx_for_each_channel_tx_queue(). That assumption was valid for the code as of v5.9; this change was only  needed to support the extra queues that were added for encap offloads. Thus, this patch shouldn't be backported, unless -stable is also planning  to backport that feature (e.g. 0ce8df661456, 24b2c3751aa3), which I  doubt (it's nearly 20 patches, and can't be considered a bugfix). -ed