dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
[ Upstream commit
f5b16da5f897cca5c9ed66d96c0cace271a3c918 ]
On DSA/IAX 1.0, TC-A and TC-B in GRPCFG are set as 1 to have best
performance and cannot be changed through sysfs knobs unless override
option is given.
The same values should be set on DSA 2.0 as well.
Fixes: b7c277231b08 ("dmaengine: idxd: restore traffic class defaults after wq reset")
Fixes: e870921fb80d ("dmaengine: idxd: Set defaults for GRPCFG traffic class")
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20221209172141.562648-1-fenghua.yu@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>