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 DC8D6C07E9D for ; Tue, 27 Sep 2022 00:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbiI0AQ3 (ORCPT ); Mon, 26 Sep 2022 20:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbiI0AQ2 (ORCPT ); Mon, 26 Sep 2022 20:16:28 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06653A2A9A for ; Mon, 26 Sep 2022 17:16:27 -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 9B6A8B81684 for ; Tue, 27 Sep 2022 00:16:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DAAEAC433D6; Tue, 27 Sep 2022 00:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664237785; bh=hAKb5FNaTXADdjQbu5IJKHzwIHko38zKDPvf4F3gat8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ghUqO6hd6Pt+aVedZ7ROjNpvnfCnaLjYfwPWHoiVJWMqPTtQmtBEeLjXDglo8Tjgy qUqcGcKdfLe17TT8R18MJ4fIeOtoQkJKYNF9CQD7BaNjT4fmMQ3LauV0t7gjZetNr0 letnw3CbfVuvz3v/+lkVTjE6TLbJ+Zs+iLrPrvCzLKa+VV9JJ3A1EUTRacjyDT442p WHzvxkCYEiwJcqOIHg9L66Vz2gO+r775e1vP6Yh8Z9K6bJ5rXQ/D7ISWdv/LWoXLH5 7mxaoIkH+hOyQDTX/1hRfeNh40FESH5Xr9XFL3U0zvHtl/h6lPtMxdjpj3o+XVJL5h 3acZSF8PlKlFw== Date: Mon, 26 Sep 2022 17:16:23 -0700 From: Jakub Kicinski To: "Wilczynski, Michal" Cc: Edward Cree , , , , , , , , , Subject: Re: [RFC PATCH net-next v4 2/6] devlink: Extend devlink-rate api with queues and new parameters Message-ID: <20220926171623.3778dc74@kernel.org> In-Reply-To: <7003673d-3267-60d0-9340-b08e73f481fd@intel.com> References: <20220915134239.1935604-1-michal.wilczynski@intel.com> <20220915134239.1935604-3-michal.wilczynski@intel.com> <401d70a9-5f6d-ed46-117b-de0b82a5f52c@intel.com> <20220921163354.47ca3c64@kernel.org> <477ea14d-118a-759f-e847-3ba93ae96ea8@intel.com> <20220922055040.7c869e9c@kernel.org> <9656fcda-0d63-06dc-0803-bc5f90ee44fd@intel.com> <20220922132945.7b449d9b@kernel.org> <732253d6-69a4-e7ab-99a2-f310c0f22b12@intel.com> <20220923061640.595db7ef@kernel.org> <7003673d-3267-60d0-9340-b08e73f481fd@intel.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 Fri, 23 Sep 2022 17:46:35 +0200 Wilczynski, Michal wrote: > Also reconfiguration from the VM, would need to be handled by the VF > driver i.e iavf. > So the solution would get much more complex I guess, since we would need > to implement communication between ice-iavf, through virtchnl I guess. Yup, but it's the correct way to solve your problem AFAICT. AFAIU you only want to cater to simple cases where the VF and PF are in the same control domain, which is not normal, outside of running DPDK apps. Sooner or later someone will ask for queuing control from the VFs and you're have to redesign the whole thing.