Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7774611rwb; Tue, 6 Dec 2022 09:39:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf52QC99lzwlwxZenRfeNJ60Ew6YdNHa86iXh0Al9mKpNjzYFLkyBDAw/VvJQr2yjQ9Excbd X-Received: by 2002:a05:6402:5007:b0:44e:baab:54e7 with SMTP id p7-20020a056402500700b0044ebaab54e7mr62733880eda.265.1670348391528; Tue, 06 Dec 2022 09:39:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670348391; cv=none; d=google.com; s=arc-20160816; b=YS429AyamMaYSGIxqAmz5Kbc26AATM5kLGwiATJl3269gmoW3f34OQJeJX2Op2dKDy fqZO+85KfYgyB7xQkmSs9/wdw/WgrQSuIfWiCcHzZWs7bWXBYlUtvzUFCkGZcUx9lP1j GMS7Sh0L22Vaxgt0aVIZh9RJugJsZjRKm8KCZebIWfdRiJ0XEP38KTtE5tZ6PTzqAwNC zRIDan8e9OcgKBB4zBz2rbMt8hysIJ2tqiTZZ4Lt6p2fyUBvTRpbhmfNmJSpCj/L5V+L tl9GLuUkhgNTWIj2HfHXKLHVbAl+s6+YKPCIwR7UOv1M8jT4QHu+IbtXZRnZ833aftwr 7GkA== 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=mJQLG7ia2b7ny1bzadjEuuRj+SMKj4fKZxhz0xviJmE=; b=LXglcZc+8upIy0gBj4k2cU+o3yc/77PbFLMr4DHXnZyHrs46f2FUPqqcvX1W9jRJth 4rHHVhCbOYqZ+nUfrqX5w6cQdTls4eNkulLU1wp1W/MqJQNaVoZlnhDAfWXBg8JAzHLN bNh7KgjQ6OtBIsXSab7Mz5VEVW+M+I8iviV4ROjavlWMqnFLehw4+oUr/WpiykCZLNoP 2r0buLfRzDACXfC9Qdx+zOJKY6kLtgzFzXoJtXJz985wZqsedurUP0tW05nh45qcnW9E UScbusEe3pyEAIV6iP6RR4N/PSiXehycWDrT1+JFzXCd9Ih0vwZ/Mx6DvH5UfMv6f5LN qp8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k/VuipSm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020a056402055200b0046a09ce4d12si2242306edx.339.2022.12.06.09.39.32; Tue, 06 Dec 2022 09:39:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="k/VuipSm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234492AbiLFRX5 (ORCPT + 77 others); Tue, 6 Dec 2022 12:23:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbiLFRXz (ORCPT ); Tue, 6 Dec 2022 12:23:55 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC44611815; Tue, 6 Dec 2022 09:23:54 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 46308617EE; Tue, 6 Dec 2022 17:23:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AE62C433D6; Tue, 6 Dec 2022 17:23:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670347433; bh=vgsf/phjQqqxA2RXgd59v2QIQaSndvp5aqVRHaKGzH0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=k/VuipSm0Q/fHh/G09DN+GXdetyGbjLuSKqLWxsfcuCxqeIiftAoOqCE3H3jkSqTg K4O0coC3QoqwBsX8Q3gYRBExaOnIRORzzES7WkV/AxNIc9ZFmNVbf2ozcHnSzedmBZ J2Fx6MbQcYPkjuF1aWQrrZk9zEFw0ualkNx4EEeK38sqQQuCCbBsKN4QoW26xJnHpM lPijvEmkB5TIBELnOyIpykYCzrFR/v3ngwUcq4t0y9rwUaMId/86XhjnUh6wXEE+8N AujAtdGTVY661w30gyNBihpQuUU5YgWYome/Kva1z1EWvHp0onJFPmT6z84ucmwyEU BQgZ4BUrdn9cg== Date: Tue, 6 Dec 2022 09:23:52 -0800 From: Jakub Kicinski To: Leon Romanovsky Cc: Veerasenareddy Burru , "David S. Miller" , Eric Dumazet , Paolo Abeni , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Liron Himi , Abhijit Ayarekar , Sathesh B Edara , Satananda Burla , "linux-doc@vger.kernel.org" Subject: Re: [EXT] Re: [PATCH net-next v2 2/9] octeon_ep: poll for control messages Message-ID: <20221206092352.7a86a744@kernel.org> In-Reply-To: References: <20221129130933.25231-1-vburru@marvell.com> <20221129130933.25231-3-vburru@marvell.com> <20221205161626.088e383f@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Dec 2022 10:58:47 +0200 Leon Romanovsky wrote: > > Polling for control messages every 100ms? Sure. > > > > You say "valid in netdev" so perhaps you can educate us where/why it > > would not be? > > It doesn't seem right to me that idle device burns CPU cycles, while it > supports interrupts. If it needs "listen to FW", it will be much nicer to > install interrupts immediately and don't wait for netdev. No doubt, if there is an alternative we can push for it to be implemented. I guess this being yet another "IPU" there could be possible workarounds in FW? As always with IPUs - hard to tell :/ If there is no alternative - it is what it is. It's up to customers to buy good HW. That said, looking at what this set does - how are the VFs configured? That's the showstopper for the series in my mind.