net/dpaa2: support custom hash key
authorNipun Gupta <nipun.gupta@nxp.com>
Fri, 11 Jan 2019 12:24:59 +0000 (12:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit5f822962498e7bff162f3ed87e15652a5b4790b9
tree7a7365f488b33e9ab0684db2b479dfec501cf6dc
parent1def64c2d79e07eb3ec73f5d1ca797e512a3e4d5
net/dpaa2: support custom hash key

The DPAA2 hw can support a special offset based
configuration to program distribution on hash.
This is for all cases, which are not directly supported.

e.g. HASH based distribution on inner ip header
of a GRE tunnel.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/net/dpaa2/base/dpaa2_hw_dpni.c
drivers/net/dpaa2/rte_pmd_dpaa2.h
drivers/net/dpaa2/rte_pmd_dpaa2_version.map