linux/drivers/net/ethernet/mscc
Asbjørn Sloth Tønnesen 435f9fcc0e net: mscc: ocelot: flower: validate control flags
This driver currently doesn't support any control flags.

Use flow_rule_match_has_control_flags() to check for control flags,
such as can be set through `tc flower ... ip_flags frag`.

In case any control flags are masked, flow_rule_match_has_control_flags()
sets a NL extended error message, and we return -EOPNOTSUPP.

Only compile-tested.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Link: https://lore.kernel.org/r/20240417144359.104225-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-18 17:05:38 -07:00
..
Kconfig net: dsa: ocelot: add PTP dependency for NET_DSA_MSCC_OCELOT_EXT 2023-02-10 19:35:58 -08:00
Makefile net: mscc: ocelot: add MAC Merge layer support for VSC9959 2023-01-23 12:44:18 +00:00
ocelot_devlink.c net: mscc: ocelot: expose ocelot wm functions 2023-01-30 21:07:20 -08:00
ocelot_fdma.c net: Explicitly include correct DT includes 2023-07-27 20:33:16 -07:00
ocelot_fdma.h
ocelot_flower.c net: mscc: ocelot: flower: validate control flags 2024-04-18 17:05:38 -07:00
ocelot_io.c net: mscc: ocelot: refactor enum ocelot_reg decoding to helper 2023-04-13 21:56:06 -07:00
ocelot_mm.c net: mscc: ocelot: fix oversize frame dropping for preemptible TCs 2023-07-06 19:10:22 -07:00
ocelot_mrp.c
ocelot_net.c net: mscc: ocelot: expose serdes configuration function 2023-03-20 09:08:48 +00:00
ocelot_police.c
ocelot_police.h
ocelot_ptp.c net: mscc: ocelot: don't keep PTP configuration of all ports in single structure 2023-06-29 12:40:27 +02:00
ocelot_qs.h
ocelot_rew.h
ocelot_stats.c net: mscc: ocelot: fix pMAC TX RMON stats for bucket 256-511 and above 2023-12-14 17:58:10 -08:00
ocelot_vcap.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
ocelot_vcap.h net: mscc: ocelot: Remove unused declarations 2023-08-22 10:29:15 -07:00
ocelot_vsc7514.c net: ethernet: mscc: Convert to platform remove callback returning void 2023-09-20 09:06:39 +01:00
ocelot.c net: ocelot: update the MODULE_DESCRIPTION() 2024-02-05 12:35:18 +00:00
ocelot.h net: mscc: ocelot: Remove unused declarations 2023-08-22 10:29:15 -07:00
vsc7514_regs.c net: mscc: ocelot: fix stat counter register values 2023-05-10 12:11:18 +01:00