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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 BE0E9C433E7 for ; Fri, 16 Oct 2020 21:18:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 64ED2218AC for ; Fri, 16 Oct 2020 21:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602883116; bh=XcsU3KYYUEf3RHfIF6F28LVWZtTJo4TThgBxMY/B+Yc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=wGCswwD8McChGNqejoOCLksJRWJuLvRmUHM+qFPnmuWnAt8FEBcwplU001gIos5kI gNXLoLg/3/PNczp1DSFC7FDo3q0tkGWwQegkSC5D3VPxPGmdauivBBJTcaa9d5Noyu 8y1A4uK6WjGDosMeoqTyIZ/PkSshptpWYhW6xkdI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2411128AbgJPVSf (ORCPT ); Fri, 16 Oct 2020 17:18:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:47714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2411094AbgJPVSf (ORCPT ); Fri, 16 Oct 2020 17:18:35 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 718DF214DB; Fri, 16 Oct 2020 21:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602883114; bh=XcsU3KYYUEf3RHfIF6F28LVWZtTJo4TThgBxMY/B+Yc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c+1ZF5UckhzqDbNo9ThnCP0/jdzG24klZ5VLmSaMjPysdNUH2NaT3ipqCRN8ZtZYo C+gCnJOBtpKj8L3PnnfRk3nXBOqZWTK7zUPicltVlEjEz2DFANSXpsiPxKF+xmdbs+ W7UZCkLae2GGu6MasK53egvXVEd+GkwV1X7kwiNY= Date: Fri, 16 Oct 2020 14:18:32 -0700 From: Jakub Kicinski To: Hoang Huu Le Cc: jmaloy@redhat.com, ying.xue@windriver.com, netdev@vger.kernel.org Subject: Re: [net 1/2] tipc: re-configure queue limit for broadcast link Message-ID: <20201016141832.6d574ddf@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201016023119.5833-1-hoang.h.le@dektech.com.au> References: <20201016023119.5833-1-hoang.h.le@dektech.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, 16 Oct 2020 09:31:18 +0700 Hoang Huu Le wrote: > The queue limit of the broadcast link is being calculated base on initial > MTU. However, when MTU value changed (e.g manual changing MTU on NIC > device, MTU negotiation etc.,) we do not re-calculate queue limit. > This gives throughput does not reflect with the change. > > So fix it by calling the function to re-calculate queue limit of the > broadcast link. > > Acked-by: Jon Maloy > Signed-off-by: Hoang Huu Le Applied both, thanks!