From patchwork Wed Jun 1 06:36:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?w43DsWlnbyBIdWd1ZXQ=?= X-Patchwork-Id: 12866371 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DFC8C433F5 for ; Wed, 1 Jun 2022 06:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349915AbiFAGgZ (ORCPT ); Wed, 1 Jun 2022 02:36:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349874AbiFAGgU (ORCPT ); Wed, 1 Jun 2022 02:36:20 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4D9432CDE4 for ; Tue, 31 May 2022 23:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654065378; 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=LHF//YqENYC6FSqdxxrdVHacfHK+g1kUOBWZZLZ9cgY=; b=CEMgcUFwlKT/1Bd0pWef/NX/Ac5g+VDQ0yHIEa7JPJMPjcZeGPmz4SQH/sO21Dd0r/yUrQ NcpiocU5+xeQyZx+5g8TkcgrQ7omtP84oebs87VsB/amxf8NRHvP6JOJ9qU4ZfBmF7E2cy kFtxtftNbxQCYjvVwed8gFZvHllJQPE= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-111-eDF2YbxTN1-SnCPsgA9w8A-1; Wed, 01 Jun 2022 02:36:15 -0400 X-MC-Unique: eDF2YbxTN1-SnCPsgA9w8A-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E468E858F11; Wed, 1 Jun 2022 06:36:11 +0000 (UTC) Received: from localhost.localdomain (unknown [10.39.192.126]) by smtp.corp.redhat.com (Postfix) with ESMTP id E9C144B8D43; Wed, 1 Jun 2022 06:36:09 +0000 (UTC) From: =?utf-8?b?w43DsWlnbyBIdWd1ZXQ=?= To: ecree.xilinx@gmail.com, habetsm.xilinx@gmail.com Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, cmclachlan@solarflare.com, brouer@redhat.com, netdev@vger.kernel.org, =?utf-8?b?w43DsWlnbyBIdWd1ZXQ=?= Subject: [PATCH net v2 0/2] sfc/siena: fix some efx_separate_tx_channels errors Date: Wed, 1 Jun 2022 08:36:01 +0200 Message-Id: <20220601063603.15362-1-ihuguet@redhat.com> In-Reply-To: <20220531134034.389792-1-ihuguet@redhat.com> References: <20220531134034.389792-1-ihuguet@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Trying to load sfc driver with modparam efx_separate_tx_channels=1 resulted in errors during initialization and not being able to use the NIC. This patches fix a few bugs and make it work again. This has been already done for sfc, do it also for sfc_siena. v2: * fix patch that didn't apply cleanly Martin Habets (1): sfc/siena: fix considering that all channels have TX queues Íñigo Huguet (1): sfc/siena: fix wrong tx channel offset with efx_separate_tx_channels drivers/net/ethernet/sfc/siena/efx_channels.c | 6 ++---- drivers/net/ethernet/sfc/siena/net_driver.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-)