linux/drivers/net/ethernet/freescale/dpaa2
Ioana Ciocoi Radulescu 2d6802374c dpaa2-eth: Add flow steering support without masking
On 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,
since our driver implementation configured a "comprehensive"
FS key (containing all supported header fields), with masks
used to ignore the fields not present in the rules provided
by the user.

We now allow ethtool rules that share a common key (i.e. have
the same header fields). The FS key is now kept in the driver
private data and initialized when the first rule is added to
an empty table, rather than at probe time. If a rule with a new
composition key is wanted, the user must first manually delete
all previous rules.

When building a FS table entry to pass to firmware, we still use
the old building algorithm, which assumes an all-supported-fields
key, and later collapse the fields which aren't actually needed.

Masked rules are not supported; if provided, the mask value
will be ignored. For firmware versions older than MC10.7.0
(that only offer the legacy ABIs for configuring distribution
keys) flow steering without masking support remains unavailable.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-16 21:46:19 -07:00
..
Kconfig net: dpaa2: improve PTP Kconfig option 2019-01-22 17:38:14 -08:00
Makefile dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
dpaa2-eth-debugfs.c dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
dpaa2-eth-debugfs.h dpaa2-eth: add debugfs statistics 2019-01-19 10:28:43 -08:00
dpaa2-eth-trace.h
dpaa2-eth.c dpaa2-eth: Add flow steering support without masking 2019-04-16 21:46:19 -07:00
dpaa2-eth.h dpaa2-eth: Add flow steering support without masking 2019-04-16 21:46:19 -07:00
dpaa2-ethtool.c dpaa2-eth: Add flow steering support without masking 2019-04-16 21:46:19 -07:00
dpaa2-ptp.c dpaa2-ptp: defer probe when portal allocation failed 2018-11-09 20:08:58 -08:00
dpaa2-ptp.h net: dpaa2: move DPAA2 PTP driver out of staging/ 2018-10-08 10:23:22 -07:00
dpkg.h
dpni-cmd.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.c dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dpni.h dpaa2-eth: Add ethtool support for flow classification 2018-10-02 22:24:08 -07:00
dprtc-cmd.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.c net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00
dprtc.h net: dpaa2: remove unused code for dprtc 2018-10-08 10:23:22 -07:00