mbox series

[0/4] dpaa2-eth: Add flow steering support without masking

Message ID 1555434800-17462-1-git-send-email-ruxandra.radulescu@nxp.com
Headers show
Series dpaa2-eth: Add flow steering support without masking | expand

Message

Ioana Radulescu April 16, 2019, 5:13 p.m. UTC
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(-)

Comments

David Miller April 17, 2019, 4:46 a.m. UTC | #1
From: Ioana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Date: Tue, 16 Apr 2019 17:13:27 +0000

> 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.

Series applied, thanks Ioana.