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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00441C433EF for ; Wed, 11 May 2022 23:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349477AbiEKXtM (ORCPT ); Wed, 11 May 2022 19:49:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349476AbiEKXtJ (ORCPT ); Wed, 11 May 2022 19:49:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FC7E140C57 for ; Wed, 11 May 2022 16:49:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 28F3CB82642 for ; Wed, 11 May 2022 23:49:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C85BC340EE; Wed, 11 May 2022 23:49:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652312944; bh=EBZOdYaUDs8xUe7jyuGWf7TTOiP8GRmEEKzZ39ubbwU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=m3M27QWtI2ssBP+PJTDf1LzJJWoDEnyQPPX7O/rQXwANROVVho+nZrPdeoLDMYipT U2KqZgTCuITX+zt/j4VI1FiTgK+a4ePH+BYST9OPmjTZulZHU63Y0njGbfsexoZ0qy N/F/6j2WlUtB9tTtvXHo3vPG8bnBLuS1FeJpGy+XMKtMCXK0t/UT3InKI9nOn4G1EU Kr4bupm+HDG4YIrAr8CpQoXWTKyy29SVeEiDtlS9ZrvdJp8fI8jFco3/GPrpM2RmUN I8k8v0yuN0JVxSpUO0MjW0WH+Ato1Od779q2WYhBs40GQuNMeOm3yabsr0OLhCxbFk kJ1nljruy76zA== Date: Wed, 11 May 2022 16:49:03 -0700 From: Jakub Kicinski To: Simon Horman Cc: David Miller , netdev@vger.kernel.org, oss-drivers@corigine.com, Bin Chen Subject: Re: [PATCH v2 net-next 0/2] *nfp: VF rate limit support Message-ID: <20220511164903.075b01bc@kernel.org> In-Reply-To: <20220511113932.92114-1-simon.horman@corigine.com> References: <20220511113932.92114-1-simon.horman@corigine.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Wed, 11 May 2022 13:39:30 +0200 Simon Horman wrote: > this short series adds VF rate limiting to the NFP driver. > > The first patch, as suggested by Jakub Kicinski, adds a helper > to check that ndo_set_vf_rate() rate parameters are sane. > It also provides a place for further parameter checking to live, > if needed in future. > > The second patch adds VF rate limit support to the NFP driver. > It addresses several comments made on v1, including removing > the parameter check that is now provided by the helper added > in the first patch. Reviewed-by: Jakub Kicinski