linux_dsm_epyc7002/drivers/net/ethernet/freescale
Claudiu Manoil d382563f54 enetc: Add RFS and RSS support
A ternary match table is used for RFS. If multiple entries in the table
match, the entry with the lowest numerical values index is chosen as the
matching entry.  Entries in the table are identified using an index
which takes a value from 0 to PRFSCAPR[NUM_RFS]-1 when accessed by the
PSI (PF).
Portions of the RFS table can be assigned to each SI by the PSI (PF)
driver in PSIaRFSCFGR.  Assignments are cumulative, the entries assigned
to SIn start after those assigned to SIn-1.  The total assignments to
all SIs must be equal to or less than the number available to the port
as found in PRFSCAPR.

For RSS, the Toeplitz hash function used requires two inputs, a 40B
random secret key that is supplied through the PRSSKR0-9 registers as well
as the relevant pieces of the packet header (n-tuple).  The 6 LSB bits of
the hash function result will then be used as a pointer to obtain the tag
referenced in the 64 entry indirection table.  The result will provide a
winning group which will be used to help route the received packet.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-24 21:55:53 -08:00
..
dpaa dpaa_eth: NETIF_F_LLTX requires to do our own update of trans_start 2019-01-17 22:00:00 -08:00
dpaa2 dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
enetc enetc: Add RFS and RSS support 2019-01-24 21:55:53 -08:00
fman fsl/fman: Use GFP_ATOMIC in {memac,tgec}_add_hash_mac_address() 2018-12-28 21:54:12 -08:00
fs_enet net: freescale: fix return type of ndo_start_xmit function 2018-09-21 19:12:13 -07:00
fec_main.c net: fec: remove workaround to restart phylib state machine on MDIO timeout 2018-12-18 15:01:55 -08:00
fec_mpc52xx_phy.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
fec_mpc52xx.c net: freescale: fix return type of ndo_start_xmit function 2018-09-21 19:12:13 -07:00
fec_mpc52xx.h
fec_ptp.c net: fec: remove redundant variable 'inc' 2018-07-04 22:39:11 +09:00
fec.h net: fec: remove workaround to restart phylib state machine on MDIO timeout 2018-12-18 15:01:55 -08:00
fsl_pq_mdio.c net: fsl: Use device_type helpers to access the node type 2018-11-17 21:52:58 -08:00
gianfar_ethtool.c gianfar: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:32 -08:00
gianfar.c gianfar: Add change_carrier() for Fixed PHYs 2018-12-17 11:24:32 -08:00
gianfar.h net: ethernet: gianfar_ethtool: get phc index through drvdata 2018-05-28 23:05:11 -04:00
Kconfig enetc: Introduce basic PF and VF ENETC ethernet drivers 2019-01-24 21:55:53 -08:00
Makefile enetc: Introduce basic PF and VF ENETC ethernet drivers 2019-01-24 21:55:53 -08:00
ucc_geth_ethtool.c net: ethernet: ucc: fix spelling mistake: "tx-late-collsion" -> "tx-late-collision" 2018-04-30 09:29:39 -04:00
ucc_geth.c ucc_geth: Add change_carrier() for Fixed PHYs 2018-12-17 11:24:32 -08:00
ucc_geth.h QE: Move QE from arch/powerpc to drivers/soc 2015-12-22 17:12:56 -06:00
xgmac_mdio.c net/fsl: use of_property_read_bool 2016-08-08 16:15:00 -07:00