net: stmmac: Implement RSS and enable it in XGMAC core
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 7 Aug 2019 08:03:12 +0000 (10:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 05:20:19 +0000 (22:20 -0700)
commit76067459c686c4fc6352613e5a6a54e4ffef2861
tree76a09fc2ad09e567e9fb5685ee37d33fdc5300ee
parent7035aad875ba83331ab243173d2775f59880164f
net: stmmac: Implement RSS and enable it in XGMAC core

Implement the RSS functionality and add the corresponding callbacks in
XGMAC core.

Changes from v1:
- Do not use magic constants (Jakub)
- Use ethtool_rxfh_indir_default() (Jakub)

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2.h
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_descs.c
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_dma.c
drivers/net/ethernet/stmicro/stmmac/hwif.h
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
include/linux/stmmac.h