amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent
stable inclusion from stable-v5.10.166 commit a65a8727a2fe606036933222313c775964de6e92 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7TH9O Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a65a8727a2fe606036933222313c775964de6e92 -------------------------------- [ Upstream commit 579923d8 ] There is difference in the TX Flow Control registers (TFCR) between the revisions of the hardware. The older revisions of hardware used to have single register per queue. Whereas, the newer revision of hardware (from ver 30H onwards) have one register per priority. Update the driver to use the TFCR based on the reported version of the hardware. Fixes: c5aa9e3b ("amd-xgbe: Initial AMD 10GbE platform driver") Co-developed-by: NAjith Nayak <Ajith.Nayak@amd.com> Signed-off-by: NAjith Nayak <Ajith.Nayak@amd.com> Signed-off-by: NRaju Rangoju <Raju.Rangoju@amd.com> Acked-by: NShyam Sundar S K <Shyam-sundar.S-k@amd.com> Signed-off-by: NJakub Kicinski <kuba@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: Nsanglipeng <sanglipeng1@jd.com>
Showing
想要评论请 注册 或 登录