[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160507.151605.680566397138476812.davem@davemloft.net>
Date: Sat, 07 May 2016 15:16:05 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: hariprasad@...lsio.com
Cc: netdev@...r.kernel.org, leedom@...lsio.com, nirranjan@...lsio.com
Subject: Re: [PATCH net-next] cxgb4: Reset dcb state machine and tx queue
prio only if dcb is enabled
From: Hariprasad Shenai <hariprasad@...lsio.com>
Date: Thu, 5 May 2016 11:05:39 +0530
> When cxgb4 is enabled with CONFIG_CHELSIO_T4_DCB set, VI enable command
> gets called with DCB enabled. But when we have a back to back setup with
> DCB enabled on one side and non-DCB on the Peer side. Firmware doesn't
> send any DCB_L2_CFG, and DCB priority is never set for Tx queue.
> But driver resets the queue priority and state machine whenever there
> is a link down, this patch fixes it by adding a check to reset only if
> cxgb4_dcb_enabled() returns true.
>
> Signed-off-by: Hariprasad Shenai <hariprasad@...lsio.com>
Applied.
Powered by blists - more mailing lists