Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp7104858pxv; Fri, 30 Jul 2021 10:04:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJtU8xCQnCslyMhIHti39DFlAlCmIgvUzXpzC3p9QaCdrnwtq0fU8AmgpGvqRz8Kp5KsHc X-Received: by 2002:a17:906:c013:: with SMTP id e19mr3529860ejz.389.1627664674448; Fri, 30 Jul 2021 10:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627664674; cv=none; d=google.com; s=arc-20160816; b=YXlkUbDB/zga1v81xApX1Phs8t94M5QAzQ6OrNEU9Xz/o7DDMjuQK4pKSfNglTqHBa ZONYz0ARrpT1BCHbg8lY/c9RxPnu6dVdzntwE97SLhTt1qcrWm0towvWQjGIb5BwV8b3 Udrpz6VY3JU652MrE1G3cuRVCAAFJu4Tvlt44b/w/A9KqB3f/TuiT9a4Ru8XUNNUtwX1 eURWgDMvRxvUbptpJE6wdlWUGQi/i3+nDfHb6lGltHxC3BP58S4UMOWj9tCBRBCtgmud d9SA0spLqy0z7IuRByOu11MZJJklk6zO7NVz5q2Ruw2dfz/NN0euSWCea8s9ljRJTaVF Al5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=a4KHeRxclNA/wO380kUmSIWzQay1gXnXlXk1+VMSD50=; b=UfgonbXxCugX0KFjwTvavoyLy3QEnveRrrKnNUWdOBB7Qexqh4KxUi1JlipIk1w9iw qVUbaBqsslEL0uiT1SGSZWrZ45Mro6eED/Uogg/GZ599iqsdxjCfV37ljeL2JuNHr9QP ri5qxX/+McB5s6fIX7A8TrqkUHEi6rd32zZekJvFomOzJbEZvEPDTlhyoQv3SWbxreWx schqphcfvIiZT70ahCSPZ2TQkOC4/miKpFATRf0hy0oIgEkqSaVf0ZAuGPfpwJgG/mvH GDUnbopvzOxuHQCj8trf1ssnDPCQQKDJg8nInOOmw6uyTaCWYMGwUk+dfaEeQfdBs/qu Jbqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YJ9fXD+k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cw2si2298126ejc.730.2021.07.30.10.04.08; Fri, 30 Jul 2021 10:04:34 -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=@kernel.org header.s=k20201202 header.b=YJ9fXD+k; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229958AbhG3RCl (ORCPT + 99 others); Fri, 30 Jul 2021 13:02:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:55472 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbhG3RCj (ORCPT ); Fri, 30 Jul 2021 13:02:39 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2515460BD3; Fri, 30 Jul 2021 17:02:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1627664554; bh=nNQUqMcwW65qaswJyk4gakdxAFpLBoW+3Gh44w8NFL0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=YJ9fXD+kiOe9WjEbAihw+haVqPoV4vr4olLd1C3hqVx7Arfmdi0ICFiULl5nYUQfe 6AtTRWjD5I2jD52U4Hc9nhqYZ5YqtgmOwbfboCaJ7HdNmILHCO0lCxvxfoRSypNjk1 5WRQIT9pTaWOcl1C/sob1kB4JG8Zmted7czcT1FQoA7oiekdBvhMJi0rwr918JQGKQ s4D2nWoQaS/rrDXHf6JeYj6Ro1Upa6AfnlYpbb0SGh0G8SWrWTtigxM1wLOELC738c srS1bHvvLru/pj/1UxVvjGjOEqR+CP1PxZvvaY74FJFkbPJef+uc+G4u07SrC0TJr3 65VOw0PHa/joA== Date: Fri, 30 Jul 2021 10:02:33 -0700 From: Jakub Kicinski To: Vadym Kochan Cc: "David S. Miller" , Jamal Hadi Salim , Cong Wang , Andrew Lunn , Vladimir Oltean , Serhiy Boiko , Volodymyr Mytnyk , Taras Chornyi , Taras Chornyi , Mickey Rachamim , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Volodymyr Mytnyk , Vadym Kochan Subject: Re: [PATCH net-next 4/4] net: marvell: prestera: Offload FLOW_ACTION_POLICE Message-ID: <20210730100233.14d18ccb@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20210730133925.18851-5-vadym.kochan@plvision.eu> References: <20210730133925.18851-1-vadym.kochan@plvision.eu> <20210730133925.18851-5-vadym.kochan@plvision.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 30 Jul 2021 16:39:25 +0300 Vadym Kochan wrote: > -int prestera_hw_acl_rule_add(struct prestera_switch *sw, > - struct prestera_acl_rule *rule, > - u32 *rule_id) > +int __prestera_hw_acl_rule_add(struct prestera_switch *sw, > + struct prestera_acl_rule *rule, > + u32 *rule_id) > { > struct prestera_msg_acl_action *actions; > struct prestera_msg_acl_match *matches; > +int __prestera_hw_acl_rule_ext_add(struct prestera_switch *sw, > + struct prestera_acl_rule *rule, > + u32 *rule_id) both should be static