diff options
| author | Jose Abreu <[email protected]> | 2019-08-07 10:03:12 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-08-08 22:20:19 -0700 |
| commit | 76067459c686c4fc6352613e5a6a54e4ffef2861 (patch) | |
| tree | 76a09fc2ad09e567e9fb5685ee37d33fdc5300ee /include/linux | |
| parent | 7035aad875ba83331ab243173d2775f59880164f (diff) | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/stmmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index 7b3e354bcd3c..5cc6b6faf359 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -173,6 +173,7 @@ struct plat_stmmacenet_data { int has_gmac4; bool has_sun8i; bool tso_en; + int rss_en; int mac_port_sel_speed; bool en_tx_lpi_clockgating; int has_xgmac; |