Re: [PATCH net-next 1/1] net: stmmac: Add option for VLAN filter fail queue enable

From: David Miller
Date: Fri Sep 25 2020 - 19:48:51 EST


From: Wong Vee Khee <vee.khee.wong@xxxxxxxxx>
Date: Fri, 25 Sep 2020 17:40:41 +0800

> From: "Chuah, Kim Tatt" <kim.tatt.chuah@xxxxxxxxx>
>
> Add option in plat_stmmacenet_data struct to enable VLAN Filter Fail
> Queuing. This option allows packets that fail VLAN filter to be routed
> to a specific Rx queue when Receive All is also set.
>
> When this option is enabled:
> - Enable VFFQ only when entering promiscuous mode, because Receive All
> will pass up all rx packets that failed address filtering (similar to
> promiscuous mode).
> - VLAN-promiscuous mode is never entered to allow rx packet to fail VLAN
> filters and get routed to selected VFFQ Rx queue.
>
> Reviewed-by: Voon Weifeng <weifeng.voon@xxxxxxxxx>
> Reviewed-by: Ong Boon Leong <boon.leong.ong@xxxxxxxxx>
> Signed-off-by: Chuah, Kim Tatt <kim.tatt.chuah@xxxxxxxxx>
> Signed-off-by: Ong Boon Leong <boon.leong.ong@xxxxxxxxx>

Applied.