From patchwork Tue Mar 23 14:51:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 406906 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4524282jai; Tue, 23 Mar 2021 07:53:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ5x9k7SAnBG9dJk5FMiKNYksrq672LdQSxX0XOWhjQ+Dyux929NrvJz5utKZpqeFpNnFI X-Received: by 2002:a17:906:358c:: with SMTP id o12mr5449001ejb.156.1616511233376; Tue, 23 Mar 2021 07:53:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616511233; cv=none; d=google.com; s=arc-20160816; b=RF9R5LVGWzgYbmi/U8jJ7hNaM5+fb6sZa8/KNyWqFmt88qiMGaPjYRXmivptP9YazE wjHS9qOu7VgZAFQasc1XRULwNDPmyipep/E2WTl54G7iAjb3egBsA8CApdW7BDRkZT5d 6adz1HtVvYji5QgUOL7CyDaJTmrThnW/dXDu9E+rtScmG7Uh8UTy0sExyIk3eq6Rtq0g qmtHzphUAcUQU0WfRYDXEvfFc46jgRweadMZr6ILZRwzsiuqoGat+Q0NmL/cGPdxq1Qm ijRB7YwFjROa2TcFlDdZQ2tB2NvsX2K1lajC+F7hclaoyLZbregxxMYku5WVXwtZq/mm N3hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=FQFA2QStDKmo1XhVZ4KOEMpN+hi3li+F67WfkjwPMWs=; b=XZQ1a4aukgJDuSIFVDWGVxPXvopTFM191Y82p68kuC/KxsYrQFaC3eaVNV7RsZICxb h/C8mE0lei7kVmwqrFgCWlxGhPuAMQwH4CdpOqFJBcAs3ONNoTyZ571i3ofi8xjicJnD XZc5S37y5sWENzwk+27mrPLBDGOQ6G4G5iUPvRYVq5cZY54nFUM2kg+6k5IorhXNtFtb Yt7sFPzvvO3nmz6CxUiNpUeE9ecrj/qnJNTS+kh6NBY6siuMR+Ssz8qA81py34DqIQXW 5pmeWN83kye9mdgv5NX03cwAZC9A1rHg6c7xa6c38WFlZvV/PYir3DWmF3aCNeX5BbOa 03wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOGbG6kW; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d2si13154435edx.95.2021.03.23.07.53.52; Tue, 23 Mar 2021 07:53:53 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zOGbG6kW; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232487AbhCWOxc (ORCPT + 8 others); Tue, 23 Mar 2021 10:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232384AbhCWOvo (ORCPT ); Tue, 23 Mar 2021 10:51:44 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18DACC0613DA for ; Tue, 23 Mar 2021 07:51:44 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id t6so18395618ilp.11 for ; Tue, 23 Mar 2021 07:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQFA2QStDKmo1XhVZ4KOEMpN+hi3li+F67WfkjwPMWs=; b=zOGbG6kWxYv/NlO/UnfFSMX/b4KNsvakNYB0BuVUaMu+r/cb1KKJkcYzOfVVdxIDQt LKtV5VMiZYglWsahrSr+NInVD4CJhyBYX+qYtAHUR4mEvDr9n6hYmZW5PcK6XT7p9ZCq fJqDixNQyDr3nZEWA9sJEjDDE0agrqcYzc70gayldLDTJx44pQVgMcUsqPDYWKEOWZuu wK7XgpTzbdlNutONYHLM+J7ZjQEsgI9iKNLa9ShWKfbthkb+YeZVmN2cfzXP9giLrIZ4 vMoPXTdjgEsufogygjs8N1mPhfzD+6tOAhC8ATMQZoXjxiKgYhDLivA6dKG70UPdZKL7 4ScA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQFA2QStDKmo1XhVZ4KOEMpN+hi3li+F67WfkjwPMWs=; b=QVphS9GFjXNYtpO1rQDiOFZE3RtnfLVdv4zDjGvbq3n2Z8XylULgyhBs4BJ2MxTPwZ Htx/5V9bI4IWhiv05I/OZ39bJaZIzvv0A+kJoBQ9qSF7FO01fR7vQbJ2MFigwnDGYPHx L135yoaXR0+7I1nRsQLsoIgAqj9FpRuxmdR3Kzvvf94G7GgcZD4xLa8rIR10n+BUZiKT CQjeng9DetANwxZnyKIPqPZ+3NdcaMdwdAh3YHsQn0foGBXaJtwjk7TjZbvoEebgcPlP EUQ9wulwb1KzAZp/94mzvz/5TiVCDKHxTxuq0e/I8dZdcoTaxMz7kNWyd2ZAezbotX8R S7nw== X-Gm-Message-State: AOAM5306LOJlKY015mQby4LjRnl4B5OLYi36ME8Ro85ELNhLrc1SdV27 JdIbQH6Jh3kpdGtybryLKljPnWNgL8xyxPke X-Received: by 2002:a05:6e02:198a:: with SMTP id g10mr4789697ilf.139.1616511103560; Tue, 23 Mar 2021 07:51:43 -0700 (PDT) Received: from localhost.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id o13sm8961147iob.17.2021.03.23.07.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 07:51:43 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: bjorn.andersson@linaro.org, evgreen@chromium.org, cpratapa@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 6/6] net: ipa: increase channels and events Date: Tue, 23 Mar 2021 09:51:32 -0500 Message-Id: <20210323145132.2291316-7-elder@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210323145132.2291316-1-elder@linaro.org> References: <20210323145132.2291316-1-elder@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Increase the maximum number of channels and event rings supported by the driver, to allow the maximum available on the SDX55. Signed-off-by: Alex Elder --- drivers/net/ipa/gsi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.27.0 diff --git a/drivers/net/ipa/gsi.h b/drivers/net/ipa/gsi.h index efc980f96109e..d5996bdb20ef5 100644 --- a/drivers/net/ipa/gsi.h +++ b/drivers/net/ipa/gsi.h @@ -16,8 +16,8 @@ #include "ipa_version.h" /* Maximum number of channels and event rings supported by the driver */ -#define GSI_CHANNEL_COUNT_MAX 17 -#define GSI_EVT_RING_COUNT_MAX 13 +#define GSI_CHANNEL_COUNT_MAX 23 +#define GSI_EVT_RING_COUNT_MAX 20 /* Maximum TLV FIFO size for a channel; 64 here is arbitrary (and high) */ #define GSI_TLV_MAX 64