Messages in this thread | ![/](/images/icornerl.gif) | | Date | Fri, 15 Feb 2019 15:05:21 +0100 | From | Andrew Lunn <> | Subject | Re: [PATCH] net: dsa: Implement flow_dissect callback for tag_dsa. |
| |
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
| ![\](/images/icornerr.gif) |