Home
last modified time | relevance | path

Searched hist:"86 e2eca4ddedc07d639c44c990e1c220cac3741e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.cdiff 86e2eca4ddedc07d639c44c990e1c220cac3741e Mon Mar 27 04:21:03 CDT 2023 Grygorii Strashko <grygorii.strashko@ti.com> net: ethernet: ti: am65-cpsw: enable p0 host port rx_vlan_remap

By default, the tagged ingress packets to the switch from the host port
P0 get internal switch priority assigned equal to the DMA CPPI channel
number they came from, unless CPSW_P0_CONTROL_REG.RX_REMAP_VLAN is enabled.
This causes issues with applying QoS policies and mapping packets on
external port fifos, because the default configuration is vlan_aware and
DMA CPPI channels are shared between all external ports.

Hence enable CPSW_P0_CONTROL_REG.RX_REMAP_VLAN so packet will preserve
internal switch priority assigned following the VLAN(priority) tag no
matter through which DMA CPPI Channels packets enter the switch.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Link: https://lore.kernel.org/r/20230327092103.3256118-1-s-vadapalli@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>