RE: [v5, PATCH] net: stmmac: add support for hash table size 128/256 in dwmac4

2019-05-29 Thread biao huang
Hi Jose, I also try "ethtool -A eth0 tx on rx on", and selftests pass. But there are bugs in dwmac4_flow_ctrl: flow control will keep on once enabled. ethtool -A eth0 tx off rx off can't change it. if (fc & FLOW_RX) { pr_de

RE: [v5, PATCH] net: stmmac: add support for hash table size 128/256 in dwmac4

2019-05-29 Thread biao huang
Hi Jose, Flow control is disabled in v5 commit. I tried "insmod stmmac flow_ctrl=1", and the output log shows self test pass: ethtool -t eth0 The test result is PASS The test extra info: 1. MAC Loopback

RE: [v5, PATCH] net: stmmac: add support for hash table size 128/256 in dwmac4

2019-05-29 Thread Jose Abreu
From: Biao Huang Date: Wed, May 29, 2019 at 10:31:08 > 1. get hash table size in hw feature reigster, and add support > for taller hash table(128/256) in dwmac4. > 2. only clear GMAC_PACKET_FILTER bits used in this function, > to avoid side effect to functions of other bits. > > stmmac selftests

[v5, PATCH] net: stmmac: add support for hash table size 128/256 in dwmac4

2019-05-29 Thread Biao Huang
1. get hash table size in hw feature reigster, and add support for taller hash table(128/256) in dwmac4. 2. only clear GMAC_PACKET_FILTER bits used in this function, to avoid side effect to functions of other bits. stmmac selftests output log: ethtool -t eth0 The test result is FAI