linux-yocto/drivers/net/ethernet/netronome/nfp/flower
Asbjørn Sloth Tønnesen 34cdd98478 nfp: flower: validate encapsulation control flags
Encapsulation control flags are currently not used anywhere,
so all flags are currently unsupported by all drivers.

This patch adds validation of this assumption, so that
encapsulation flags may be used in the future.

In case any encapsulation control flags are masked,
flow_rule_match_has_enc_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>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Link: https://lore.kernel.org/r/20240609173358.193178-5-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-12 17:56:01 -07:00
..
action.c ip_tunnel: convert __be16 tunnel flags to bitmaps 2024-04-01 10:49:28 +01:00
cmsg.c nfp: flower: avoid rmmod nfp crash issues 2023-10-11 10:34:38 +01:00
cmsg.h
conntrack.c nfp: flower: fix hardware offload for the transfer layer port 2024-01-25 17:17:29 -08:00
conntrack.h nfp: flower: offload tc flows of multiple conntrack zones 2023-03-15 22:16:23 -07:00
lag_conf.c nfp: flower: handle acti_netdevs allocation failure 2024-03-11 15:54:01 -07:00
main.c
main.h nfp: flower: avoid rmmod nfp crash issues 2023-10-11 10:34:38 +01:00
match.c
metadata.c nfp: flower: avoid rmmod nfp crash issues 2023-10-11 10:34:38 +01:00
offload.c nfp: flower: validate encapsulation control flags 2024-06-12 17:56:01 -07:00
qos_conf.c nfp: flower: avoid rmmod nfp crash issues 2023-10-11 10:34:38 +01:00
tunnel_conf.c nfp: flower: prevent re-adding mac index for bonded port 2024-02-05 11:11:09 +00:00