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 X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8B07C433B4 for ; Wed, 14 Apr 2021 07:49:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8DFFE613C7 for ; Wed, 14 Apr 2021 07:49:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348254AbhDNHuR (ORCPT ); Wed, 14 Apr 2021 03:50:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:36644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232940AbhDNHuP (ORCPT ); Wed, 14 Apr 2021 03:50:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AE736613A9; Wed, 14 Apr 2021 07:49:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1618386594; bh=B/swpLIYOUk0FckuKYUGXIedOdWSlpgcFn7C2hrgD4c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TiZTVdoVVpxWtsCdRFtAbZ5mKMslnYYPgwYiFn3RbhzsJMgiR503cvq2LZRjT49vV o4roniKuLKkZ6jNk6dllAGpYwnyFG5yYTGicIpcQjVml17M4UssgLPiJnhzTFRuGc1 xTpqTu+o9X1sAK02p1xAEfhPa/zvjTsBN46yz+1M= Date: Wed, 14 Apr 2021 09:49:51 +0200 From: Greg KH To: Heiner Kallweit Cc: Jakub Kicinski , David Miller , Realtek linux nic maintainers , "netdev@vger.kernel.org" , "stable@vger.kernel.org" , Roman Mamedov Subject: Re: [PATCH net] r8169: don't advertise pause in jumbo mode Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, Apr 14, 2021 at 09:40:51AM +0200, Heiner Kallweit wrote: > It has been reported [0] that using pause frames in jumbo mode impacts > performance. There's no available chip documentation, but vendor > drivers r8168 and r8125 don't advertise pause in jumbo mode. So let's > do the same, according to Roman it fixes the issue. > > [0] https://bugzilla.kernel.org/show_bug.cgi?id=212617 > > Fixes: 9cf9b84cc701 ("r8169: make use of phy_set_asym_pause") > Reported-by: Roman Mamedov > Tested-by: Roman Mamedov > Signed-off-by: Heiner Kallweit > --- > This patch doesn't apply cleanly on some kernel versions, but the needed > changes are trivial. > --- > drivers/net/ethernet/realtek/r8169_main.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.