Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp348963imm; Tue, 3 Jul 2018 20:58:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcaCITVh2i+D1oxhvlVRdj0nTYZslZ2fKJmBY5j8+lTFAFOL+OPROR284RjdC/UPwnE6iHn X-Received: by 2002:a17:902:9a95:: with SMTP id w21-v6mr451261plp.168.1530676694671; Tue, 03 Jul 2018 20:58:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530676694; cv=none; d=google.com; s=arc-20160816; b=iyCJrNJUqPVOQyOAU4Trs6UcaQq8aYu5H2K5XTCfpvxC+/Hqe+BOTV4nX2SKy+lYiV 39lknFQq0H6BuJQDI7VNdGaEGc56Hd7RpDjCNJ3pXgq3IMvLUwXi6Dhkj79S62iG+x9P JzBU8k4PCpcKYLWgvC/e20hk6hYDH2QT7SbvI1ZhNb4dOmq8yhK0Wx+L44m6f1aDEtuJ NWIzu8ZSt6JGCOA+xWW/6bm8eUasw6a5vPz9bnD+lvwJ37BVSL/ia8UFtVE4rUXnSsjg If0S8n6JvRzYCYxdt5Kyo4Nxossb49VebF2uKoQRr2wgXdPQkYoFqAUlNTTRiIacPwbe r+hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=XCfJ1q/s8k0/2r67a1QIskpwO6bgnJqfEowKz/dv6+4=; b=FP3WW4QuQSi7NdJTNQz4gyefYzozcRMkx8GA4+7fcBSBa8Q46h7uzl/GzUPvftah1j t4Jk0VS7lRymtzrs/3P1XrAbExo2WYmdNSbpzVL9jaLNqFU6CSSwegNhR2BhC9g31ZFI QzUoPucoeTk34/r+6QqDZYO0A+jF0PXLkj9qIabh5cM7/VicfeFb/zqLJvii+q++u1rW 2+gQwLYqs6U1WsP+d8OTJ2yMIsjHbycY/v5xnAptpRyCypG1oqwzI3tG6wBM07Y5n9LY 85Q++4yq3lDbbHiTaukFwZfiGUm3BBw/GKFwUn/eOS67vUJ4CWYHH9jl4MN7dB5BAMXD h5wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="A/due6mo"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q79-v6si2762647pfk.268.2018.07.03.20.57.59; Tue, 03 Jul 2018 20:58:14 -0700 (PDT) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="A/due6mo"; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933094AbeGDD5R (ORCPT + 99 others); Tue, 3 Jul 2018 23:57:17 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60668 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932434AbeGDD5P (ORCPT ); Tue, 3 Jul 2018 23:57:15 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id w643v0UD008818; Tue, 3 Jul 2018 22:57:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1530676620; bh=XCfJ1q/s8k0/2r67a1QIskpwO6bgnJqfEowKz/dv6+4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=A/due6mo2ZR2yuYlEextDnZutuK0T+5fLqlsmLYZ4bS1CgYMe10OdFtns0d2iX1y4 h3Q+Ab6GwCFpt/5tcJ2G4NuW4GrkIHsAw2mMYtL6lgOyYwQKJk3qKW8pFUx9zDWaUH 9PCh+Fac9lvZYZbXJ4Erl8Cj6w0piSM2KRsKeVt8= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w643v0uJ019618; Tue, 3 Jul 2018 22:57:00 -0500 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 3 Jul 2018 22:56:59 -0500 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE115.ent.ti.com (10.64.6.36) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1466.3 via Frontend Transport; Tue, 3 Jul 2018 22:56:59 -0500 Received: from [172.22.187.102] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id w643uxPk019065; Tue, 3 Jul 2018 22:56:59 -0500 Subject: Re: [PATCH v3 net-next 0/6] net: ethernet: ti: cpsw: add MQPRIO and CBS Qdisc offload To: Ivan Khoronzhuk , CC: , , , , , , , , , , , , , , , References: <20180615181310.10437-1-ivan.khoronzhuk@linaro.org> From: "Strashko, Grygorii" Message-ID: <82972d3a-c098-b97d-26cf-a9642b858142@ti.com> Date: Tue, 3 Jul 2018 22:56:59 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180615181310.10437-1-ivan.khoronzhuk@linaro.org> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ivan, On 6/15/2018 1:13 PM, Ivan Khoronzhuk wrote: > This series adds MQPRIO and CBS Qdisc offload for TI cpsw driver. > It potentially can be used in audio video bridging (AVB) and time > sensitive networking (TSN). > > Patchset was tested on AM572x EVM and BBB boards. Last patch from this > series adds detailed description of configuration with examples. For > consistency reasons, in role of talker and listener, tools from > patchset "TSN: Add qdisc based config interface for CBS" were used and > can be seen here: https://www.spinics.net/lists/netdev/msg460869.html > > Based on net-next/master > > v3..v2: > - corrected typo of "shaper" word, any functional changes > > v2..v1: > - changed name cpsw.txt on ti-cpsw.txt > - changed name cpsw_set_tc() on cpsw_set_mqprio() > > Ivan Khoronzhuk (6): > net: ethernet: ti: cpsw: use cpdma channels in backward order for txq > net: ethernet: ti: cpdma: fit rated channels in backward order > net: ethernet: ti: cpsw: add MQPRIO Qdisc offload > net: ethernet: ti: cpsw: add CBS Qdisc offload > net: ethernet: ti: cpsw: restore shaper configuration while down/up > Documentation: networking: cpsw: add MQPRIO & CBS offload examples > > Documentation/networking/ti-cpsw.txt | 540 ++++++++++++++++++++++++ > drivers/net/ethernet/ti/cpsw.c | 364 +++++++++++++++- > drivers/net/ethernet/ti/davinci_cpdma.c | 31 +- > 3 files changed, 913 insertions(+), 22 deletions(-) > create mode 100644 Documentation/networking/ti-cpsw.txt Sry, for the delay Reviewed-by: Grygorii Strashko