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 C18B6C77B61 for ; Sun, 16 Apr 2023 06:41:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 417B6427CE; Sun, 16 Apr 2023 06:41:55 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 417B6427CE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1681627315; bh=k+uztia1p8vU86JG6zF+h82Xgt1mfsB15SVavQNvw7g=; h=Date:To:References:From:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=cN8NFiVHvb03X+QReg6dZS8AqcW3PCweKRNBbEHcrpKiCT7MQ+jEj25QvKfUPBtan 2Vb2Cjhs8CtCerFpO95iXbMoFNQG90wHqdg4wUnZryv6GrQaGEOdVZlNQcemRBfSjb 3z5zb+QzaTrzT4jHUppkBBiTW5bq0RfXnwpejDnkVgXgznYd0TQhIKsc9ndBknl71Q vvWekowtOjl+ea9xLcHFamu8+YI15S0Iz27In5AgBlV8Z2SI1ynzWLYYl2h5uphtq8 c2lC3OWaLN41RPUBXCXfybPbA0lq7Ibr4o74L2LMFb5C8A8Lboqk2FpvFcecchxK2R xmLoL7o2E0plw== 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 gX3jZ-0rCDFA; Sun, 16 Apr 2023 06:41:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 27D6A427CF; Sun, 16 Apr 2023 06:41:54 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 27D6A427CF Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id B01F61BF23C for ; Sun, 16 Apr 2023 06:41:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 88617427CF for ; Sun, 16 Apr 2023 06:41:52 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 88617427CF 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 ACqz6JW36UPm for ; Sun, 16 Apr 2023 06:41:48 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 34343427CE Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by smtp4.osuosl.org (Postfix) with ESMTPS id 34343427CE for ; Sun, 16 Apr 2023 06:41:47 +0000 (UTC) X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="431001711" X-IronPort-AV: E=Sophos;i="5.99,201,1677571200"; d="scan'208";a="431001711" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2023 23:41:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="864650566" X-IronPort-AV: E=Sophos;i="5.99,201,1677571200"; d="scan'208";a="864650566" Received: from naamamex-mobl.ger.corp.intel.com (HELO [10.13.12.36]) ([10.13.12.36]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2023 23:41:44 -0700 Message-ID: <82bf9fbf-c6dd-7d76-c3c1-9f146883ed10@linux.intel.com> Date: Sun, 16 Apr 2023 09:41:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 To: Mateusz Palczewski , intel-wired-lan@lists.osuosl.org References: <20230323113538.146959-1-mateusz.palczewski@intel.com> Content-Language: en-US From: "naamax.meir" In-Reply-To: <20230323113538.146959-1-mateusz.palczewski@intel.com> 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=1681627308; x=1713163308; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=lpKMQYulXm8DN4M+IXqRLY9J5kOkxWWMc5gvUtIOZns=; b=O1AKNVHxdsb2PDrsHZMGrNdEvstUlvUSJNBxLIsYFryVZTgpIJNQpv53 ec5uxoFOYRMs2uJ9+hJGHJDLQChhIyLa1l9FiwAQbGhEkgrveR75i8F/U MYfhRpu0wKx/m+VeU/BXfpft/gB7bvdz7rmYd+TNbZtAap+opijVfrlOc OBiu6BaihF7KlVCVj/3LF10ycV0KqgX5ExfXEjfFC+EQX/8w3WRfXG06L oImMX9p+ObqBnR8a8D3AXxOEXx39n9pNfQPA7RXcSwDiWqz8sTO6nNEi2 TL06k3f63yJ8wm/x0HXJUEPIEm22QE+bR6JXimYb8c0IKrUC+mfRkFfY6 Q==; 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=O1AKNVHx Subject: Re: [Intel-wired-lan] [PATCH net v4] e1000e: Disable TSO on i219-LM card to increase speed 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: pmenzel@molgen.mpg.de, kai.heng.feng@canonical.com, Sebastian Basierski Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On 3/23/2023 13:35, Mateusz Palczewski wrote: > From: Sebastian Basierski > > While using i219-LM card currently it was only possible to achieve > about 60% of maximum speed due to regression introduced in Linux 5.8-rc1. > This was caused by TSO not being disabled by default despite commit > f29801030ac6 implementation. Fix that by disabling TSO during driver > probe. > > Fixes: f29801030ac6 ("e1000e: Disable TSO for buffer overrun workaround") > Signed-off-by: Sebastian Basierski > Signed-off-by: Mateusz Palczewski > --- > v4: Moved whole !(adapter->flags & FLAG_TSO_FORCE) block to probe > v3: Changed the patch to disable TSO during the probe > v2: Fixed commit message and comment inside the code > --- > drivers/net/ethernet/intel/e1000e/netdev.c | 53 ++++++++++++---------- > 1 file changed, 28 insertions(+), 25 deletions(-) Tested-by: Naama Meir _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan