net/dpaa2: modify flow API QoS setup to follow FS setup
authorJun Yang <jun.yang@nxp.com>
Tue, 7 Jul 2020 09:22:41 +0000 (14:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commit59303cdf2e7286fa757730a3b0269313de591619
treefd65c53490dfcdbda26ec8ace693c3924a0685a7
parentbac4a29663fd387e86c2033254da51db304c1c71
net/dpaa2: modify flow API QoS setup to follow FS setup

In HW/MC logical, QoS setup should follow FS setup.
In addition, Skip QoS setup if MAX TC number of DPNI is set 1.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_flow.c