All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] dpaa2-eth: Add support for Rx flow classification
@ 2018-10-01 10:44 Ioana Radulescu
  2018-10-01 10:44 ` [PATCH net-next 1/4] dpaa2-eth: Use new API for Rx flow hashing Ioana Radulescu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ioana Radulescu @ 2018-10-01 10:44 UTC (permalink / raw)
  To: netdev, davem; +Cc: ioana.ciornei

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.

Ioana Radulescu (4):
  dpaa2-eth: Use new API for Rx flow hashing
  dpaa2-eth: Rename structure
  dpaa2-eth: Configure Rx flow classification key
  dpaa2-eth: Add ethtool support for flow classification

 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c   | 214 ++++++++++---
 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.h   |  29 +-
 .../net/ethernet/freescale/dpaa2/dpaa2-ethtool.c   | 331 +++++++++++++++++++++
 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h    |  51 ++++
 drivers/net/ethernet/freescale/dpaa2/dpni.c        | 152 ++++++++++
 drivers/net/ethernet/freescale/dpaa2/dpni.h        |  97 ++++++
 6 files changed, 839 insertions(+), 35 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-03 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 10:44 [PATCH net-next 0/4] dpaa2-eth: Add support for Rx flow classification Ioana Radulescu
2018-10-01 10:44 ` [PATCH net-next 1/4] dpaa2-eth: Use new API for Rx flow hashing Ioana Radulescu
2018-10-01 10:44 ` [PATCH net-next 2/4] dpaa2-eth: Rename structure Ioana Radulescu
2018-10-01 10:44 ` [PATCH net-next 3/4] dpaa2-eth: Configure Rx flow classification key Ioana Radulescu
2018-10-01 10:44 ` [PATCH net-next 4/4] dpaa2-eth: Add ethtool support for flow classification Ioana Radulescu
2018-10-03  5:24 ` [PATCH net-next 0/4] dpaa2-eth: Add support for Rx " David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.