Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1777354pxv; Fri, 2 Jul 2021 11:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ9cFGxt7gTZCrqc4MD5v50svETStPnSBVBpHecX3qEYFEvPqMXfgPiWLZELYnpXdug166 X-Received: by 2002:a17:906:3e8d:: with SMTP id a13mr1185632ejj.463.1625252253571; Fri, 02 Jul 2021 11:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625252253; cv=none; d=google.com; s=arc-20160816; b=ViOideiBYn3JgjycDIpMlynRqYVp/rNrFmVcXLbkhaB4KrNXgdE/AoyjSEDIqX/EwF Em887Ec1sDjJAXOyB24UXQZFT19OU52Lew8h+H4gQ/4wVuZwV71ArGhc/Tpu3r7eeunc 3c6bckcDI2VcyS8RpIqbj4UydibGnFVwEZ1rTVGPP0EQwTDXCN523SrP2YOvDUoKN0U1 LWotakYtDpcx7bthvvu9fPedo4ijlLQM8Cdt6TC+AWvvmTgcdS8yNz85SYaXMNOdEO0y KnX7/JmCztzr8e2gZ1Gewv8i/55iXCnJu+DXNxpJwpWiC/lYpLOFjEQB1chOYXsO1zro +mbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QnxHrZH5TWL1N06AJbrxLJ9YI1K5/doFSo4SvZ/a5v8=; b=hn+R3Sw2OFsyWtjhSdfnxkIMrfLsJ60IuxWpK/KT2FDprHESTaOYq1CKckDIp04Pfk /4aoDnJvHA9fqutGC19nvTgWbgmKa5gmRNx5rtlZg9Heb5/mzDivAQ604xnV+vqVtE2n 4xfvetsO9Xqa1czuUywXe1Au5oKc78KZAYjILIy0ucTM2lupvFVfDwLF8nxy20EvAUl/ aSH7Q4mZuiTM1HYOJMYb9YZkmFRjpc2FpA+ZGyp0hksHmVofBrkDvPjI4QX+5vdQzbX4 R7w8Ozv1u6GazxqMv3Bl1ZmWxGU1F9cAKBNJ5qsPsBdNB2TXfHCKSOnvcfXEgZCexT3E H4Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="oZfr/Y05"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si501014edu.392.2021.07.02.11.57.09; Fri, 02 Jul 2021 11:57:33 -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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b="oZfr/Y05"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230229AbhGBSz2 (ORCPT + 99 others); Fri, 2 Jul 2021 14:55:28 -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