Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4265038pxu; Tue, 20 Oct 2020 12:18:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyikqPUtXiiqM/82OmwqoI0HKPy7p6EURQyIAp3tXFrmYZfY5B1kRSKkrmhyH1m4vev+M+C X-Received: by 2002:a17:906:a289:: with SMTP id i9mr4839584ejz.193.1603221480419; Tue, 20 Oct 2020 12:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603221480; cv=none; d=google.com; s=arc-20160816; b=O/xXSu8bAgurKPzkh/hokCzTsu1WkjRwey+lFzwp9DGoV0azTLjdSN/Kx8TxSLINp7 wH5uEr5X20rzHF90aPCHmjO7KUkPkgBgh5W6jLIfCgdiRKus6kLihMqcEsWgjk9qi9X6 Ts7O7jK82bjwIir5eYr51o8w5wdGHjeoIuaE37cVh2eDt9bAAz3l1dTbzGOLzk8DXdw5 vWxGknDb5/+utjpLlQaI/RA85m/+BJNg6cA51br40qgwzT/b3MpxPn3QYLDZgCudgIm+ grJN5gQEQxrNl3HMJwgZYY+NhR+Nm3q9oYcTILnX56k0IQYvInYzB3p+VuPl7OaGcGPc onaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=cmkO3TFZ8Q3+QsKuCjWunjM7/J3qMgBf8B4vRRFqzOM=; b=uBadSkXQAoKjePAiUwiCyMaOYDpFGMszsYqVWuB0uJTk+DZZALoelJhWxY9A4qpolG lfkoCiwiS/DGMA26PPLkD5J/x+dQjcVky8FS1fmB11WdFuz+I7lHv23jzE0hW3QmIiO/ 5/5vHhQ8dNQAWHgAgtrmaDVFSjBWR6gvBcSN8LJSHcB28gcHvthiCOF8J6YVOrwehMc4 NlfQYkoed/yH9Vh/SprQYaAEKiNqI3zeM9cTXezCYIbinrPJBnjhKdixDMu+dDgU8fvu 93kICimFixbOOXCfmk/nZ49aZAystvpe+7OEkB4Cx55SHzo1Al6mT42OxR9HJXvO0Myz N4Xw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si1776211edx.148.2020.10.20.12.17.37; Tue, 20 Oct 2020 12:18:00 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391358AbgJTEOL (ORCPT + 99 others); Tue, 20 Oct 2020 00:14:11 -0400 Received: from inva021.nxp.com ([92.121.34.21]:37574 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390069AbgJTEOK (ORCPT ); Tue, 20 Oct 2020 00:14:10 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id AD00C2003FF; Tue, 20 Oct 2020 06:14:08 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 822772001E3; Tue, 20 Oct 2020 06:14:01 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 597D540302; Tue, 20 Oct 2020 06:13:52 +0200 (CEST) From: Xiaoliang Yang To: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vinicius.gomes@intel.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, kuba@kernel.org, Jose.Abreu@synopsys.com, allan.nielsen@microchip.com, joergen.andreasen@microchip.com, UNGLinuxDriver@microchip.com, xiaoliang.yang_1@nxp.com, po.liu@nxp.com, claudiu.manoil@nxp.com, alexandru.marginean@nxp.com, vladimir.oltean@nxp.com, leoyang.li@nxp.com, mingkai.hu@nxp.com Subject: [RFC, net-next 0/3] net: dsa: felix: frame preemption support Date: Tue, 20 Oct 2020 12:04:55 +0800 Message-Id: <20201020040458.39794-1-xiaoliang.yang_1@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VSC9959 supports frame preemption according to 802.1qbu and 802.3br. This patch series use ethtool to enable and configure frame preemption, then use tc-taprio preempt set to mark the preempt queues and express queueus. This series depends on series: "ethtool: Add support for frame preemption" link: http://patchwork.ozlabs.org/project/netdev/patch/20201012235642.1384318-2-vinicius.gomes@intel.com/ Xiaoliang Yang (3): net: dsa: ethtool preempt ops support on slave ports net: dsa: felix: add preempt queues set support for vsc9959 net: dsa: felix: tc-taprio preempt set support drivers/net/dsa/ocelot/felix.c | 26 +++++++++++ drivers/net/dsa/ocelot/felix.h | 4 ++ drivers/net/dsa/ocelot/felix_vsc9959.c | 65 ++++++++++++++++++++++++++ include/net/dsa.h | 12 +++++ include/soc/mscc/ocelot.h | 11 +++++ include/soc/mscc/ocelot_dev.h | 23 +++++++++ net/dsa/slave.c | 26 +++++++++++ 7 files changed, 167 insertions(+) -- 2.18.4