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=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 767EEC2D0DB for ; Mon, 27 Jan 2020 16:04:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4BC47206A2 for ; Mon, 27 Jan 2020 16:04:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="GZ2lCk7u" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729674AbgA0QET (ORCPT ); Mon, 27 Jan 2020 11:04:19 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:56192 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729146AbgA0QET (ORCPT ); Mon, 27 Jan 2020 11:04:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=IEhBXQolKdYdTh55pxpxJxonj6D/So7Ri+xcTzqeqVk=; b=GZ2lCk7u39OPIsQic6y7S9kHuz IQ3ZDuxN7wuHApEqWCr7hoqQwNqHFDoysHfsg/IlXa7GjrcLqKpPND5/2mo+bijyl6f6TkF3yDT4N B9KXqOm0ujo/xeNxsCGDadHvIPmok/mAwoQZFa3lh0jJp6tE6yGPcO44jNmNRBue26Kg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1iw6s1-00076Q-VG; Mon, 27 Jan 2020 17:04:13 +0100 Date: Mon, 27 Jan 2020 17:04:13 +0100 From: Andrew Lunn To: Vladimir Oltean Cc: madalin.bucur@oss.nxp.com, "David S. Miller" , Florian Fainelli , Heiner Kallweit , netdev , ykaukab@suse.de Subject: Re: [PATCH v2 2/2] dpaa_eth: support all modes with rate adapting PHYs Message-ID: <20200127160413.GI13647@lunn.ch> References: <1580137671-22081-1-git-send-email-madalin.bucur@oss.nxp.com> <1580137671-22081-3-git-send-email-madalin.bucur@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org > Is this sufficient? > I suppose this works because you have flow control enabled by default? > What would happen if the user would disable flow control with ethtool? It will still work. Network protocols expect packets to be dropped, there are bottlenecks on the network, and those bottlenecks change dynamically. TCP will still be able to determine how much traffic it can send without too much packet loss, independent of if the bottleneck is here between the MAC and the PHY, or later when it hits an RFC 1149 link. Andrew