On DPAA2 platforms that lack a TCAM (like LS1088A), masking of flow steering keys is not supported. Until now we didn't offer flow steering capabilities at all on these platforms.
Introduce a limited support for flow steering, where we only allow ethtool rules that share a common key (i.e. have the same header fields). If a rule with a new composition key is wanted, the user must first manually delete all previous rules. First patch fixes a minor bug, the next two cleanup and prepare the code and the last one introduces the actual FS support. Ioana Radulescu (4): dpaa2-eth: Fix Rx classification status dpaa2-eth: Add a couple of macros dpaa2-eth: Update hash key composition code dpaa2-eth: Add flow steering support without masking drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 80 ++++++++++++++---- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h | 24 +++++- .../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c | 97 +++++++++++++++++----- 3 files changed, 167 insertions(+), 34 deletions(-) -- 2.7.4