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.netSigned-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
Please register or sign in to comment