Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030461AbcJQQzG (ORCPT ); Mon, 17 Oct 2016 12:55:06 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:57744 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936132AbcJQQyJ (ORCPT ); Mon, 17 Oct 2016 12:54:09 -0400 Date: Mon, 17 Oct 2016 12:53:53 -0400 (EDT) Message-Id: <20161017.125353.119289785321107013.davem@davemloft.net> To: niklas.cassel@axis.com Cc: larper@axis.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, niklass@axis.com Subject: Re: [PATCH 1/2] dwc_eth_qos: do not clear pause flags from phy_device->supported From: David Miller In-Reply-To: <1476685548-15574-1-git-send-email-niklass@axis.com> References: <1476685548-15574-1-git-send-email-niklass@axis.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Mon, 17 Oct 2016 09:53:54 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 17 From: Niklas Cassel Date: Mon, 17 Oct 2016 08:25:48 +0200 > From: Niklas Cassel > > phy_device->supported is originally set by the PHY driver. > The ethernet driver should filter phy_device->supported to only contain > flags supported by the IP. > The IP supports setting rx and tx flow control independently, > therefore SUPPORTED_Pause and SUPPORTED_Asym_Pause should not be cleared. > If the flags are cleared, pause frames cannot be enabled (even if they > are supported by the PHY). > > Signed-off-by: Niklas Cassel > Signed-off-by: Lars Persson These two patches do not apply to the current 'net' tree, please respin.