Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3767918ybl; Mon, 13 Jan 2020 02:14:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyl5U1GtFME6DhHpUngzAy2Q2FVR65aaHXuqP4WnNXchd5uqjD4UhQtuv/GgaQr6t4abH3m X-Received: by 2002:a05:6830:2053:: with SMTP id f19mr11926455otp.193.1578910472682; Mon, 13 Jan 2020 02:14:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578910472; cv=none; d=google.com; s=arc-20160816; b=WedzcpE1PfP2AyrkOulvkRy/b1d9pmOi5REbMqm/fSKIBmI3ank3cgXxU+Q4ByO6bP TtzwnuJRIAcL5FrREg6Zymx/QslWpeLuzv3lHSuL2mHiMfU3ZNYqLM/Lcqs0nQa0rPJr J7bqvG8CVD6SmvP5+U4+dSgBDfLQxjxFX5Czy+WuBBREHvsZNGTXZGptTyeIlGfsOjrU v49vGBuzA/02psCmNQ2KJMnvCPTREIwQLTKW9A/vaj0cEO7xSMQKEqWj+qgEAslydBjz FicsmeRamfLtKcdnDiRyCM5SN19sLJkJE1KJ7uA+DnDDsZlhYKZp8Qr0inODNboBH05L ZFxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=IJjEUNZ/pvvVinDI9avjR1ZFPjwKnaVOuLFcV6R1S28=; b=w2hZ7agpDEJzrkgx5PLnHP0m46/qyPmMB7v7AL4sN0RpAGvIyvbywIrSu+54jGFGDS XalG6bMKsuytASIihOdUZCPoKz/S0mFhCU5h+aEhMkpE0oQPRRpzJhRXfxaj/iKIzAfW AWllIyr6Wq0Ssrdn5hOuAX50WmzFEGsJ/cOh/4US5V5+tgZmpai6H8UeirszjEOUzYVk 7P7KGV1Hs0zjrFFFpubOo0toJOzm1wRBkeXNSwAZkP5iRt3cgXz9VB7u3GjfLIG7tuZq 5cHR35crUxq/gZeNTF4vpFaxAASGabahTx/hU282sn+U2C7IyTnO02YtMWFLecm/RGFX tLyw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s3si6382225otr.57.2020.01.13.02.14.21; Mon, 13 Jan 2020 02:14:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728668AbgAMKN0 (ORCPT + 99 others); Mon, 13 Jan 2020 05:13:26 -0500 Received: from mga03.intel.com ([134.134.136.65]:10161 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbgAMKNZ (ORCPT ); Mon, 13 Jan 2020 05:13:25 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jan 2020 02:13:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,428,1571727600"; d="scan'208";a="397116735" Received: from bong5-hp-z440.png.intel.com ([10.221.118.136]) by orsmga005.jf.intel.com with ESMTP; 13 Jan 2020 02:13:21 -0800 From: Ong Boon Leong To: netdev@vger.kernel.org Cc: Jose Abreu , Giuseppe Cavallaro , Alexandre Torgue , "David S . Miller" , Maxime Coquelin , Ong Boon Leong , Tan Tee Min , Voon Weifeng , linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH net 0/7] net: stmmac: general fixes for Ethernet functionality Date: Tue, 14 Jan 2020 10:01:09 +0800 Message-Id: <1578967276-55956-1-git-send-email-boon.leong.ong@intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch-series that fixes couple of issues in stmmac:- 1/7: It fixes the incorrect setting of Rx Tail Pointer. Rx Tail Pointer should points to the last valid descriptor that was replenished by stmmac_rx_refill(). 2/7: It ensures that the real_num_rx|tx_queues are set in both driver probe() and resume(). So, move the netif_set_real_num_rx|tx_queues() into stmmac_hw_setup(). 3/7: It fixes missing netdev->features = features update in stmmac_set_features(). 4/7: It fixes incorrect MACRO function defininition for TX and RX user priority queue steering for queue > 3. 5/7: It ensures that the previous value of GMAC_VLAN_TAG register is read first before for updating the register. 6/7: It ensures the GMAC IP v4.xx and above behaves correctly to:- ip link set multicast off|on 7/7: It ensures PCI platform data is using plat->phy_interface. Thanks, Boon Leong Aashish Verma (1): net: stmmac: Fix incorrect location to set real_num_rx|tx_queues Ong Boon Leong (2): net: stmmac: fix error in updating rx tail pointer to last free entry net: stmmac: fix missing netdev->features in stmmac_set_features Tan, Tee Min (1): net: stmmac: fix incorrect GMAC_VLAN_TAG register writting implementation Verma, Aashish (1): net: stmmac: fix missing IFF_MULTICAST check in dwmac4_set_filter Voon Weifeng (2): net: stmmac: Fix priority steering for tx/rx queue >3 net: stmmac: update pci platform data to use phy_interface drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 10 ++++++---- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 9 +++++---- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 16 ++++++++++------ drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 14 ++++++++------ 4 files changed, 29 insertions(+), 20 deletions(-) -- 2.7.4