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 97CC4ECAAA2 for ; Fri, 26 Aug 2022 02:55:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244905AbiHZCzv (ORCPT ); Thu, 25 Aug 2022 22:55:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbiHZCzt (ORCPT ); Thu, 25 Aug 2022 22:55:49 -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 9219846DB8 for ; Thu, 25 Aug 2022 19:55:48 -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 49E69B82F6F for ; Fri, 26 Aug 2022 02:55:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 91241C433C1; Fri, 26 Aug 2022 02:55:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661482545; bh=I5N79F7+BLf82xHhIb4vxpnjgYawbxi0wnEfhL28cQA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t/HgFtyxb1P8Q6BI7QcK8mQQutQ4vL1YsSbi0tOJl4p5neP/B2zhIGjEjoBcXhfgK rlcQ7IGU2hoLYkVxo8NwSpwxNMlAlEGDvrhalGKCGxZN2ul7WvqArko3VvWi4B3KhX vXcvYIJ8dVDepqy0b3G/2GAPwOb3R9oET/LBIPMQbpXxY58FCCbZDaaGjgQI1qn3LA Z0YtaBrSEj+xIflIvR5HmveWQ6R3dO0mQJLZ2INsw7PPcPjkQCZ/sxc2W8pziIaJ41 UgubSag2Fz9getV++ZMf8rVm0BB90FNwFKrOA+254sNVMkCpfGvj7DZL5TMqNiYuq2 D1OIxpgD2Uwvw== Date: Thu, 25 Aug 2022 19:55:44 -0700 From: Jakub Kicinski To: Suman Ghosh Cc: , , , , , , , , , Subject: Re: [net-next PATCH V3] octeontx2-pf: Add egress PFC support Message-ID: <20220825195544.391577b2@kernel.org> In-Reply-To: <20220825044242.1737126-1-sumang@marvell.com> References: <20220825044242.1737126-1-sumang@marvell.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 Thu, 25 Aug 2022 10:12:42 +0530 Suman Ghosh wrote: > As of now all transmit queues transmit packets out of same scheduler > queue hierarchy. Due to this PFC frames sent by peer are not handled > properly, either all transmit queues are backpressured or none. > To fix this when user enables PFC for a given priority map relavant > transmit queue to a different scheduler queue hierarcy, so that > backpressure is applied only to the traffic egressing out of that TXQ. Does not build at all now: ERROR: modpost: drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf: 'otx2_pfc_txschq_update' exported twice. Previous export was in drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicpf.ko ERROR: modpost: "otx2_txschq_config" [drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf.ko] undefined! ERROR: modpost: "otx2_smq_flush" [drivers/net/ethernet/marvell/octeontx2/nic/rvu_nicvf.ko] undefined!