dpaa2-eth: install a single steering rule when SHARED_FS is enabled
authorIonut-robert Aron <ionut-robert.aron@nxp.com>
Fri, 25 Sep 2020 14:44:21 +0000 (17:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Sep 2020 00:10:27 +0000 (17:10 -0700)
commit5e29c16f3a327fb0f4e887a73588ae12e5e8b069
tree8a4cf47435025b1071554000f94e91b44d6bafb5
parent4c33a5bd063f9fdbced5fd1ceb7814e5f64f6a7b
dpaa2-eth: install a single steering rule when SHARED_FS is enabled

When SHARED_FS is enabled on a DPNI object the flow steering tables are
shared between all the traffic classes. Modify the driver so that we
only add a new flow steering entry on the TC#0 when this new option is
enabled.

Signed-off-by: Ionut-robert Aron <ionut-robert.aron@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
drivers/net/ethernet/freescale/dpaa2/dpni.h