]> Git Repo - J-linux.git/commitdiff
Merge branch 'flower-rework-tca_flower_key_enc_flags-usage'
authorJakub Kicinski <[email protected]>
Mon, 15 Jul 2024 16:14:45 +0000 (09:14 -0700)
committerJakub Kicinski <[email protected]>
Mon, 15 Jul 2024 16:14:45 +0000 (09:14 -0700)
Asbjørn Sloth Tønnesen says:

====================
flower: rework TCA_FLOWER_KEY_ENC_FLAGS usage

This series reworks the recently added TCA_FLOWER_KEY_ENC_FLAGS
attribute, to be more like TCA_FLOWER_KEY_FLAGS, and use the unused
u32 flags field in FLOW_DISSECTOR_KEY_ENC_CONTROL, instead of adding
a new flags field as FLOW_DISSECTOR_KEY_ENC_FLAGS.

I have defined the new FLOW_DIS_F_* and TCA_FLOWER_KEY_FLAGS_*
flags to co-exist with the existing flags, so the meaning
of the flags field in struct flow_dissector_key_control is not
depending on the context it is used in. If we run out of bits
then we can always split them up later, if we really want to.
Future flags might also be valid in both contexts.

iproute2 RFC v2 patch:
https://lore.kernel.org/560bcd549ca8ab24b1ad5abe352580a621f6d426.1720790774[email protected]/

v3: https://lore.kernel.org/20240709163825.1210046[email protected]/
v2: https://lore.kernel.org/20240705133348[email protected]/
v1: https://lore.kernel.org/20240703104600[email protected]/
RFC: https://lore.kernel.org/20240611235355[email protected]/
====================

Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>

Trivial merge
This page took 0.044329 seconds and 4 git commands to generate.