Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1278541pxb; Fri, 22 Jan 2021 11:18:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDwOr5/RAYZ6M7BDvhYl86lD4UW7SvCaVpV9xhy8bMk5IAyro1skyTVCmXG0l1rp/6JVz+ X-Received: by 2002:a17:907:1119:: with SMTP id qu25mr3925761ejb.268.1611343083139; Fri, 22 Jan 2021 11:18:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611343083; cv=none; d=google.com; s=arc-20160816; b=DLLKUxvtEO+DGMb0fbU9CbJkD+Y/F1nyGamgdlLkGvFWd0fUaWTL4ctT7HAndjaR1b el4sjicekgeKIwdxP9xvHqtK2xH97UuyXxlSkVl1cmrxt2HdURcrAfKbNERppuN50D2d exAiAj+jPMZblue+IqUonf4u43Bm/NgFlIR7FMJwGp92SUWP7oOqN2fyNy8qg37y9TO+ nJ4ZW5ipVxtp1BVMdNVU12iCH6ApqrcfkN3jEUUZXNYADH0bfOuFhiHR7MBLxmW6Wn0c ftKyA/a5AeNL6CVg5wTDbNesbGeTfPSpb30wOiw0OqhHLLtQSdU4NR4Z+bk31y+h9I/5 fZgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=BKjCiY7i8r1zcxyJRe/+QURJKHtZEq9AONXRxqsPOpY=; b=yi93Kvq/1HzRtLEnqpPTEgZLP1L5LucFpevPXzvFPQFMNuLpg8VvYXPBAEPzP4IE4M Lw5hOnbjJqrSv74kB+IT8s2uNDj8IXjjCGpT84tE2VG/VPBUYjxWsOXk3hL4lqKSIzHD Y5l4pjOd9zu1hfTcYH5mkgsJAigxoV3bp2CbKXA7pMlbCzUJyYDAERwJVeLI6J6Uiq5j qYD9+GCSrorLxvGD2RZHq9M68AGoEQhsHNuBqYMDoYTnoDn0zQQDr5g/BZvolf3kVDwU Ww3YiTOFxqMNcdEBUxYcdyk0LXvQCaqxufSILvaAnuItc0x6muTSQ81SNJA6HMwHKVmh sucA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="D/ikN2jC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c13si4044176ede.559.2021.01.22.11.17.38; Fri, 22 Jan 2021 11:18:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="D/ikN2jC"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728522AbhAVTHl (ORCPT + 99 others); Fri, 22 Jan 2021 14:07:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:39962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728538AbhAVOWO (ORCPT ); Fri, 22 Jan 2021 09:22:14 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3BAA723AF8; Fri, 22 Jan 2021 14:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611324978; bh=QbgaV8qTx959Oh2XOlCMlZHRt+0U8dHoNXiXXyuFuOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D/ikN2jCqi9ZYk2hZiVIqY5ptQfN7IPowAu228m6HsduxGllu1ZTVLcqIctZheNYN bzFL7iNurkRy1WKtm1OPrLfGrWFw6Iil1CH58eByyE4+ZX97UGGfcGgaPpYy0ZNu9t zBqwfY5ZXdUvEjPeu9qucgCwb6Bi1Qxs7eXcnW6E= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefan Chulski , Marcin Wojtas , Jakub Kicinski Subject: [PATCH 4.19 08/22] net: mvpp2: Remove Pause and Asym_Pause support Date: Fri, 22 Jan 2021 15:12:26 +0100 Message-Id: <20210122135732.249256333@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210122135731.921636245@linuxfoundation.org> References: <20210122135731.921636245@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stefan Chulski [ Upstream commit 6f83802a1a06e74eafbdbc9b52c05516d3083d02 ] Packet Processor hardware not connected to MAC flow control unit and cannot support TX flow control. This patch disable flow control support. Fixes: 3f518509dedc ("ethernet: Add new driver for Marvell Armada 375 network unit") Signed-off-by: Stefan Chulski Acked-by: Marcin Wojtas Link: https://lore.kernel.org/r/1610306582-16641-1-git-send-email-stefanc@marvell.com Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c +++ b/drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c @@ -4266,8 +4266,6 @@ static void mvpp2_phylink_validate(struc phylink_set(mask, Autoneg); phylink_set_port_modes(mask); - phylink_set(mask, Pause); - phylink_set(mask, Asym_Pause); switch (state->interface) { case PHY_INTERFACE_MODE_10GKR: