From mboxrd@z Thu Jan 1 00:00:00 1970 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 smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9D6DC6FD1C for ; Wed, 22 Mar 2023 13:12:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 6FBCA4194E; Wed, 22 Mar 2023 13:12:43 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 6FBCA4194E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1679490763; bh=BNBIWcy/KxUqs2kfT7A5biUHvww5iZxL2p2Gbdv3v+0=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=BIGP90LzDFmZYVUnBLL0YZ7OMYiYAMG7GsJMaLKhFj7sywrvoy4KVPUXC4Jpt840C hNbIJqjecUQoYAVHgs5nTZz8NosmtumywSEtQ7nUfCmDqQqDA9KRCZWY+tTfiG0swY Xwag2xm5fR9scpIkXWyjMQgcOWO9dzYXVx3XD4mWH4s4dfC+WGDe2SVbJtKlU1U7ca zk4kuhRejllHgMDkGqyrNrAvtpkJXuxKtF4HNVQydszdClgM7vSf/d/021kfQXb/UJ 5ixxRI60EJLP5ZIe/KBY/9qtqQGs9G0yxwuXQh53xZPfuvWp4qsgZ7rz1e1ImI9JYG XWpheUlw8LZvA== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9buGqwG2ViAN; Wed, 22 Mar 2023 13:12:42 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 3FAA6419C3; Wed, 22 Mar 2023 13:12:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3FAA6419C3 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 342BA1BF5DC for ; Wed, 22 Mar 2023 13:12:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 08F61419C3 for ; Wed, 22 Mar 2023 13:12:41 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 08F61419C3 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MrwWubfe4xgc for ; Wed, 22 Mar 2023 13:12:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 07F9E4194E Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by smtp4.osuosl.org (Postfix) with ESMTPS id 07F9E4194E for ; Wed, 22 Mar 2023 13:12:39 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="340743694" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="340743694" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 06:12:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="714394648" X-IronPort-AV: E=Sophos;i="5.98,281,1673942400"; d="scan'208";a="714394648" Received: from hextor.igk.intel.com ([10.123.220.6]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Mar 2023 06:12:38 -0700 From: Michal Wilczynski To: intel-wired-lan@lists.osuosl.org Date: Wed, 22 Mar 2023 14:12:22 +0100 Message-Id: <20230322131227.244687-1-michal.wilczynski@intel.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679490760; x=1711026760; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=xV4ISycTlO8VBiix2fHIGkqXmGFNf6XbxaJcnYPuexI=; b=EuK+zTp1pdv7FASLsufUwhvzH9hEGe3pxW5XSzNFI2xs1gbsbyb7dOD1 QH6HcUFTrPALyhQjH9YZmc9V99m39yd5XkN+fmCw6nfHTBSeOY6jLN1TY qPwGZIC8pCPz/b0pfgBAjLkCvunJfY0hQlAFo6RwwBCeQbRSGbbcPb67o LkfLLs/is60QdBRMXSG3pCFrbBgG69xQBpaljSgJSfGYg/FzUQgNVs4un 25UYdMj9yO8PNl4LHnZuJaI6jkZveX+rV2vfRgpadL0p6+gnBc7wl9AS1 die3P4l7KQyPlEaUXGuPmOwYl8HOGquwyhAVYPVEEgom071w+d7y7n/UA A==; X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=EuK+zTp1 Subject: [Intel-wired-lan] [PATCH net-next v11 0/5] ice: Support 5 layer tx scheduler topology X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" This is a re-send of series that was previously accepted and merged to the tree, but testing discovered problems with this series so it was later dropped. This version fixes the bug found by validation. For performance reasons there is a need to have support for selectable tx scheduler topology. Currently firmware supports only the default 9-layer and 5-layer topology. This patch series enables switch from default to 5-layer topology, if user decides to opt-in. v11: - added check for return value of ice_init_ddp_config call - moved code related to patch 1 from patch 3 - removed unnecessary casts - added a newline - added additional info about network layers in transmit scheduler v10: Fixed incorrect call to ice_fill_dflt_direct_cmd_desc that caused the bug found by validation. v9: Nothing changed, this is a re-send per validation request Lukasz Czapnik (1): ice: Add txbalancing devlink param v6: Added this commit v7: Fixed nitpicks, checkpatch issue, changed functions to static Michal Wilczynski (2): ice: Enable switching default tx scheduler topology v2: - Moved definitions of scheduling layers to other commit v3: - Removed wrong tags - Added blank line - Indented a comment - Moved parts of code to separate commit - Removed unnecessary initializations - Change from unnecessary devm_kmemdup to kmemdup v5: - Changed freeing to kfree - Changed commit message to clarify that parameter change is not yet upstream ice: Document txbalancing parameter v7: Added this commit Raj Victor (2): ice: Support 5 layer topology v2: - Added example of performance decrease in commit message - Reworded commit message for imperative mood - Removed unnecessary tags - Refactored duplicated function call - Fixed RCT - Fixed unnecessary call to devm_kfree - Defined constants v3: - Changed title - Changes in commit description, added versions of DDP and firmware, also added test methodology - Removed unnecessary defines - Added a newline for define separation - Did s/tx/Tx in comments - Removed newline between error check v8: - Removed msleep's in the loops ice: Adjust the VSI/Aggregator layers v3: - Added this commit - Removed unnecessary 'else' Documentation/networking/devlink/ice.rst | 20 ++ .../net/ethernet/intel/ice/ice_adminq_cmd.h | 31 +++ drivers/net/ethernet/intel/ice/ice_common.c | 6 + drivers/net/ethernet/intel/ice/ice_ddp.c | 201 ++++++++++++++++++ drivers/net/ethernet/intel/ice/ice_ddp.h | 7 +- drivers/net/ethernet/intel/ice/ice_devlink.c | 163 +++++++++++++- .../net/ethernet/intel/ice/ice_fw_update.c | 2 +- .../net/ethernet/intel/ice/ice_fw_update.h | 3 + drivers/net/ethernet/intel/ice/ice_main.c | 106 +++++++-- drivers/net/ethernet/intel/ice/ice_nvm.c | 2 +- drivers/net/ethernet/intel/ice/ice_nvm.h | 3 + drivers/net/ethernet/intel/ice/ice_sched.c | 34 +-- drivers/net/ethernet/intel/ice/ice_sched.h | 3 + drivers/net/ethernet/intel/ice/ice_type.h | 1 + 14 files changed, 541 insertions(+), 41 deletions(-) -- 2.37.2 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan