diff options
author | 2021-03-19 01:22:03 +0800 | |
---|---|---|
committer | 2021-03-18 14:17:51 -0700 | |
commit | bd0f670e793137fac1f8cc95f1feac99cc081cba (patch) | |
tree | 9a460215c60c0ccdd9afdd804910b78cef8f7106 /drivers/net/dsa | |
parent | Merge branch 'octeon-tc-offloads' (diff) | |
download | linux-dev-bd0f670e793137fac1f8cc95f1feac99cc081cba.tar.xz linux-dev-bd0f670e793137fac1f8cc95f1feac99cc081cba.zip |
net: stmmac: restructure tc implementation for RX VLAN Priority steering
The current tc_add_flow() and tc_del_flow() use hardware L3 & L4 filters
as offloading. The number of L3/L4 filters is read from L3L4FNUM field
from MAC_HW_Feature1 register and is used to alloc priv->tc_entries[].
For RX frame steering based on VLAN priority offloading, we use
MAC_RXQ_CTRL2 & MAC_RXQ_CTRL3 registers and all VLAN priority level
can be configured independent from L3 & L4 filters.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions