Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp477268yba; Sat, 4 May 2019 06:25:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwPl5KKPuUidYZzsBduCsrz1oY12n7iU//oaWOy8ZDumShen8Y7rjoWmdtUKArSSXF6NkV X-Received: by 2002:a63:8149:: with SMTP id t70mr18825710pgd.134.1556976301329; Sat, 04 May 2019 06:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556976301; cv=none; d=google.com; s=arc-20160816; b=ak9uPxwMmSavh2jvafK+l75qnGdzN0N8xnKh1mA8BfcjNhqocYv1WdyEhGE2tKLT+N XMKtvBwSWCgFXiyh1Wu57W9eJCjUhQ2XKyjvTTzsThsoL0sBa/iM2IjffVPVuM8H1hiU IJYe9FlDD1B9MMdooEzpCEhpst4YRZRRvP6ELj4d/6VKXSxMAZ1ggG7IlKwrW5pc+m+I vnS/N/l701XVYFeFoh8yzp7nb8KnQE8eHT/Mie6Hc9L2qhXbKRHRBVVwYQwdPnMYsbuR 2xWZSoGPBcNKS0L9wtzJJmLIgRpoXzOB9xxM/VkZM8o1pIVY0ilE26zu1Z4YlCARzrLh PpFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bIX74g/Ebw6UXLbNNWzw4fo2NH6a/QGR4Dtf+2q0aD0=; b=bILXPOTR9MCw1nsChArJbMvKzmFqPVk7rAmj8QS1jMffJT4J2osPzCuQVcPDWXSlD2 BaR6O3Pulu9Y/Yo2ISbAJx0dKTVLSHaiHGGd2mXXq1xq4H95N0U3Yv0PDVCsUeBLuyAv FG4GjJ/2DmvCikT+u+roY9LVc3zjjMkyB7Jqxo6KAEWmssvy9yd0kq9Z5so9enOEC40w aJdFo9LVDNOkBEXnzgBWifi5O4l3Hts8RA/x33Prnk/g/kaxrFEg3XtKsaBybgYUppvO MM/fK/nii0SwdjPXI4Lvyu8GwUltXl2Qt1Yvn4X/sN8ObSf1Y0tNQ9H0HEtk7KtPollJ GGSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=aP+Gx+n9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si6842990plk.108.2019.05.04.06.24.15; Sat, 04 May 2019 06:25:01 -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=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=aP+Gx+n9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726965AbfEDNH3 (ORCPT + 99 others); Sat, 4 May 2019 09:07:29 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36470 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726529AbfEDNH2 (ORCPT ); Sat, 4 May 2019 09:07:28 -0400 Received: by mail-wr1-f67.google.com with SMTP id o4so11254387wra.3 for ; Sat, 04 May 2019 06:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=bIX74g/Ebw6UXLbNNWzw4fo2NH6a/QGR4Dtf+2q0aD0=; b=aP+Gx+n9L5sgKnRZXtE6elh0uIqEirFfd9dC/RjHG7mBwU5GkfZt+biVib7L8y7QY6 dB91OsrwoO4Kbs/sHONdfQpNVZs2KlTov88VbHc3+F8qWLt3qhWdNyr8bQ3ZzrHFMaWl dZTXrCnFSf9Yz9aIDpUWxKvng6Hdbde+70aL9ypnubKpCcF3cVVg6wnPnvamrVtLPv6C I2YqBku+LkKGGkrRN8aeOfMQzueLc0oLxr1t/zh8aj/jK0T19rec0Q/SAs9DQJ2IuOMA 3q/iObDu7GOwHbVEvJZhlr1f/MTuwQyyGRykr1u8p6J1LB0lumbNSrTL5tfDSohbv3bd b4TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=bIX74g/Ebw6UXLbNNWzw4fo2NH6a/QGR4Dtf+2q0aD0=; b=kVgkCIp3eiA9KqKPDz5+tUI94EqKgfNj+ugMaB8VRRo5GPa6/hiQn8i4m8Cl3Q1qws JRR/IulyprDjGRLs8q6GjhHlvFcIeYhOzoPy48wwZFWDsdeVGyGXW/JFME3raafNT0iv u48m+KO/4c+UVgjwVf1MMrKtBUGnS/iht+Blq/nxGZJkPgpBHU+nuCvn5ALH8hI2ERTI myFZW4fTiAYph083gTaHZn8snplO5grTHFFAfuYklWIvVqGQmeqx7nTEzs2sK+PGBLhZ c+F0RUAv4Rnniau8H+C3g1GeCoK9ilP0jjSUYu4EOXBlYeaE0PSUEaucSO6mtGXEWhCw 9GFg== X-Gm-Message-State: APjAAAX5+MeJQV4gSWNiCGT6M4hQMwjdnaJtFNHiJ2Jie+CJ339OlJpk uzOCPQY5kZ5ilIc4f6StB2+Y7w== X-Received: by 2002:a05:6000:3:: with SMTP id h3mr10677218wrx.314.1556975247343; Sat, 04 May 2019 06:07:27 -0700 (PDT) Received: from localhost (jirka.pirko.cz. [84.16.102.26]) by smtp.gmail.com with ESMTPSA id d6sm3457846wrp.9.2019.05.04.06.07.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 May 2019 06:07:26 -0700 (PDT) Date: Sat, 4 May 2019 15:07:26 +0200 From: Jiri Pirko To: Joergen Andreasen Cc: netdev@vger.kernel.org, Jamal Hadi Salim , Cong Wang , Alexandre Belloni , Microchip Linux Driver Support , "David S. Miller" , Ralf Baechle , Paul Burton , James Hogan , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Jakub Kicinski , pieter.jansenvanvuuren@netronome.com Subject: Re: [PATCH net-next 2/3] net: mscc: ocelot: Implement port policers via tc command Message-ID: <20190504130726.GA14684@nanopsycho.orion> References: <20190502094029.22526-1-joergen.andreasen@microchip.com> <20190502094029.22526-3-joergen.andreasen@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190502094029.22526-3-joergen.andreasen@microchip.com> User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, May 02, 2019 at 11:40:28AM CEST, joergen.andreasen@microchip.com wrote: >Hardware offload of port policers are now supported via the tc command. >Supported police parameters are: rate, burst and overhead. Joergen, please see: [PATCH net-next 00/13] net: act_police offload support That patchset is also pushing flow intermediate representation for this, so I believe that you should base this patch on top of that.