From mboxrd@z Thu Jan 1 00:00:00 1970 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 CDC443CD0A for ; Thu, 12 Oct 2023 19:28:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A7rLqt9l" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A4EC433C8; Thu, 12 Oct 2023 19:28:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697138886; bh=fSsZDWSR/g1QvzStY3BbhVrtWab3KA1fptbWooAnfsY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A7rLqt9lt8iPQQJzgpEL0QYwRRnM0PGMtOFJGt1YBTxVyDNh41EadsEa/ZSOOo1t9 FVh4RbgbJIJQeU89Sq/i5hNanzWq/BXl1GNPvanTStiMqQyWMH4t368CPVlluGug0h uuTW7ThncPOYcpwvEaPhFR8higBdHIMSWmqfeh3mAzM15FtroED8JAxcl1VqwSPOqf WnEb6y0n9aIK1nuEmYGC1TVJqM/PMA8iuniMNDJ7hda3BHiOEcQT1b927BFmdA+w9m yXNAUHEIfF2yC2Z+0ify2eTKfw5JQIzRnRA0tVkPuXpmcN37s+Ou9h2R9jEzzvcVrO 1g2GD+/T9pnAw== From: Saeed Mahameed To: "David S. Miller" , Jakub Kicinski , Paolo Abeni , Eric Dumazet Cc: Saeed Mahameed , netdev@vger.kernel.org, Tariq Toukan , Adham Faris Subject: [net-next V2 14/15] net/mlx5e: Increase max supported channels number to 256 Date: Thu, 12 Oct 2023 12:27:49 -0700 Message-ID: <20231012192750.124945-15-saeed@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231012192750.124945-1-saeed@kernel.org> References: <20231012192750.124945-1-saeed@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Adham Faris Increase max supported channels number to 256 (it is not extended further due to testing disabilities). Signed-off-by: Adham Faris Reviewed-by: Tariq Toukan Signed-off-by: Saeed Mahameed --- drivers/net/ethernet/mellanox/mlx5/core/en.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en.h b/drivers/net/ethernet/mellanox/mlx5/core/en.h index 2130cba548b5..e789f0586c3d 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/en.h @@ -141,7 +141,7 @@ struct page_pool; #define MLX5E_PARAMS_DEFAULT_MIN_RX_WQES_MPW 0x2 #define MLX5E_MIN_NUM_CHANNELS 0x1 -#define MLX5E_MAX_NUM_CHANNELS 128 +#define MLX5E_MAX_NUM_CHANNELS 256 #define MLX5E_TX_CQ_POLL_BUDGET 128 #define MLX5E_TX_XSK_POLL_BUDGET 64 #define MLX5E_SQ_RECOVER_MIN_INTERVAL 500 /* msecs */ -- 2.41.0