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 E0B29C76196 for ; Sat, 1 Apr 2023 17:27:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 7084741840; Sat, 1 Apr 2023 17:27:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 7084741840 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1680370038; bh=p537jXtX4UX5UdGs0aH/2oXbcw61mVur6tHNdNf0sCo=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=tUywNAhpZT2l4Ixi/xpOSAwh2LDk4MdogAMi4zm1Pr2gScsAIaXVuyVoCjmwOvgml pMUi7lgKfOhd5r7qGtnyS9LvTdnYmK/84v0R7FFlD4QJV83hl2K9Ypao/VR7u/BfuZ 7NVypo06/wFiJxUl2lniDatkNEhf00PVR4XsUzkQQc1eVB0GyR3zlmgbu9h+Ukwz74 m3BUkzigCTg4j3W47GexzyRICOfMB3aAn0qARVmo7fCELdflE7BPTt2KCfsWOV0ZqJ LWEVT7YnHjVgKnkuM9DOZvPByD20Zq5v8bQ1Z6WqmlWC8STFNTwP9bB6Rv/awIfk2e zyo15/AcjzjUQ== 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 7hcT8GppP3pz; Sat, 1 Apr 2023 17:27:16 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id A270541841; Sat, 1 Apr 2023 17:27:16 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A270541841 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 633351BF318 for ; Sat, 1 Apr 2023 17:27:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 3DD5541841 for ; Sat, 1 Apr 2023 17:27:15 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3DD5541841 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 RYKKSrCY2ipG for ; Sat, 1 Apr 2023 17:27:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org D673B41840 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id D673B41840 for ; Sat, 1 Apr 2023 17:27:13 +0000 (UTC) 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-110--4-w7UPHPEeTqBrChxPxQw-1; Sat, 01 Apr 2023 13:27:09 -0400 X-MC-Unique: -4-w7UPHPEeTqBrChxPxQw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 83CF1811E7C; Sat, 1 Apr 2023 17:27:08 +0000 (UTC) Received: from toolbox.redhat.com (ovpn-192-6.brq.redhat.com [10.40.192.6]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9B73340C20FA; Sat, 1 Apr 2023 17:27:06 +0000 (UTC) From: Michal Schmidt To: intel-wired-lan@lists.osuosl.org Date: Sat, 1 Apr 2023 19:26:55 +0200 Message-Id: <20230401172659.38508-1-mschmidt@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680370032; 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; bh=65Iz+2whr6rjm3xLsaaHebB1Q53TG1JVRojv1Hn702I=; b=QToOkDzGzjmg8s92chyVyrDu4Hu3I9rgeQCNq3uStY7rDFbSSR1lGujDBpa0djv4eLuOMT BBO33JcnOMDk8La+eIbs8cWFfFp6C78XRAaDys0J4zPgYxy+jwlAR8TtQQLsct8a5ngeXw eLcZOls9NhTQmkU1u6lAH1l2UEFqDfg= X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QToOkDzG Subject: [Intel-wired-lan] [PATCH net-next 0/4] ice: lower CPU usage with GNSS 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: , Cc: netdev@vger.kernel.org, Jesse Brandeburg , Karol Kolacinski , Tony Nguyen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" This series lowers the CPU usage of the ice driver when using its provided /dev/gnss*. Intel engineers, in addition to reviewing the patches for correctness, please also consider my doubts expressed in the descriptions of patches 1 and 2. There may be better solutions possible. Michal Schmidt (4): ice: lower CPU usage of the GNSS read thread ice: sleep, don't busy-wait, for sq_cmd_timeout ice: remove unused buffer copy code in ice_sq_send_cmd_retry() ice: sleep, don't busy-wait, in the SQ send retry loop drivers/net/ethernet/intel/ice/ice_common.c | 29 +++++-------- drivers/net/ethernet/intel/ice/ice_controlq.c | 8 ++-- drivers/net/ethernet/intel/ice/ice_controlq.h | 2 +- drivers/net/ethernet/intel/ice/ice_gnss.c | 42 +++++++++---------- drivers/net/ethernet/intel/ice/ice_gnss.h | 3 +- 5 files changed, 35 insertions(+), 49 deletions(-) -- 2.39.2 _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan