]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dpaa2-eth-Add-support-for-Rx-flow-classification'
authorDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:24:08 +0000 (22:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:24:08 +0000 (22:24 -0700)
commitb9043ad54ed09ba27cc07a895e879016448785d7
treec623a6f765d3d0b1474ee7b1e32b4455b2e0ae02
parent97fdc6bb994e10071c6ba2567e0523e2a64ae660
parent321c7fd48d373e786d16ebbe42fc0dcaea8f2c91
Merge branch 'dpaa2-eth-Add-support-for-Rx-flow-classification'

Ioana Radulescu says:

====================
dpaa2-eth: Add support for Rx flow classification

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 independently of the hash key configuration.

Newer firmware versions expose separate commands for
configuring the two types of keys, so we can use them to
introduce Rx classification support. For frames that don't match
any classification rule, we fall back to statistical distribution
based on the current hash key.

The first patch in this set updates the Rx hashing code to use
the new firmware API for key config. Subsequent patches introduce
the firmware API for configuring the classification and actual
support for adding and deleting rules via ethtool.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>