From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34321C07E95 for ; Fri, 2 Jul 2021 18:52:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0D0156140E for ; Fri, 2 Jul 2021 18:52:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230249AbhGBSz3 (ORCPT ); Fri, 2 Jul 2021 14:55:29 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37932 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229645AbhGBSz2 (ORCPT ); Fri, 2 Jul 2021 14:55:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=QnxHrZH5TWL1N06AJbrxLJ9YI1K5/doFSo4SvZ/a5v8=; b=oZfr/Y05JNnbwsqEHoTG0CNjXN 6NSOX3Z/ovRFT/4f6pTD8jAKA55rQtPqe0fKozZFWUgD8pVy9yksiwLY5h2jnwFF52FQKBa/koJ+P CLzmAAg//Ffe5hoz+TeVRTmucg4A5WoM3T490kHGlIhZdr0L4kZ3TWYnVyD7U1cMX/2E=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1lzOHL-00Bx8K-4c; Fri, 02 Jul 2021 20:52:43 +0200 Date: Fri, 2 Jul 2021 20:52:43 +0200 From: Andrew Lunn To: Vadym Kochan Cc: "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, Jiri Pirko , Vladimir Oltean , Volodymyr Mytnyk , Serhiy Boiko , Taras Chornyi , linux-kernel@vger.kernel.org, Mickey Rachamim , Vadym Kochan Subject: Re: [RFC net-next 0/4] Marvell Prestera add policer support Message-ID: References: <20210702182915.1035-1-vadym.kochan@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210702182915.1035-1-vadym.kochan@plvision.eu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 02, 2021 at 09:29:11PM +0300, Vadym Kochan wrote: > From: Vadym Kochan > > Offload action police when keyed to a flower classifier. > Only rate and burst is supported for now. The conform-exceed > drop is assumed as a default value. > > Policer support requires FW 3.1 version. Because there are some FW ABI > differences in ACL rule messages between 3.0 and 3.1 so added separate > "_ext" struct version with separate HW helper. This driver is less than a year old, and it is on its third ABI break? It is accumulating more and more cruft as you need to handle old and new messages. Maybe you should take a harder look into your crystal ball and try to figure out an ABI which you can use for 12 months or more? Or just directly address the hardware, and skip the firmware? Andrew