fsl/fman: enable FMan Keygen
authorIordache Florinel-R70177 <florinel.iordache@nxp.com>
Sun, 27 Aug 2017 13:13:38 +0000 (16:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Aug 2017 23:41:00 +0000 (16:41 -0700)
commit7472f4f281d0f7c9cf66494b70a64c5ea5ca67da
tree817a3fae7c9659a743094daad7bec148a318896e
parentca58ce576662eab2dc71f6af120dd07d8e11a925
fsl/fman: enable FMan Keygen

Add support for the FMan Keygen with a hardcoded scheme to spread
incoming traffic on a FQ range based on source and destination IPs
and ports.

Signed-off-by: Iordache Florinel <florinel.iordache@nxp.com>
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/Makefile
drivers/net/ethernet/freescale/fman/fman.c
drivers/net/ethernet/freescale/fman/fman.h
drivers/net/ethernet/freescale/fman/fman_keygen.c [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_keygen.h [new file with mode: 0644]
drivers/net/ethernet/freescale/fman/fman_port.c
drivers/net/ethernet/freescale/fman/fman_port.h