Re: [PATCH] net: dsa: Implement flow_dissect callback for tag_dsa.
From: Andrew Lunn
Date: Fri Feb 15 2019 - 09:05:27 EST
On Fri, Feb 15, 2019 at 08:22:53AM +0000, Rundong Ge wrote:
> RPS not work for DSA devices since the 'skb_get_hash'
> will always get the invalid hash for dsa tagged packets.
>
> "[PATCH] tag_mtk: add flow_dissect callback to the ops struct"
> introduced the flow_dissect callback to get the right hash for
> MTK tagged packet. And tag_dsa also needs to implement
> the callback.
Hi Rundong
This looks good. Do you have any sort of numbers to show the
performance improvements?
Could you make a similar change to tag_edsa.c? It uses an 8 byte
header.
Thanks
Andrew