]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa2-eth: Use new API for Rx flow hashing
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Mon, 1 Oct 2018 10:44:55 +0000 (13:44 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:24:08 +0000 (22:24 -0700)
commit34256a8b268971cf069d26777fb7359f0e319592
treeca1c48949313ae4926d95893d53bd9efda32f15d
parent89dbfd9e6cc2a27da3f8207a6f4cd1b22226a2b8
dpaa2-eth: Use new API for Rx flow hashing

The Management Complex (MC) firmware initially allowed the
configuration of a single key to be used both for Rx flow hashing
and flow classification. This prevented us from supporting
Rx flow classification through ethtool.

Starting with version 10.7.0, the Management Complex(MC) offers
a new set of APIs for separate configuration of Rx hashing and
classification keys.

Update the Rx flow hashing support to use the new API, if available.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h
drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h
drivers/net/ethernet/freescale/dpaa2/dpni.c
drivers/net/ethernet/freescale/dpaa2/dpni.h