Skip to content

Ocelot MAC_ETYPE tc-flower key improvements

Vladimir Oltean netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: mscc: ocelot: support matching on EtherTypedrivers/net/ethernet/mscc/ocelot_flower.c+19 -32 replies
2/3net: mscc: ocelot: refine the ocelot_ace_is_problematic_mac_etype functiondrivers/net/ethernet/mscc/ocelot_ace.c+14 -40 replies
3/3net: mscc: ocelot: lift protocol restriction for flow_match_eth_addrs keysdrivers/net/ethernet/mscc/ocelot_flower.c+0 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] Ocelot MAC_ETYPE tc-flower key improvements

From: Vladimir Oltean <[email protected]>

As discussed in the comments surrounding this patch:
https://patchwork.ozlabs.org/project/netdev/patch/[email protected]/

the restrictions imposed on non-MAC_ETYPE rules were harsher than they needed to be. IP, IPv6, ARP rules can still be added concurrently with src_mac and dst_mac rules, as long as those MAC address rules do not ask for an offending EtherType.

For that to actually be supported, we need to parse the EtherType from the flower classification rule first.

Vladimir Oltean (3):
net: mscc: ocelot: support matching on EtherType
net: mscc: ocelot: refine the ocelot_ace_is_problematic_mac_etype
function
net: mscc: ocelot: lift protocol restriction for flow_match_eth_addrs
keys

 drivers/net/ethernet/mscc/ocelot_ace.c    | 18 +++++++++++----
 drivers/net/ethernet/mscc/ocelot_flower.c | 27 ++++++++++++++++-------
 2 files changed, 33 insertions(+), 12 deletions(-)
Signature · 1 line
2.17.1