All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Ocelot MAC_ETYPE tc-flower key improvements
@ 2020-04-20 16:27 Vladimir Oltean
  2020-04-20 16:27 ` [PATCH net-next 1/3] net: mscc: ocelot: support matching on EtherType Vladimir Oltean
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Vladimir Oltean @ 2020-04-20 16:27 UTC (permalink / raw)
  To: davem, netdev
  Cc: idosch, allan.nielsen, horatiu.vultur, alexandre.belloni,
	antoine.tenart, andrew, f.fainelli, vivien.didelot,
	joergen.andreasen, claudiu.manoil, UNGLinuxDriver,
	alexandru.marginean, xiaoliang.yang_1, yangbo.lu, po.liu, jiri,
	kuba

From: Vladimir Oltean <vladimir.oltean@nxp.com>

As discussed in the comments surrounding this patch:
https://patchwork.ozlabs.org/project/netdev/patch/20200417190308.32598-1-olteanv@gmail.com/

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(-)

-- 
2.17.1


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

end of thread, other threads:[~2020-04-23  2:23 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 16:27 [PATCH net-next 0/3] Ocelot MAC_ETYPE tc-flower key improvements Vladimir Oltean
2020-04-20 16:27 ` [PATCH net-next 1/3] net: mscc: ocelot: support matching on EtherType Vladimir Oltean
2020-04-22 22:35   ` kbuild test robot
2020-04-22 22:35     ` kbuild test robot
2020-04-22 22:50     ` Vladimir Oltean
2020-04-23  0:43       ` Marcelo Ricardo Leitner
2020-04-23  0:43         ` Marcelo Ricardo Leitner
2020-04-20 16:27 ` [PATCH net-next 2/3] net: mscc: ocelot: refine the ocelot_ace_is_problematic_mac_etype function Vladimir Oltean
2020-04-23  2:23   ` kbuild test robot
2020-04-23  2:23     ` kbuild test robot
2020-04-20 16:27 ` [PATCH net-next 3/3] net: mscc: ocelot: lift protocol restriction for flow_match_eth_addrs keys Vladimir Oltean
2020-04-22 18:41 ` [PATCH net-next 0/3] Ocelot MAC_ETYPE tc-flower key improvements 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.