]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/sched: cls_flower: prepare fl_{set,dump}_key_flags() for ENC_FLAGS
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>
Sat, 13 Jul 2024 02:19:01 +0000 (02:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 16:14:38 +0000 (09:14 -0700)
commitfcb4bb07a9276bfb63c82ce5e8c4f8ff23646635
tree00adccd3373611c102fdd20ab6299df051cc18a2
parentbfda5a63137bc83c344c4d995f404c8e701ff0fa
net/sched: cls_flower: prepare fl_{set,dump}_key_flags() for ENC_FLAGS

Prepare fl_set_key_flags/fl_dump_key_flags() for use with
TCA_FLOWER_KEY_ENC_FLAGS{,_MASK}.

This patch adds an encap argument, similar to fl_set_key_ip/
fl_dump_key_ip(), and determine the flower keys based on the
encap argument, and use them in the rest of the two functions.

Since these functions are so far, only called with encap set false,
then there is no functional change.

Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Tested-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Link: https://patch.msgid.link/20240713021911.1631517-5-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sched/cls_flower.c