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 C9601C00448 for ; Thu, 25 Aug 2022 02:37:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbiHYChH (ORCPT ); Wed, 24 Aug 2022 22:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229490AbiHYChH (ORCPT ); Wed, 24 Aug 2022 22:37:07 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B5C7785B4 for ; Wed, 24 Aug 2022 19:37:06 -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 1DE02B82731 for ; Thu, 25 Aug 2022 02:37:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5979EC433C1; Thu, 25 Aug 2022 02:37:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661395023; bh=UdTUT4gPg8bTrUEOlzuRwwP84GRDowMqWLe30HATU8g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=dWo3tJW+9H0W7tpfWlVRunmYLt2N6FYG9w2B4vw4ldqjL3u+FUxI4xzLywIJH2c8u r+7l3yLI0rInQ5l+j/i4Wz1QzPSpA/5lrQI2pCqdXzeUjKB6sNdSje8HzbngypbQEk xLn4lltcrP5MJaqP3FpYjzy9f3ztK3NgNLS/RioPpcpP9CyuP/ijIsvQiGEe0RakEE BXZ5aYFdgcD9iDcsq5O29dv0olgaAel343q6QDHCl50O3XiK4AIaDr8GQERnvNIBcU +DIIQxskdZ/45gWOnG6iybon2wxKBZFvBNEeE8/9w9Xggt/z1LxnimhF/nClmFFSv9 ZTxlK1jnW3DsA== Date: Wed, 24 Aug 2022 19:37:02 -0700 From: Jakub Kicinski To: Suman Ghosh Cc: , , , , , , , , , Subject: Re: [PATCH V2] octeontx2-pf: Add egress PFC support Message-ID: <20220824193702.21b14336@kernel.org> In-Reply-To: <20220824060006.1430587-1-sumang@marvell.com> References: <20220824060006.1430587-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 Wed, 24 Aug 2022 11:30:06 +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. clang says: drivers/net/ethernet/marvell/octeontx2/nic/otx2_dcbnl.c:129:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^