[PATCH] net: dsa: Implement flow_dissect callback for tag_dsa.

2019-02-15 Thread Rundong Ge
eds to implement the callback. Signed-off-by: Rundong Ge --- net/dsa/tag_dsa.c | 9 + 1 file changed, 9 insertions(+) diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index 8b2f92e..67ff3fa 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa.c @@ -146,8 +146,17 @@ static struct sk_

m88e6390_config_aneg will always reset the phy

2019-02-21 Thread Rundong Ge
Hi Andrew Before the "net: phy: marvell: Errata for mv88e6390 internal PHYs", phydev will only be soft reset when register value was changed. But after this patch, the phydev will always be reset when entering the "m88e6390_config_aneg". So is there any side effect of this change? Thanks Rundong

Re: [PATCH] netfilter: fix dangling pointer access of fake_rtable

2019-04-22 Thread Rundong Ge
The hook in my testcase is at NF_BR_FORWARD, and priority is -2. And at this hook point both the entry->out and entry->in are not bridge device. But the dst was set to the bridge's fake_rtable. Rundong Ge 于2019年4月22日周一 下午5:51写道: > > skb->dev is munged in setup_prerouting()

[PATCH v2] net: dsa: Implement flow_dissect callback for tag_dsa.

2019-02-16 Thread Rundong Ge
g_edsa also need to implement the callback. Signed-off-by: Rundong Ge --- net/dsa/tag_dsa.c | 9 + net/dsa/tag_edsa.c | 9 + 2 files changed, 18 insertions(+) diff --git a/net/dsa/tag_dsa.c b/net/dsa/tag_dsa.c index 8b2f92e..67ff3fa 100644 --- a/net/dsa/tag_dsa.c +++ b/net/dsa/tag_dsa

Re: [PATCH v2] net: dsa: Implement flow_dissect callback for tag_dsa.

2019-02-16 Thread Rundong Ge
mv88e6190x, eth0 is an intel NIC. Then get the max fps with no frame losing. The max fps with RPS working is 400235fps, frames are hashed to four cores’ backlog. And the max fps without RPS is 199686fps. Rundong Rundong Ge 于2019年2月16日周六 下午4:35写道: > > RPS not work for DSA devices sin