Subject: Re: [PATCH V2] octeontx2-pf: Add egress PFC support

From: Jakub Kicinski <[email-masked]>
Date: Wed, 24 Aug 2022 19:37:02 -0700

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;
            ^